Skip to content
Agentmart
Submit a tool

kernel-audit-monorepo

Audit TypeScript monorepo structure: package boundaries, duplication, layer violations.

Skill by project

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ponti-studios-kernel-audit-monorepo

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Audit TypeScript monorepo structure: package boundaries, duplication, layer violations. Use for workspace-wide refactors; single-feature tracing uses kernel-audit-trace.

Use cases: security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/kernel-audit-monorepo

What's inside

Skill name
kernel-audit-monorepo
Description
Audit TypeScript monorepo structure: package boundaries, duplication, layer violations. Use for workspace-wide refactors; single-feature tracing uses kernel-audit-trace.
License
MIT
Metadata
author: project · version: 1.0 · category: Audit
Instructions
90 lines in SKILL.md · view on GitHub

Files (4)

  • SKILL.md
  • openai.yaml · agents/
  • audit-rubric.md · references/
  • refactor-contract.md · references/

SKILL.md (first lines)

# Monorepo Architect

## When to use

- auditing or refactoring a TypeScript monorepo
- reviewing package boundaries, workspace tooling, or cross-package dependencies
- planning a behavior-preserving monorepo-wide structural change

## Outputs

- Evidence-based monorepo audit
- Prioritized refactor plan or implemented structural change

## Definition of done

- Actual workspace files and package boundaries were inspected
- Findings cite concrete evidence and the proposed change preserves behavior

## Modes

Use this skill in one of two modes:

1. **Audit mode:** analyze the monorepo and produce a concrete refactor strategy. Read [audit-rubric.md](references/audit-rubric.md).
2. **Refactor mode:** implement or plan architectural changes across packages. Read [refactor-contract.md](references/refactor-contract.md).

If the user asks for a review, diagnosis, assessment, or plan, default to audit mode. If the user asks to reorganize, rewrite, wire, or implement, use refactor mode after gathering enough context.

## North Star

Prefer:

- less code
- fewer layers
- fewer duplicated concepts
- clearer package boundaries
- stronger alignment between runtime truth and TypeScript truth
- explicit cross-layer mapping
- incremental, behavior-preserving changes
- boring, enforceable structure over abstraction theater

Do not recommend a rewrite unless the existing structure is fundamentally broken and incremental migration is not credible.

## Required Context Gathering

Before giving recommendations or editing code, inspect the actual repo shape. Use fast local tools first:

- `rg --files`
- workspace manifests such as `package.json`, `pnpm-workspace.yaml`, `turbo.json`
- package-level `package.json` files
- `tsconfig` and path alias configuration
- API/RPC/router/schema/db directories
- app/web/mobile query and client usage

When making code changes, preserve user work in a dirty tree. Do not revert unrelated changes.

## Audit Output

For audit mode, produce:

1. Executive summary
2. Current architecture assessment
3. Package-by-package assessment
4. Cross-cutting duplication and over-engineering map
5. Code reduction map
6. Target architecture proposal
7. Prioritized refactor plan
8. Risk and regression analysis
9. Final recommendation

Use [audit-rubric.md](references/audit-rubric.md) for what to inspect and how to score findings.

## Refactor Output

For refactor mode, produce or implement:

1. Target package/layer structure
2. Explicit boundary rules
3. File naming and artifact naming rules
4. Migration phases
5. Concrete edits, if requested
6. Validation commands
7. Residual risks

Use [refactor-contract.md](references/refactor-contract.md) for layer responsibilities, anti-patterns, and transformation rules.

## Style

Be skeptical, concrete, and migration-safe. Prefer high-signal findings over generic architecture advice. Explain why each recommendation reduces code, removes duplication, clarifies ownership, or lowers future maintenance cost.

From ponti-studios/kernel, MIT.

More from ponti-studios/kernel

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Oct 12, 2026 (17 days ago)
Last release
Mar 26, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from project

Cite this page

kernel-audit-monorepo skill. Agent Mart. https://agentmart.dev/skills/ponti-studios-kernel-audit-monorepo (last updated 2026-10-24)