用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/opsmill/infrahub-mcp --skill speckit-tinyspec-classify命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | speckit-tinyspec-classify |
| description | Classify task complexity and recommend tinyspec or full SDD workflow |
| compatibility | Requires spec-kit project structure with .specify/ directory |
| metadata | {"author":"github-spec-kit","source":"tinyspec:commands/speckit.tinyspec.classify.md"} |
Analyze a task description to determine whether it should use the lightweight tinyspec workflow or the full SDD workflow (specify → plan → tasks → implement). Acts as an intelligent router that saves time on small tasks and ensures proper process for complex ones.
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty). The user describes what they want to build or fix.
.specify/ directoryAnalyze the task: Evaluate the task description against complexity signals:
Small task signals (→ tinyspec):
| Signal | Example |
|---|---|
| Single UI component change | "Add a logout button" |
| Bug fix with known location | "Fix date format in invoices" |
| Config or environment change | "Add new env variable for API key" |
| Simple validation addition | "Add email validation to signup" |
| Copy/text update | "Update error messages" |
| Single endpoint addition | "Add GET /health endpoint" |
| Styling change | "Make the sidebar responsive" |
Large task signals (→ full SDD):
| Signal | Example |
|---|---|
| Multiple modules affected | "Add user authentication system" |
| New database tables/schema | "Add a comments feature with threading" |
| Architectural change | "Migrate from REST to GraphQL" |
| New service or integration | "Add Stripe payment processing" |
| Cross-cutting concern | "Add audit logging to all endpoints" |
| Multiple user stories | "Build the admin dashboard" |
| Unknown scope | "Improve performance" (needs investigation first) |
Estimate scope: Quick estimation based on available information:
Classify and recommend:
| Complexity | Files | Tasks | Risk | Recommendation |
|---|---|---|---|---|
| Small | 1-5 | 1-8 | Low | /speckit.tinyspec |
| Medium | 5-15 | 8-20 | Medium | Full SDD (/speckit.specify) |
| Large | 15+ | 20+ | High | Full SDD with clarify (/speckit.clarify → /speckit.specify) |
Output recommendation:
# Task Classification
| Factor | Assessment |
|--------|-----------|
| **Task** | {task description} |
| **Complexity** | 🟢 Small / 🟡 Medium / 🔴 Large |
| **Estimated files** | ~{N} files |
| **Estimated tasks** | ~{N} tasks |
| **Risk** | Low / Medium / High |
## Recommendation
→ Use **`/speckit.tinyspec`** — this is a small, well-scoped change.
OR
→ Use **`/speckit.specify`** — this task has enough complexity to benefit from the full SDD workflow.