agentleFS
kentcdoddskentcdodds/kcd-skills/skills/ask-kent/SKILL.md

ask-kent

Skill47 starsChanged 2 months agoMITView on GitHub

Ask which kcd-skills flow fits your situation. A router over the skills in this repo. Use when you don't know which Kent skill to run, or which order.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Place the situation on the main flow at a step.

    line 18
  2. Distinctive:

    Stop: Do not start the work. Do not invoke the skill you named.

    line 21
  3. Very specific:

    If a claim about another skill matters, read that SKILL.md first.

    line 22
  4. Very specific:

    If they already know the skill, tell them to invoke it.

    line 30
  5. Very specific:

    Keep plan → recap → ship in the repo that owns the PR.

    line 85

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Ask Kent

You don't remember every skill, so ask.

A flow is a path through the skills. Most work travels one main flow. Everything else is a close call or a skip.

How to answer

  1. Place the situation on the main flow at a step.
  2. Name the next /skill to type, and why the near-miss is wrong.
  3. Say where a human decision sits (architecture, recap classification, merge).
  4. Stop. Do not start the work. Do not invoke the skill you named.
  5. If a claim about another skill matters, read that SKILL.md first. This map is a secondary source. The skill file wins.

This is a hand-written map of this repo. Do not scan skills/, do not route over repo-local skills (Kody's conduct, remix, …), and do not route over another author's skills. Cursor's cloud-agent /orchestrate plugin is a different skill from this repo's /orchestrate.

If they already know the skill, tell them to invoke it. /ask-kent has nothing useful to add.

The main flow: idea → ship

The route most work travels.

flowchart TD
	sit[Situation] --> decide{Need options first?}
	decide -->|yes| rnr["/review-and-recommend"]
	decide -->|no| big{Large or parallel?}
	big -->|yes| orch["/orchestrate"]
	big -->|no| plan{Non-trivial system change?}
	orch --> plan
	plan -->|yes| vplan["/visual-recap plan"]
	plan -->|no| build[Build]
	vplan --> build
	build --> recap{PR + worth a system map?}
	recap -->|yes| vrecap["/visual-recap recap"]
	recap -->|no| ship["/ship-pr"]
	vrecap --> ship

Decision-shaped ask? Need evidence-backed options before implementing → /review-and-recommend. It stops and waits.

  1. Branch: is this large, multi-stream, or too much for one agent?
    • Yes → /orchestrate. Two modes: be the orchestrator (plan, delegate, review, integrate), or spawn one if you are a cheap/fast model. Frontier model orchestrates; cheap/fast models implement. You do the QA — never declare done from sub-agent reports.
    • No → stay in this session and build it. Fan-out that does not pay is orchestration theater.
  2. Branch: is the change non-trivial? System primitives, architecture, contracts, review-critical behavior.
    • Yes → /visual-recap in plan mode before you implement. Classify against docs/contributing/architecture/primitives.yaml in the working repo. Lowest-risk outcome: the plan requires no primitive change — say so.
    • No → skip. A tiny, obvious diff reviews faster as a plain diff.
  3. Build. /orchestrate delegates this. A small change you just do.
  4. PR exists → /visual-recap in recap mode. Reads git diff <base>...HEAD, not memory. Replaces a plan-mode block. Re-run after significant new commits.
  5. Babysit until it's landed → /ship-pr. Mark ready, wait on CI (composes loop-on-ci / fix-ci), address valid review feedback, rebase if needed. Merge only if asked or the change is low risk. Always Discord-summarize via kody:@kentcdodds/discord/send-shipped-pr — never raw post-message, never guess token cost.

Keep plan → recap → ship in the repo that owns the PR. /orchestrate is the parent session; implementer context is disposable.

Situation → route

Your situationType thisNot this
Decision-shaped ask before implementing/review-and-recommendJumping to build or /visual-recap
Idea is big, parallel, or multi-stream/orchestrateBuilding it all yourself
You are a cheap/fast model handed a large task/orchestrate (spawn a smarter orchestrator)Doing the bulk coding
Planning a non-trivial change/visual-recap (plan)Recap mode — the work does not exist yet
PR needs a system-level summary/visual-recap (recap)Plan mode — read the diff
Tiny, obvious diffskip visual-recapA recap nobody will open
CI, review, merge, Discord summary/ship-prRe-explaining the babysit loop
Need to run Kody execute / call Kody packages/prefer-local-kody-executeHosted MCP execute as the default
Already know the skillthat skill/ask-kent
Working repo has no primitives.yamlsay so; don't fake a recapInventing primitive ids
Not Kent / no Kody Discord exportsfork ship-pr or skip DiscordPretending the Discord step will work

Close calls

The useful part of this map. One concrete test each.

  • /review-and-recommend vs just build. Does a human need to pick among real options first? If yes, review and wait. If the path is obvious, build.
  • /orchestrate vs just build. Can one agent finish the critical path in this window without file conflicts? If yes, build. Fan out only when independent workstreams clearly beat one implementer.
  • This /orchestrate vs Cursor's plugin. Same slash name, different job. This skill keeps sub-agents in one environment, splits models, and has you QA. Cursor's plugin fans work across cloud agents via its own SDK. This map only names this repo's skill.
  • visual-recap plan vs recap. Does the work exist? Plan describes the intended change. Recap describes the diff. Never recap from session memory.
  • visual-recap vs skip. Would a reviewer benefit from a system map before the diff? If no, skip. Recap is review overhead.
  • ship-pr vs "just merge it". Need the CI/review loop and the Discord summary? That's /ship-pr. Merge is a branch inside it, not a different skill.
  • /prefer-local-kody-execute vs hosted MCP execute. Shell + Node ≥ 22 + kody login or KODY_API_TOKEN? Prefer CLI --local. Hosted is fallback when local is inappropriate.

Preconditions

The router names skills; it does not install them. npx skills add kentcdodds/kcd-skills (or --skill <name>). Skills with disable-model-invocation: true (ask-kent, orchestrate) still exist — type the slash command anyway.

  • /visual-recap needs docs/contributing/architecture/primitives.yaml in the working repo, plus gh auth to upsert the PR block.
  • /ship-pr needs gh auth and Kent's Kody packages (kody:@kentcdodds/github, kody:@kentcdodds/discord). The Discord step is Kent-specific. Prefer CLI local execute for those calls (see /prefer-local-kody-execute).
  • /prefer-local-kody-execute needs Node ≥ 22, @kodycodes/cli, and auth via kody login (interactive) or KODY_API_TOKEN (CI / Cloud Agents). Feature flags: mcp-api-tool + local-execute.
  • /orchestrate needs a harness that can spawn sub-agents.

It's working if

  • It ends by naming what to type and stops, instead of starting the work.
  • The route says where you review or verify, not just a list of skill names.
  • Close skills get one concrete test for why the other is wrong.
  • Any load-bearing claim about another skill shows up as a read of that SKILL.md.
  • You recognize your situation, not the nearest generic scenario.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.