一键导入
build-task
Autonomous task implementation - research, plan, build, review, fix, ship
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Autonomous task implementation - research, plan, build, review, fix, ship
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create distinctive, production-grade frontend interfaces with high design quality. Use when building web components, pages, or applications. Includes framework-specific guidance for Tailwind, React, Vue, and Rails/Hotwire ecosystems.
Skill file structure, naming conventions, directory layout, frontmatter requirements, and invocation control. Use when creating skill files or slash commands to ensure correct format and validation.
Forces adversarial reasoning before committing to decisions. Triggers on architectural choices, approach selection, and planning phases to prevent premature commitment bias.
Verify LLM reasoning using Reverse Chain-of-Thought (RCoT) to detect overlooked conditions.
Generate a complete favicon set (ICO, PNG variants, apple-touch-icon, web manifest) from a source image and integrate into the project's HTML layout. Use when user asks to generate favicons, set up PWA icons, or add an apple-touch-icon.
Save session state to ledger file for continuity across crashes, context switches, or /clear + reload cycles.
| name | build-task |
| description | Autonomous task implementation - research, plan, build, review, fix, ship |
| argument-hint | [task-reference or plan-file] |
| allowed-tools | Bash Read Grep Glob WebFetch TaskCreate TaskList TaskUpdate Task Skill |
Implement a task autonomously through the full development lifecycle.
<task_reference> $ARGUMENTS </task_reference>
Formats:
docs/plans/*.mddocs/plans/*.md → Blueprint file from Skill("blueprint")#123, PROJ-123, URL → Task reference (GitHub, Beads, Linear)--no-ship → Flag to skip shipping (used by run-blueprint for batch shipping)# If empty, find most recent plan
ls -t docs/plans/*.md 2>/dev/null | head -1
Parse flags:
--no-ship: Set skip_ship=true, remove flag--ac "<criteria>": Set ac_items to provided criteria, remove flag| Input | Source | Skip Steps |
|---|---|---|
| Empty + plan found | plan | 1, 2, 5 |
*.md file path | plan | 1, 2, 5 |
| Task reference | task | (none) |
| Empty + no plan | Ask user | — |
For plans: Extract TASK_ID from filename slug, TITLE from first # heading.
Task (majestic-engineer:workflow:task-fetcher):
prompt: Task: <reference>
Task (majestic-engineer:workflow:task-status-updater):
prompt: Action: claim | Task: <ID>
Run /rename <task-title> to set the terminal title for visibility.
Read config values:
WORKFLOW = config_read("workflow", "branches")
BRANCH_NAMING = config_read("branch_naming", "issue-desc")
POST_CREATE = config_read("workspace_setup.post_create", "")
DEFAULT_BRANCH=$(git remote show origin | grep 'HEAD branch' | awk '{print $NF}')
Then setup workspace:
Task (majestic-engineer:workflow:workspace-setup):
prompt: |
Task ID: <ID>
Title: <title>
Type: <type>
Workflow: <workflow>
Branch Naming: <branch_naming>
Default Branch: <default_branch>
Post-Create Hook: <post_create>
After workspace setup, verify we are NOT on a protected branch:
CURRENT_BRANCH=$(git branch --show-current)
| Current Branch | Action |
|---|---|
main | STOP - workspace setup failed |
master | STOP - workspace setup failed |
<default_branch> | STOP - workspace setup failed |
| Feature branch | Continue |
If on protected branch: STOP and report error. Do not proceed.
Task (majestic-engineer:workflow:toolbox-resolver):
prompt: |
Stage: build-task
Task Title: <title>
Task Description: <description>
Stores: methodology, build_agent, fix_agent, coding_styles, design_system_path, research_hooks, pre_ship_hooks, quality_gate.reviewers
For each mode: auto hook where triggers match task text:
Task (majestic-engineer:workflow:context-proxy):
prompt: agent: <hook.agent> | budget: 2000 | prompt: Research for: <title> | Context: <description>
If research agents returned outputs and combined output > 4000 chars:
Task (majestic-engineer:workflow:context-proxy):
prompt: agent: architect | budget: 3000 | prompt: Task: <title> | Description: <description> | Research: <findings>
Note: Skip if source is plan - use plan file content instead.
Pass all gathered context to the build-task-workflow-manager agent:
agent build-task-workflow-manager "
Task ID: <ID or 'plan'>
Title: <title>
Branch: <branch>
Plan: <plan content>
Acceptance Criteria:
<ac_items>
Methodology: <methodology>
Build Agent: <build_agent>
Fix Agent: <fix_agent>
Coding Styles: <styles>
Design System Path: <path>
Pre-Ship Hooks: <hooks>
Quality Gate Reviewers: <reviewers>
Source: <task or plan>
Skip Ship: <skip_ship>
"
AC source:
| Input | AC Source |
|---|---|
--ac flag provided | Use provided AC directly |
| Plan file | Extract from **Acceptance Criteria:** section |
| GitHub Issue | Extract from issue body (look for AC section) |
| Linear/Beads | Extract from task description |
The agent handles:
Agent returns:
Caller responsibility: If caller needs to persist results (e.g., update blueprint checkboxes), it handles that based on the returned results.
Task source:
## Build Complete: #<ID> - <title>
- Backend: <github|beads|linear>
- Branch: <branch>
- PR: #<number>
- Quality: Passed (attempt <n>)
- Next: PR awaits review, task closes on merge
Plan source:
## Build Complete: <title>
- Plan: <file-path>
- Branch: <branch>
- PR: #<number>
- Quality: Passed (attempt <n>)
- Next: PR awaits review
Skill("build-task") # Auto-detect recent plan
Skill("build-task") docs/plans/add-auth.md # Explicit plan
Skill("build-task") #42 # GitHub issue
Skill("build-task") PROJ-123 # Beads/Linear