Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

builder-workflow构建器工作流程

Agent Skill

builder-workflow 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

416

周安装

17

GitHub Stars

44

下载量

135
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:builder-workflow(构建器工作流程)
来源仓库:https://github.com/darraghh1/my-claude-setup
仓库路径:skills/builder-workflow
安装命令:
npx skills add https://github.com/darraghh1/my-claude-setup --skill builder-workflow
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/darraghh1/my-claude-setup --skill builder-workflow

简介

用于查找、检索和筛选相关信息。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

  • 适合在关键词搜索、任务场景或来源线索下快速定位候选结果。
  • 可结合来源仓库和原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态及是否触发联网或文件读写。
  • builder-workflow 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Builder Phase Workflow

You have been assigned a full phase to implement. Your spawn prompt contains the phase file path and plan folder. This skill teaches you how to handle the entire phase end-to-end.

Why This Workflow Exists

The user experienced builders that guessed at patterns, skipped tests, and produced inconsistent code. Each step below prevents a specific failure:

StepPrevents
Load project rulesBuilding code that violates coding conventions (teammates don't inherit parent rules)
Read phase completelyMissing requirements, user has to re-explain
Pre-flight test checkCascading failures from broken previous phases
Find reference fileGuessing at patterns, code doesn't match codebase
Invoke domain skillMissing project-specific conventions
TDD first (Step 0)Untested code, bugs discovered in production

Step 0: Load Project Rules

Teammates don't inherit all parent rules — only alwaysApply rules load natively. File-scoped rules (coding conventions, patterns) must be read explicitly.

Read these two files (they contain universal conventions for all code):

Read ~/.claude/rules/coding-style.md
Read ~/.claude/rules/patterns.md

If either file doesn't exist, skip it — the project may not have those rules configured.

These rules cover import ordering, error handling, server-only guards, data fetching patterns, service patterns, and route structure. Follow them throughout your implementation.

Step 1: Read the Phase

Read the phase file from your spawn prompt. Extract:

  • Prerequisites & Clarifications — check for unanswered questions first
  • Requirements (Functional + Technical)
  • Implementation Steps (Step 0 through Step N)
  • Acceptance Criteria (your success metrics)

If ANY prerequisite question is unanswered:

SendMessage({
  type: "message",
  recipient: "team-lead",
  content: "Phase has unanswered prerequisite questions. Cannot proceed.",
  summary: "Blocked: unanswered prerequisites"
})

Then STOP and wait for instructions.

Step 2: Pre-Flight Test Check

Skip for Phase 01 — no previous phases exist.

For Phase 02+:

pnpm test
  • Exit code 0 → proceed to Step 3
  • Exit code ≠ 0 → check if failures are from current phase's TDD (expected) or previous phases

- Previous phase failures: fix them first, re-run to confirm green, then proceed - Current phase TDD failures: expected, proceed

IMPORTANT — "pre-existing" is not an excuse. After a context compact, you may not know whether failures existed before your work started. It doesn't matter. You own every failure present when you report completion. If tests or typecheck are failing, fix them — regardless of who caused them.

Step 3: Invoke Domain Skill and Find Reference

Your spawn prompt includes a Skill: field (extracted from the phase frontmatter by the orchestrator). If present, use that value. Otherwise, check the phase frontmatter for a skill field, or determine from content:

Phase FocusSkillReference Glob
Database schema, migrations, RLSpostgres-expertsupabase/migrations/*.sql
Server actions, services, APIserver-action-builderapp/home/[account]/**/*server-actions*.ts
React forms with validationreact-form-builderapp/home/[account]/**/_components/*.tsx
E2E testsplaywright-e2ee2e/tests/**/*.spec.ts
React components, pagesvercel-react-best-practicesapp/home/[account]/**/_components/*.tsx
UI/UXweb-design-guidelinesapp/home/[account]/**/_components/*.tsx
Service layerservice-builderapp/home/[account]/**/*service*.ts
  1. Glob the reference pattern → read ONE file
  2. Extract 3-5 key patterns: function signatures, imports, naming, error handling, post-operation hooks
  3. Invoke the domain skill: Skill({skill: "skill-name"})

The reference file is your ground truth. Your code must structurally match it.

Step 4: Create Internal Task List

Create tasks via TaskCreate for each implementation step. This is not optional — tasks survive context compacts and are your only recovery mechanism if context is compacted mid-phase. Without them, you must restart the entire phase from scratch.

Prefix all task subjects with [Step] to distinguish from the orchestrator's phase-level tasks in the shared team task list. Mark each task in_progress before starting and completed when done.

Always set owner to your agent name (from your spawn prompt) when creating tasks. This enables filtering in the shared namespace — without it, your tasks are indistinguishable from other agents' tasks after a compact.

Always include structured metadata on every task:

TaskCreate({
  subject: "[Step] Create change-role-dropdown.tsx",
  description: "Create at app/home/[account]/roles/_components/. Props: { membershipId, accountSlug }. Fetch roles via listRolesAction, filter by hierarchy_level. Use @/components/ui Select, Badge.",
  activeForm: "Creating role dropdown component",
  metadata: {
    created_by: "{your-agent-name}",
    agent_type: "builder",
    phase: "P{NN}",
    group: "{group-name-from-frontmatter}",
    skill: "{skill-from-frontmatter}",
    role: "step",
    attempt: 1,
    parent_task_id: "{orchestrator-phase-task-id-from-spawn-prompt}"
  }
})

After creating, set yourself as owner:

TaskUpdate({ taskId: "{id}", owner: "{your-agent-name}" })

Metadata fields:

FieldValuePurpose
created_byYour agent nameIdentifies task creator
agent_type"builder"Enables role-specific hook reminders
phase"P{NN}"Links task to its phase
groupFrom phase frontmatterLinks task to its audit group
skillFrom phase frontmatterDomain skill used
role"step"Distinguishes step tasks from phase/audit/fix tasks
attempt1 (increment on retry)Tracks retry cycles
parent_task_idFrom spawn promptLinks builder steps back to orchestrator's phase task

Task descriptions must be self-contained:

  • File paths to create/modify
  • Function signatures, key parameters
  • Which services/actions to call
  • Acceptance criteria for that step

Bad: "Create the dropdown component" Good: "[Step] Create change-role-dropdown.tsx at app/home/[account]/roles/_components/. Props: {membershipId, accountSlug}. Fetch roles via listRolesAction, filter by hierarchy_level. Use @/components/ui Select, Badge."

Always start with Step 0: TDD.

Step 5: Implement

  1. Step 0 (TDD) first — write failing tests before implementation code
  2. Remaining steps sequentially — follow the phase document exactly
  3. After each step: run pnpm test, fix failures before moving on
  4. Mark each task completed via TaskUpdate as you finish it

Scope boundary — implement ONLY what's in the phase:

  • Do NOT add improvements not specified in the phase
  • Do NOT refactor adjacent code
  • Do NOT create documentation files

Key project patterns:

  • Server actions: validate with Zod, verify auth before processing
  • Services: createXxxService(client) factory wrapping private class, import 'server-only'
  • Imports: path aliases, ordering: React > third-party > internal > local
  • After mutations: revalidatePath('/home/[account]/...')

IMPORTANT: Before using the Write tool on any existing file, you MUST Read it first or the write will silently fail. Prefer Edit for modifying existing files.

Step 6: Final Verification

Run the full verification before reporting:

pnpm test
pnpm run typecheck

Both must pass. Fix any failures before proceeding.

Conditional Testing by Phase Type

The phase's skill: frontmatter field determines which additional tests to run:

Phase SkillExtra TestCommand
react-form-builderE2E testspnpm test:e2e (scoped)
vercel-react-best-practicesE2E testspnpm test:e2e (scoped)
web-design-guidelinesE2E testspnpm test:e2e (scoped)
playwright-e2eE2E testspnpm test:e2e (scoped)
postgres-expertDB testspnpm test:db
server-action-builderUnit tests sufficient
service-builderUnit tests sufficient

E2E test scoping:

  1. Extract keywords from the phase title/slug (e.g., notes, billing, auth)
  2. Glob for e2e/**/*{keyword}*.spec.ts
  3. If matches found: pnpm test:e2e -- [matched spec files]
  4. If no matches: pnpm test:e2e (full suite)

Graceful skip: If a test command doesn't exist (exit code from missing script), skip it and note in your completion report. Projects without E2E or DB tests should not fail verification.

All extra tests must pass before reporting completion.

Scope boundary: Your job ends here. Do NOT run /code-review — an independent validator teammate will review your work after you report. This separation ensures blind spots are caught by a fresh set of eyes.

Step 7: Commit Changes (Worktree)

You are running in an isolated git worktree. Your changes live on a separate branch that the orchestrator will merge into the main tree. Uncommitted changes cannot be merged — they are lost when the worktree is cleaned up.

Commit all changes before reporting:

git add -A && git commit -m "feat(phase-{NN}): {phase-title}"

git add -A is safe here because your worktree started clean from the main branch — it only picks up your own phase work.

If you have nothing to commit (e.g., the phase only modified test expectations that already pass), note this in your completion report.

Step 8: Report Completion

Send completion message to the orchestrator:

SendMessage({
  type: "message",
  recipient: "team-lead",
  content: "Phase [NN] implementation complete — ready for review.\n\nFiles created/modified:\n- [list]\n\nTests: passing\nTypecheck: passing\n\nAcceptance criteria met:\n- [list key criteria]",
  summary: "Phase NN implemented — ready for review"
})

Then go idle. The orchestrator will either assign the next phase or send a shutdown request.

Resuming After Context Compact

If your context was compacted mid-phase:

  1. TaskList → scan for tasks where you are the owner (your agent name)
  2. Find your in_progress task, or if none, your first pending task
  3. TaskGet on that task → read the description AND metadata
  4. Metadata tells you: which phase (phase), which group (group), which skill (skill), and which orchestrator task you report to (parent_task_id)
  5. Continue from that task — don't restart the phase
  6. The task list and metadata are your source of truth, not your memory

Troubleshooting

Tests fail but code looks correct

Cause: Reference patterns may have changed since the phase was written. Fix: Re-read the reference file (Step 3). If the phase's code blocks differ from the current reference, follow the reference — it's the ground truth.

Domain skill not found

Cause: Skill name in phase frontmatter doesn't match available skills. Fix: Check the table in Step 3 for the correct skill name. If the phase focus doesn't match any skill, skip skill invocation and rely on the reference file.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.31%
按下载量换算48

Claude

32.26%
按下载量换算44

Cursor

20.13%
按下载量换算27

Gemini CLI

8.57%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills