Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问clear审计未展示

implement实现

Agent Skill

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

总安装

364

周安装

15

GitHub Stars

公开资料未说明

下载量

119
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:implement(实现)
来源仓库:https://github.com/benredmond/apex
仓库路径:skills/implement
安装命令:
npx skills add benredmond/apex --skill "implement"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

AgentSkills.tonpx skills
npx skills add benredmond/apex --skill "implement"

简介

implement 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词快速定位候选结果时使用。

  • 适用于代码实现方案查找、技术文档检索、开发资源筛选等研究检索场景。
  • 通过 npx skills add benredmond/apex --skill "implement" 命令安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 可结合来源仓库 https://github.com/benredmond/apex/tree/main/skills/implement 继续核验具体用法。

SKILL.md

name
implement
description
Build and validate loop (BUILDER + validation) - implements the architecture, runs tests, iterates until passing. Writes code following the plan.
argument-hint
[task-identifier]

<skill name="apex:implement" phase="implement">

<overview> Implement the architecture from the plan phase. Build code, run tests, iterate until all validations pass.

Combines BUILDER (write code) and validation (run tests) in a tight loop. </overview>

<phase-model> phase_model: frontmatter: [research, plan, implement, rework, complete] rework: enabled db_role: [RESEARCH, ARCHITECT, BUILDER, BUILDER_VALIDATOR, REVIEWER, DOCUMENTER] legacy_db_role: [VALIDATOR] source_of_truth: gating: frontmatter.phase telemetry: db_role </phase-model>

<phase-gate requires="plan|rework" sets="implement"> <reads-file>./apex/tasks/[ID].md</reads-file> <requires-section>plan</requires-section> <appends-section>implementation</appends-section> </phase-gate>

<principles>

  • Follow the Plan: The architecture was approved - implement it, don't redesign
  • Pattern Discipline: Only use patterns from the plan's pattern selection
  • Fail Fast: Run tests frequently, fix issues immediately
  • No Guessing: If spec is unclear, return to plan or ask user

</principles>

<initial-response> <if-no-arguments> I'll implement the planned architecture. Please provide the task identifier.

You can find active tasks in ./apex/tasks/ or run with: /apex:implement [identifier] </if-no-arguments> <if-arguments>Load task file and begin implementation.</if-arguments> </initial-response>

<workflow>

<step id="1" title="Load task and verify phase"> <instructions>

  1. Read ./apex/tasks/[identifier].md
  2. Verify frontmatter phase: plan OR phase: rework
  3. Parse <task-contract> first and treat it as authoritative scope/ACs
  4. Parse <plan> section, especially <builder-handoff>
  5. If phase == rework, treat this as a Ship REJECT rework loop
  6. If phase not in [plan, rework], refuse with: "Task is in [phase] phase. Expected: plan or rework"

Contract rules:

  • Implementation MUST satisfy all AC-* or explicitly document unmet criteria
  • If scope/ACs must change, append a <amendments><amendment ...> entry inside task-contract and bump its version

</instructions>

</step>

<step id="2" title="Extract implementation directives"> <extract-from-plan>

  • <builder-handoff><mission> - What we're building
  • <builder-handoff><core-architecture> - The chosen approach
  • <builder-handoff><pattern-guidance> - Patterns to apply with locations
  • <builder-handoff><implementation-order> - Sequence of steps
  • <builder-handoff><validation-gates> - Checks after each step
  • <builder-handoff><warnings> - Critical risks to avoid
  • <architecture-decision><files-to-modify> - Existing files to change
  • <architecture-decision><files-to-create> - New files to add

</extract-from-plan>

<extract-from-contract>

  • <task-contract><acceptance-criteria> - AC-* to track and validate

</extract-from-contract>

<create-todo-list> Create TodoWrite items for each implementation step from the plan. </create-todo-list> </step>

<step id="3" title="Pre-implementation verification"> <checks>

  • [ ] All files to modify exist and are readable
  • [ ] No syntax errors in current codebase (npm run lint or equivalent)
  • [ ] Tests currently passing (baseline)
  • [ ] Dependencies available

</checks> <on-failure>Document blockers and ask user how to proceed.</on-failure> </step>

<step id="4" title="Implementation loop"> <loop until="all steps complete AND all tests pass">

<builder-phase> <for-each-step>

  1. Read target files fully before modifying
  2. Apply patterns from plan's pattern-guidance
  3. Write code following architecture decision
  4. Document pattern usage: # [PAT:ID] ★★★★☆ (X uses, Y% success)
  5. Run syntax check immediately after writing

</for-each-step>

<pattern-discipline> ONLY use patterns listed in <plan><patterns><applying>. DO NOT invent new pattern names. If you need a pattern not in the plan, document it as a gap. </pattern-discipline>

<failure-prevention> Review <plan><architecture-decision><risks> before each step. Apply mitigations proactively. </failure-prevention> </builder-phase>

<validator-phase> <after-each-step>

  1. Run validation gate from plan
  2. If passes, continue to next step
  3. If fails, fix and retry (max 3 attempts per step)
  4. After 3 failures, document issue and ask user

</after-each-step>

<validation-commands>

  • Syntax: npm run lint / ruff check / language-appropriate
  • Types: tsc --noEmit / mypy / language-appropriate
  • Unit tests: npm test / pytest / language-appropriate
  • Integration: As specified in plan

</validation-commands> </validator-phase>

<checkpoint-after-each-step> Record a checkpoint in the task log after each step (summary + confidence). </checkpoint-after-each-step>

</loop> </step>

<step id="4.5" title="Pattern Evidence Gate"> <critical> Before running full validation, verify all patterns you intend to claim. </critical>

<verification-checklist> For each pattern in <patterns-used>:

  1. [ ] Pattern exists in <plan><patterns><applying>
  2. [ ] Trust score matches what's in the plan
  3. [ ] Location (file:line) is accurate and verifiable
  4. [ ] Outcome is honest (worked|tweaked|failed)

</verification-checklist>

<evidence-collection> Record pattern usage evidence BEFORE validation:

  • pattern_id
  • file and line range
  • outcome (worked|tweaked|failed)
  • notes on usage

</evidence-collection>

<fabrication-check> IF any pattern in <patterns-used> is NOT in <plan><patterns><applying>: → REMOVE it from patterns-used → Document as "unplanned pattern discovered" → Do NOT claim it in the final reflection

Unplanned patterns can be documented as "new patterns" in the final reflection, but NOT as "patterns used" (which updates confidence). </fabrication-check> </step>

<step id="5" title="Comprehensive validation"> <critical> This is NOT optional. Run FULL test suite before completing. </critical>

<spawn-validator> <agent type="apex:test-validator"> Task ID: [taskId] Modified Files: [list from implementation] Predictions: [from plan's risk section]

Run: Syntax → Formatting → Type check → Unit tests → Integration tests → Coverage

Return: Validation report comparing predictions vs reality </agent> </spawn-validator>

<decision-logic> IF any failures: → Return to builder-phase with issue list → Fix and re-run validation → Max 3 full cycles before escalating to user

IF only warnings: → Document for review phase → Proceed

IF all pass: → Proceed to write implementation section </decision-logic> </step>

<step id="6" title="Write implementation section to task file"> <output-format> Append to <implementation> section:

<implementation>
<metadata>
  <timestamp>[ISO]</timestamp>
  <duration>[Time spent]</duration>
  <iterations>[Build-validate cycles]</iterations>
</metadata>

<files-modified>
  <file path="[path]">
    <changes>[Summary of what changed]</changes>
    <patterns-applied>
      <pattern id="PAT:X:Y">[How it was used]</pattern>
    </patterns-applied>
    <diff-summary>[Key additions/removals]</diff-summary>
  </file>
</files-modified>

<files-created>
  <file path="[path]">
    <purpose>[Why created]</purpose>
    <patterns-applied>[PAT:IDs]</patterns-applied>
    <test-file>[Corresponding test if any]</test-file>
  </file>
</files-created>

<validation-results>
  <syntax status="pass|fail">[Details]</syntax>
  <types status="pass|fail">[Details]</types>
  <tests status="pass|fail" passed="X" failed="Y" skipped="Z">[Details]</tests>
  <coverage>[Percentage if available]</coverage>
</validation-results>

<acceptance-criteria-status>
  <criterion id="AC-1" status="met|not-met">[Evidence or reason]</criterion>
</acceptance-criteria-status>

<patterns-used>
  <pattern id="PAT:X:Y" location="file:line" outcome="worked|tweaked|failed">
    [Notes on usage]
  </pattern>
</patterns-used>

<issues-encountered>
  <issue resolved="true|false">
    <description>[What happened]</description>
    <resolution>[How fixed, or why unresolved]</resolution>
  </issue>
</issues-encountered>

<deviations-from-plan>
  <deviation>
    <planned>[What plan said]</planned>
    <actual>[What we did instead]</actual>
    <reason>[Why deviation was necessary]</reason>
  </deviation>
</deviations-from-plan>

<reviewer-handoff>
  <summary>[What was built]</summary>
  <key-changes>[Most important modifications]</key-changes>
  <test-coverage>[What's tested]</test-coverage>
  <known-limitations>[Edge cases, TODOs]</known-limitations>
  <patterns-for-reflection>[Patterns to report in the final reflection]</patterns-for-reflection>
</reviewer-handoff>

<next-steps>
Run `/apex:ship [identifier]` to review and finalize.
</next-steps>
</implementation>

</output-format>

<update-frontmatter> Set phase: implement and updated: [ISO timestamp] </update-frontmatter>

</step>

</workflow>

<critical-requirements>

<pattern-fabrication-prevention> YOU CANNOT FABRICATE PATTERNS.

Only claim patterns that exist in <plan><patterns><applying>. In <patterns-used>, only list patterns from the plan. Pattern IDs claimed here will be validated during /apex:ship.

VIOLATION: Claiming "PAT:NEW:THING" that was never in the plan CONSEQUENCE: The final reflection becomes unreliable and confidence becomes meaningless </pattern-fabrication-prevention>

<syntax-gate> Before completing implementation:

  • Run linting
  • Check for common errors (double async, missing brackets)
  • Fix ALL syntax errors before proceeding
  • DO NOT transition to ship with syntax errors

</syntax-gate>

<contract-gate> Before finishing:

  • Confirm all AC-* are met, or explicitly mark any unmet criteria with reasons
  • If contract scope/ACs changed, record an amendment with rationale and bump contract version

</contract-gate>

<spec-unclear-protocol> If implementation reveals spec ambiguity:

  1. Document the ambiguity
  2. Ask user for clarification
  3. If architectural change needed, note it for plan revision
  4. Do NOT guess and implement wrong thing

</spec-unclear-protocol>

</critical-requirements>

<success-criteria>

  • All implementation steps from plan completed
  • All validation gates passed
  • Full test suite passing
  • No syntax errors
  • Acceptance criteria status reported for all AC-*
  • Patterns used are from plan only (Pattern Evidence Gate passed)
  • Deviations documented with reasons
  • Task file updated at ./apex/tasks/[ID].md
  • Checkpoints recorded at start, per-step, and end
  • Pattern evidence recorded for usage
  • Task metadata updated for build/validate completion

</success-criteria>

<next-phase> /apex:ship [identifier] - Review, document, and reflect </next-phase>

</skill>

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

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

平台分布

OpenCode

29.93%
按下载量换算36

kilo

21.64%
按下载量换算26

Antigravity

17.96%
按下载量换算21

Claude Code

13.41%
按下载量换算16

crush

7.18%
按下载量换算9

github-copilot

3.32%
按下载量换算4

安全审计

暂无安全审计结果可展示。

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills