用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/pactkit/claude-code-plugin --skill pactkit-scaffold命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | pactkit-scaffold |
| description | File scaffolding: create Spec, test files, E2E tests, Git branches, Skills |
| model | haiku |
Project file scaffolding tool for quickly creating standardized project files.
Script location: Use the base directory from the skill invocation header to resolve script paths.
docs/specs/ directory must exist (required by create_spec)tests/unit/ and tests/e2e/ directories must exist (required by test scaffolding)git_start)python3 ${CLAUDE_PLUGIN_ROOT}/skills/pactkit-scaffold/scripts/scaffold.py create_spec ITEM-ID "Title"
ITEM-ID: Work item identifier, e.g. STORY-001, HOTFIX-001, BUG-001Title: Spec titledocs/specs/{ITEM-ID}.md (with template structure)python3 ${CLAUDE_PLUGIN_ROOT}/skills/pactkit-scaffold/scripts/scaffold.py create_test_file src/module.py
tests/unit/test_module.pypython3 ${CLAUDE_PLUGIN_ROOT}/skills/pactkit-scaffold/scripts/scaffold.py create_e2e_test ITEM-ID "scenario_name"
tests/e2e/test_{ITEM-ID}_{scenario}.pypython3 ${CLAUDE_PLUGIN_ROOT}/skills/pactkit-scaffold/scripts/scaffold.py git_start ITEM-ID
STORY-* → feature/STORY-*HOTFIX-* → fix/HOTFIX-*BUG-* → fix/BUG-*python3 ${CLAUDE_PLUGIN_ROOT}/skills/pactkit-scaffold/scripts/scaffold.py create_skill skill-name "Description of the skill"
skill-name: Skill identifier (must start with lowercase letter: ^[a-z][a-z0-9]*(-[a-z0-9]+)*$)Description: Brief description for SKILL.md frontmatter${CLAUDE_PLUGIN_ROOT}/skills/{skill-name}/ with SKILL.md, scripts/{clean_name}.py, references/.gitkeeppython3 ${CLAUDE_PLUGIN_ROOT}/skills/pactkit-scaffold/scripts/scaffold.py create_board
docs/product/stories/; use pactkit board render only for an explicit projection## 📋 Backlog, ## 🔄 In Progress, ## ✅ Done sections/project-init: Use create_board to initialize Story facts (Phase 4)/project-plan: Use create_spec to create a Spec template/project-act: Use create_test_file to create test scaffolding/project-check: Use create_e2e_test to create E2E testscreate_skill to scaffold a new reusable skill