一键导入
demand-triage
Use immediately after codebase discovery to classify task scale and determine which workflow steps are required vs. optional.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use immediately after codebase discovery to classify task scale and determine which workflow steps are required vs. optional.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use for general product implementation work that is not primarily backend architecture, pure integration wiring, or screenshot-driven design-to-code.
Use when backend work requires contract-first thinking, schema changes, permission checks, side-effect analysis, or test planning.
Use when the user provides screenshots, mockups, or design assets and wants implementation that stays visually close to the source.
Use when the main deliverable is maintainable documentation such as repository rules, onboarding guides, runbooks, ADRs, or architecture notes.
Use when encountering compile errors, test failures, runtime exceptions, or unexpected behavior during implementation.
Use when a request needs system-level planning before implementation, especially for cross-module, high-risk, or ambiguous work.
| name | demand-triage |
| description | Use immediately after codebase discovery to classify task scale and determine which workflow steps are required vs. optional. |
Use this skill to classify a task's scale and adapt the workflow intensity accordingly. This prevents over-processing small tasks while maintaining full rigor for complex work.
Run triage after codebase discovery (the repo-exploration skill) but before planning or implementation. Triage requires evidence from reading the codebase — do not classify based on the request text alone.
After reading the relevant files, classify the task using observable criteria:
All of the following must be true:
Examples: typo fix, copy/label change, simple validation rule, single-function bug fix, adding a log line, updating a config value.
Any of the following:
Examples: adding a new API field with validation, refactoring a function and updating callers, adding a new UI component following existing patterns.
Any of the following:
Examples: new feature spanning API + service + UI, database migration, permission system change, new integration with external service.
If classification is uncertain, default to Medium. Never default to Small when unsure — the cost of under-processing a Medium task is higher than the cost of slightly over-processing a Small one.
The following characteristics always force Medium or Large, regardless of file count:
After classification, state:
[SCALE: SMALL | MEDIUM | LARGE]
Reason: [1–2 sentences explaining why, based on evidence from codebase discovery]
Files affected: [list]
Workflow adaptation depends on both task scale and the active trust level (see docs/operating-rules.md → Trust level). The rules below describe what can be simplified at each scale. Trust level further relaxes or tightens the ceremony.
When a task is classified as Small, the following workflow steps are skippable (may be skipped unless the task specifically requires them):
supervised trust level; optional at semi-auto and autonomoussupervised; at semi-auto/autonomous, a brief summary of what changed is sufficientThe following steps remain mandatory at all trust levels even for Small tasks:
Small path means explicit simplification, not implicit skipping. At supervised trust level, if required fields are omitted the task is non-conformant even if the code change itself is correct.
Follow all mandatory steps and workflows as defined in docs/agent-playbook.md. Use the existing routing rules to determine which agents are needed.
At semi-auto or autonomous trust level, Medium tasks that are low-risk (no auth, no schema, no breaking changes) may share planner + implementer context instead of strict role isolation.
Follow all mandatory steps. Additionally:
feature-planner agentautonomous trust level, pause only for destructive or irreversible operations)Include the scale classification in your output so humans reviewing the work can quickly understand which path was taken:
[SCALE: SMALL], [SCALE: MEDIUM], or [SCALE: LARGE] near the top[small], [medium], or [large]Teams may customize the Small/Medium/Large thresholds in docs/operating-rules.md → Project-specific constraints. For example:
If project-specific overrides exist, they take precedence over the defaults above.
If during implementation you discover the task is larger than initially classified (e.g., a "Small" fix actually requires cross-module changes), stop and reclassify. If the new classification is higher, switch to the appropriate workflow path. If switching from Small to Medium/Large, this counts as scope expansion and requires user approval per the checkpoint gates.
Before proceeding with the classified scale, verify:
[SCALE: ...], reason, and files affected