‹ 首页

build

@darkroomengineering · 收录于 昨天 · 上游提交 昨天

Build feature/page/integration end-to-end with GO/NO-GO gate. For components use `/component`, hooks `/hook`. Triggers "build a feature/page", "implement feature", "add feature", "build integration".

适合你,如果需要在门控检查下快速完成功能开发

/ 通过 npx 安装 校验哈希
npx oh-my-skill add darkroomengineering/cc-settings/build
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- darkroomengineering/cc-settings/build
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify darkroomengineering/cc-settings/build
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
40GitHub stars
~879上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 fa04efc · 表述以原文为准
它做什么

Claude 会分三个阶段构建功能:先研究需求和技术栈(含 GO/NO-GO 门控),然后制定实施计划,最后编写代码并输出总结。

什么时候触发

当你说出“build a feature/page”、“implement feature”等类似话语时触发。

装好后可以这样说
Claude 会先检测技术栈再实施。
Claude 会研究现有代码并生成计划。
技能原文 SKILL.md作者撰写 · MIT · fa04efc

Feature Build Workflow

Before starting work, create a marker: mkdir -p ~/.claude/tmp && echo "build" > ~/.claude/tmp/heavy-skill-active && date -u +"%Y-%m-%dT%H:%M:%SZ" >> ~/.claude/tmp/heavy-skill-active

Phase 1: Research (GO/NO-GO Gate)

Before any implementation, complete this research phase:

  1. Detect stack — read package.json. next dep → satus / Next.js; react-router dep → novus / React Router. Note any starter signal (name field, darkroom.starter marker).
  2. Understand requirements — parse what the user actually needs.
  3. Explore codebase — find existing patterns, similar implementations.
  4. Fetch docs — use Context7 MCP for any external library. Never code from memory.
  5. Check versions — run bun info <package> for the latest version.
  6. Assess feasibility — can this be done cleanly within existing architecture?

GO/NO-GO Verdict: After research, state one of:

  • GO — requirements are clear, approach is viable, proceed to implementation.
  • NO-GO — requirements are ambiguous, approach has blockers, or scope is too large. Report findings and stop.

Do not proceed past this gate without an explicit GO verdict.

Phase 2: Plan

Create a brief implementation plan:

  • Files to create/modify (with stack-correct paths — lib/hooks/ for satus, hooks/ for novus, etc.)
  • Key decisions and rationale
  • Dependency order
Phase 3: Implement

Follow standard Maestro workflow: scaffold → implement → test → review.

Use the right primitives for the stack:

| Concern | satus (Next.js) | novus (React Router) | |---|---|---| | Page | app/<path>/page.tsx | app/routes/<path>.tsx | | Layout | app/<path>/layout.tsx | app/root.tsx or nested route | | Data fetching | Server Component async function | loader() route export | | Mutations | Server Actions ('use server') | action() route export | | Routing | File-based app/ | File-based app/routes/ | | Image | next/image | <img> (or Vite plugin) | | Link | @/components/link (project wrapper) | react-router Link |

Output

Return a concise summary:

  • Stack detected: satus / novus / other (with evidence — e.g. next ^16.0.0)
  • What was built: feature description
  • Files created: list of new files
  • Files modified: list of changed files
  • How to use: quick usage guide
  • Tests added: what's covered
Rationalization Counters

If you catch yourself thinking any of the following, STOP — you are skipping the research gate:

| Rationalization | Why It's Wrong | |---|---| | "I already know how to do this" | The codebase may have existing patterns, wrappers, or conventions you'd miss | | "The requirements are obvious" | Obvious requirements have hidden edge cases; the GO/NO-GO gate catches them | | "Research would take too long" | Building the wrong thing takes longer than 5 minutes of research | | "I'll figure it out as I go" | This leads to mid-implementation pivots that waste context and leave dead code | | "It's just a small feature" | Small features in the wrong place create architectural debt | | "The user seems impatient" | Shipping broken code is worse than a brief research pause | | "Both starters are similar enough" | They diverge on routing, data fetching, mutations, and asset handling. The wrong shape compiles but doesn't fit |

Remember
  • Detect stack before scaffolding — wrong shape = rewrite later.
  • Use the starter's conventions (CSS modules as s, path alias @/ for satus / ~/ for novus).
  • Server-side data fetching where the framework supports it (RSC for satus, loaders for novus).
  • Store useful patterns as learnings.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。