Skip to content
Agentmart
Submit a tool

code-router

Domain sub-router for work on a repository's own code: map it, cover it, change it, make it faster, prove nothing broke, tidy the worktree.

Skill by agentchieflou

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/agentchieflou-code-router

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

Domain sub-router for work on a repository's own code: map it, cover it, change it, make it faster, prove nothing broke, tidy the worktree. Does no work itself.

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/code-router

What's inside

Skill name
code-router
Description
Domain sub-router for work on a repository's own code: map it, cover it, change it, make it faster, prove nothing broke, tidy the worktree. Does no work itself.
License
MIT
Instructions
19 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Code router

1. Match the request to ONE row. First match wins. The guard decides more than the words do: every editing row below runs behind `ad-graph guard` (AGENTS.md rule 14), and an unapproved graph sends you to the first row whichever row matched.

| Request mentions | Invoke |
|---|---|
| new to this repo, getting started, onboard, "what is this repository for", project context, refresh the getting-started page | `project-onboard` |
| map the codebase, how does this repo work, what calls what, unfamiliar code, "explain this module" | `codebase-map` |
| write tests for, cover, characterization test, no tests for, "pin the current behaviour" | `test-cover` |
| did I break anything, is it faster, before and after, regression, "prove it" | `test-regress` |
| slow, make it faster, performance, optimize, hot path, N+1 | `perf-optimize` |
| clean up the worktree, dirty tree, "stash this", "what do I do with these changes", uncommitted changes | `worktree-tidy` |
| fix, patch, add a flag, refactor, rename, "make it do X", a bug with a named symptom, a failing test to fix, update the README / docs / a docstring for a change, a change to named code | `code-change` |

2. Preconditions, each a command: `ad-graph status` says `approved: current` before any row but `codebase-map` and `worktree-tidy` edits anything -- the leaf skill checks it; never route around it. `ad-test run` must collect tests (`no_tests` is a `contract` friction, not a green suite).
3. **Domain first.** A request that names Power BI, DAX, a measure, a visual or a warehouse went past the top table's rows for them (a measure is `tmdl-edit`, a visual is `pbi-report-author`, a SQL file is a query skill): send it back → `router` rather than treating it as code.
4. Output one line: `→ <skill>: <reason in ≤ 12 words>`. Then invoke it.
5. No match after reading the table twice → invoke `research-spike`. STOP.

From agentchieflou/this-next-please, MIT.

More from agentchieflou/this-next-please

Signals

Stars
1
Forks
0
Open issues
61
Last commit (this folder)
Oct 3, 2026 (26 days ago)

From GitHub (fetched Oct 24, 2026).

Details

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

More from agentchieflou

Cite this page

code-router skill. Agent Mart. https://agentmart.dev/skills/agentchieflou-code-router (last updated 2026-10-24)