dev
Development entry point — routes a request to the right workflow. Use for "what should I work on", "what's next", or a feature described without naming a skill.
- License 许可
- MIT
- 最近更新
- 2026-10-28
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- dev
- description
- Development entry point — routes a request to the right workflow. Use for "what should I work on", "what's next", or a feature described without naming a skill.
02 资源文件 1
- 参考文档references/size-pin.txt2 B
03 SKILL.md 正文
Dev
Route a development request to the right workflow. A skill named in the request is a strong hint, not an order: judge the route yourself and say if you disagree.
Step 1: Route
First match wins.
Before matching on an explicit ticket id, run cortex-lifecycle-next <id>. closed or parked means an outcome is already recorded. Show it with its reason and ask whether to reopen or unpark. Route only on a yes.
- No arguments, or "what should I work on" / "what's next" → backlog triage (Step 3).
- Three or more features, or a batch → classify each by rule 4. All above simple →
/cortex-overnight:overnightwith the list. All simple → implement each here. Mixed → show a task/routing/justification table and confirm. - Vague topic ("not sure how to approach", "explore", "investigate") →
/cortex-core:discovery <topic>. simple— you know the approach, or one read confirms it, and nothing needs deciding. Size is not the test. → Implement here and commit. Close any backlog item it resolved withcortex-update-item {slug} --status complete(skip with no item or an external backend). Do not write--complexity: nothing reads a tier recorded outside Clarify.- Otherwise → assess criticality (Step 2), then route on readiness:
- no
spec:(or no ticket) →/cortex-core:refine <feature-name>with the criticality context status: refinedwith aspec:→/cortex-core:build <feature-name>- unsure →
cortex-lifecycle-next <feature>reports the served phase:research/specifymeans refine, later means build
- no
Plan mode records nothing in the lifecycle. A plan for routed work is build's plan phase.
Step 2: Criticality
If cortex/lifecycle/<feature>/ exists, read cortex-lifecycle-state --feature <feature> --field criticality and ask whether to resume at its served phase. A fresh start needs the user to confirm that existing artifacts are discarded.
Otherwise suggest:
- critical — security, money, or data loss
- high — shared libraries, CI/CD, migrations, foundational tooling, or a broad change that is hard to reverse
- low — docs and formatting
- medium — anything else, or when uncertain
Present it as Criticality suggestion: <level> — <one-sentence justification>.
Step 3: Backlog triage
cortex-backlog-triage
This one call also rebuilds the index. By state:
ok→ printblocksexactly as given. Ask which item or parallel-safe group to pick up, then route it from Step 1. For anidearow, follow the printed recommendation. A multi-item pick goes through rule 2.external-backend→ showmessage. The local index is not the source of truth, so route through refine or discovery and leave it alone.no-index/error→ showmessageand stop.
If the user overrides a suggested route, their choice wins at once. If the scope changes, classify again from Step 1.
04 同仓库更多 Skills
over-cap-no-marker
Synthetic fixture with 501 lines and no size-budget marker.
invalid-marker
Synthetic fixture exercising the invalid-marker failure path.
boundary-29-char-reason
Synthetic fixture with marker rationale at the regex boundary (29 chars, just under min).
valid-with-inputs
A skill that declares one input variable and uses it in the body.
valid-minimal
A minimal skill with only the required fields present.
invalid-undeclared-variable
A skill whose body uses a variable not declared in inputs.