用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/rjmurillo/ai-agents --skill build命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Define what to build. Transform a problem into testable requirements with acceptance criteria.
Validate and complete session logs before commit. Auto-populates session end evidence (commit SHA, lint results, memory updates) and runs validation. Use when finishing a session, before committing, or when session validation fails. Do NOT use to create a new session log (use session-init) or to repair a session protocol failure reported by CI (use session-log-fixer).
Create protocol-compliant JSON session logs with verification-based enforcement. Autonomous operation with auto-incremented session numbers and objective derivation from git state. Use when starting any new session. Use when you say "start a session", "create the session log". Do NOT use for mid-session protocol checks (use session), or to complete and validate a log at the end of a session (use session-end).
正在显示 SKILL.md
基于 SOC 职业分类
| name | build |
| description | Build incrementally. Implement changes in thin vertical slices with TDD and atomic commits. Run after /plan. |
| argument-hint | plan-step-or-task-description |
| allowed-tools | Task, Skill, Read, Write, Edit, Glob, Grep, Bash(*) |
| user-invocable | true |
Build: the problem statement from the conversation (under Copilot CLI the skill tool takes no argument vector, so state it in your message)
If the problem statement from the conversation (under Copilot CLI the skill tool takes no argument vector, so state it in your message) is empty, check for recent /plan output in the conversation. If none found, ask the user what to build.
If the task touches Claude Code or GitHub Copilot CLI hook configuration, payloads, decisions, matchers, exit codes, timeouts, generated shims, or event translation:
skill: "agent-harness-reference" before design or code.skill: "ai-agents-portability-campaign".skill: "ai-agents-generation-and-release" for generated mirrors.Before implementation, agent_type: "project-toolkit:analyst": Read .claude/skills/analyze/references/engineering-complexity-tiers.md and the task description. Classify as Tier 1-5. Return: tier, rationale, and recommended oversight level. Use this to calibrate implementation approach:
Before any code changes, invoke skill: "pre-mortem" on the task as briefed. Capture the top 2-3 critical risks and their mitigations into the session log. Risks surfaced by reviewers late in the cycle are usually knowable up front. A 5-minute pre-mortem is cheaper than a 10-round bot review.
agent_type: "project-toolkit:implementer": You are a senior engineer. Discover the project's tech stack, coding patterns, and test conventions by reading the codebase. Build in thin vertical slices. Test-first when the project has tests. Commit atomically.
For each slice:
/spec output. Name the test test_<behavior> and include the AC identifier in the docstring or comment.mcp__serena__find_symbol, mcp__serena__get_symbols_overview; some Claude harnesses surface the same tools under the plugin alias mcp__plugin_serena_serena__find_symbol / mcp__plugin_serena_serena__get_symbols_overview, so accept either when present). Otherwise fall back to Grep and Read for filesystem-level discovery. Serena is not guaranteed in every harness (fresh installs without MCP, copilot-cli runtime); the fallback keeps the slice executable across hosts.The agent should self-check:
The build is not complete until all four gates below return clean. These are hard preconditions for declaring done, not advisory output. If any gate returns findings, the implementer must address them in the same /build cycle. Do not kick the can to PR review; advisory framing here produces the iteration paradox where reviewers flag what the implementer should have caught, multiplying the cost of every revision.
Run, in order:
skill: "code-qualities-assessment" with --changed-only against the changed files. Reject the build if any new or modified method scores below the configured thresholds in .qualityrc.json.skill: "taste-lints" against the changed files (use --git-staged or pass paths explicitly). Reject the build on any error-level violation; address every warning surfaced on lines you touched.skill: "doc-accuracy" with --diff-base main so it audits changed comments, docstrings, and prose. Reject the build on any critical or high finding in code or docs you authored.skill: "orphan-ref-validator". Reject the build on VERDICT: CRITICAL_FAIL or VERDICT: ERROR. Catches references to deleted skills and missing script paths before they reach review. Manifest count claims are not validated by anything: the marketplace count validator was retired in #2187 and orphan-ref-validator never took the work over. Its scanner emits only skill_name, script_path, and scan_truncated findings. To diagnose a failure, re-run the skill with --output human; each finding shows path:line plus a one-line recommendation. The skill invocation is platform-agnostic; each platform mirror runs its own copy of scan.py. The first three gates run in --changed-only mode and ignore preexisting drift; gate 4 scans the default targets across the repo because skill-name and script-path orphans are repo-state global, not per-PR. If pre-existing drift outside the PR's scope blocks the gate, fix it in the same PR (the directives at <!-- orphan-ref-ignore --> and <!-- orphan-ref-ignore-file --> are documented in the skill's SKILL.md).If a gate flags an item that is genuinely out of scope for this build, document the rationale in the session log and link to the follow-up issue. "I will fix it in review" is not an acceptable rationale.
Grep/Read if Serena is not present. Read canonical source before writing code that touches it.skill: "memory-gate" to surface the "why"
behind the existing design. This is a soft BLOCKING check: if the gate returns findings, address
or explicitly acknowledge them in the session log before proceeding.