/open-skilled-sdd:speckit-implement-zhfrom open-skilled-sdd
Executes approved spec proposals task-by-task with test-first verification, checking checklist status and loading plan, tasks, and contracts before implementing.
Ships in open-skilled-sdd. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
$ARGUMENTS
您必须在继续之前考虑用户输入(如果不为空)。
scripts: sh: .specify/scripts/bash/check-prerequisites.sh --json ps: .specify/scripts/powershell/check-prerequisites.ps1 -Json
从仓库根目录运行 {SCRIPT} 并解析 FEATURE_DIR 和 AVAILABLE_DOCS 列表。所有路径必须是绝对的。对于参数中的单引号,如 "I'm Groot",使用转义语法:例如 'I'''m Groot'(或者如果可能的话使用双引号:"I'm Groot")。
检查检查表状态(如果 FEATURE_DIR/checklists/ 存在):
扫描 checklists/ 目录中的所有检查表文件
对于每个检查表,计数:
- [ ] 或 - [X] 或 - [x] 的行- [X] 或 - [x] 的行- [ ] 的行创建状态表:
| 检查表 | 总计 | 已完成 | 未完成 | 状态 |
|-----------|-------|-----------|------------|--------|
| ux.md | 12 | 12 | 0 | ✓ 通过 |
| test.md | 8 | 5 | 3 | ✗ 失败 |
| security.md | 6 | 6 | 0 | ✓ 通过 |
计算总体状态:
如果有任何检查表未完成:
如果所有检查表都完成:
加载和分析实现上下文:
项目设置验证:
检测和创建逻辑:
检查以下命令是否成功以确定仓库是否为 git 仓库(如果是则创建/验证 .gitignore):
git rev-parse --git-dir 2>/dev/null
检查是否存在 Dockerfile* 或 Docker 在 plan.md 中 → 创建/验证 .dockerignore
检查是否存在 .eslintrc* 或 eslint.config.* → 创建/验证 .eslintignore
检查是否存在 .prettierrc* → 创建/验证 .prettierignore
检查是否存在 .npmrc 或 package.json → 创建/验证 .npmignore(如果发布)
检查是否存在 terraform 文件 (*.tf) → 创建/验证 .terraformignore
检查是否需要 .helmignore(存在 helm 图表)→ 创建/验证 .helmignore
如果忽略文件已存在:验证它包含基本模式,仅追加缺失的关键模式 如果忽略文件缺失:创建包含检测技术的完整模式集
按技术的常见模式(来自 plan.md 技术栈):
node_modules/, dist/, build/, *.log, .env*__pycache__/, *.pyc, .venv/, venv/, dist/, *.egg-info/target/, *.class, *.jar, .gradle/, build/bin/, obj/, *.user, *.suo, packages/*.exe, *.test, vendor/, *.out.bundle/, log/, tmp/, *.gem, vendor/bundle/vendor/, *.log, *.cache, *.envtarget/, debug/, release/, *.rs.bk, *.rlib, *.prof*, .idea/, *.log, .env*build/, out/, .gradle/, .idea/, *.class, *.jar, *.iml, *.log, .env*build/, bin/, obj/, out/, *.o, *.so, *.a, *.exe, *.dll, .idea/, *.log, .env*build/, bin/, obj/, out/, *.o, *.a, *.so, *.exe, Makefile, config.log, .idea/, *.log, .env*.build/, DerivedData/, *.swiftpm/, Packages/.Rproj.user/, .Rhistory, .RData, .Ruserdata, *.Rproj, packrat/, renv/.DS_Store, Thumbs.db, *.tmp, *.swp, .vscode/, .idea/工具特定模式:
node_modules/, .git/, Dockerfile*, .dockerignore, *.log*, .env*, coverage/node_modules/, dist/, build/, coverage/, *.min.jsnode_modules/, dist/, build/, coverage/, package-lock.json, yarn.lock, pnpm-lock.yaml.terraform/, *.tfstate*, *.tfvars, .terraform.lock.hcl*.secret.yaml, secrets/, .kube/, kubeconfig*, *.key, *.crt解析 tasks.md 结构并提取:
按照任务计划执行实现:
实现执行规则:
进度跟踪和错误处理:
完成验证:
注意:此命令假设 tasks.md 中存在完整的任务分解。如果任务不完整或缺失,建议首先运行 speckit-tasks 以重新生成任务列表。
assets/dockerignore.template (opens in a new tab)assets/eslintignore.template (opens in a new tab)assets/gitignore.template (opens in a new tab)references/context-loading-order.md (opens in a new tab)references/ignore-patterns.md (opens in a new tab)references/implementation-workflow.md (opens in a new tab)scripts/analyze-checklists.ps1 (opens in a new tab)scripts/check-prerequisites.ps1 (opens in a new tab)scripts/detect-project-setup.ps1 (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub forztf/open-skilled-sdd --plugin open-skilled-sdd16 skills in this plugin
/openspec-archivingArchives completed changes and merges specification deltas into living documentation. Use when changes are deployed, ready to archive, or specs need updating after implementation. Triggers include "openspec archive", "archive change", "merge specs", "complete proposal", "update documentation", "finalize spec", "mark as done"./openspec-archiving-cn归档已完成的变更并将规范差异合并到常驻文档。用于变更已部署、准备归档或实施后需要更新规范时。触发词包括 "openspec归档", "归档", "归档提案", "合并规范", "完成提案", "更新文档", "定稿规范", "标记完成"。/openspec-context-loadingLoads project context, lists existing specs and changes, searches capabilities and requirements. Use when user asks about project state, existing specs, active changes, available capabilities, or needs context discovery. Triggers include "openspec context", "what specs exist", "show changes", "list capabilities", "project context", "find specs", "what's in the spec", "show me specs".Other plugins' skills for the same job