Token导航 LogoToken导航

Agent Skill · 研究检索

deep-implement(深度实施)

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

deep-implement 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 60,042。

总安装 374周安装 15GitHub Stars 50下载 121核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/piercelamb/deep-implement --skill deep-implement

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于按章节实现 /deep-plan 生成的代码,集成测试驱动开发与审查流程。每步实现后进行代码审查与 Git 提交,保留可追溯的修改记录。采用 TDD 方法,确保每个功能点均有对应测试覆盖。使用前需确认项目目录结构与虚拟环境配置,避免误操作生产分支。

deep-implement 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/deep-implement

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/piercelamb/deep-implement --skill deep-impleme…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

deep-implement 怎么安装?

在终端执行 npx skills add https://github.com/piercelamb/deep-implement --skill deep-implement。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

deep-implement 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

deep-implement 需要什么权限?

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

deep-implement 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

deep-implement 用的人多吗?

公开数据是累计安装 374 次,近一周安装 15 次,下载 121 次,GitHub 50 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

deep-implement 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
deep-implement

深度实施 · 本页

37450只读未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Deep Implementation Skill

Implements code from /deep-plan section files with integrated review and git workflow.

CRITICAL: First Actions

BEFORE using any other tools, do these in order:

A. Print Intro Banner

⚠️  CONTEXT WARNING: This workflow is token-intensive. Consider compacting first.

═══════════════════════════════════════════════════════════════
DEEP-IMPLEMENT: Section-by-Section Implementation
═══════════════════════════════════════════════════════════════
Implements /deep-plan sections with:
  - TDD methodology
  - Code review at each step
  - Git commits with review trails

Usage: /deep-implement @path/to/sections/.

Note: deep-implement creates a large TODO list. Expand your window to avoid flickering
═══════════════════════════════════════════════════════════════

B. Validate Input

Check if user provided @directory argument ending with a path to a sections/. directory.

If NO argument or invalid:

═══════════════════════════════════════════════════════════════
DEEP-IMPLEMENT: Sections Directory Required
═══════════════════════════════════════════════════════════════

This skill requires a path to a sections directory from /deep-plan.

Example: /deep-implement @path/to/planning/sections/.

The sections directory must contain:
  - index.md with SECTION_MANIFEST block
  - section-NN-<name>.md files for each section
═══════════════════════════════════════════════════════════════

Stop and wait for user to re-invoke with correct path.

C. Discover Plugin Root

CRITICAL: Locate plugin root BEFORE running any scripts.

The SessionStart hook injects DEEP_PLUGIN_ROOT=<path> into your context. Look for it now — it appears alongside DEEP_SESSION_ID in your context from session startup.

If DEEP_PLUGIN_ROOT is in your context, use it directly as plugin_root. The setup script is at: <DEEP_PLUGIN_ROOT value>/scripts/checks/setup_implementation_session.py

Only if DEEP_PLUGIN_ROOT is NOT in your context (hook didn't run), fall back to search:

find "$(pwd)" -name "setup_implementation_session.py" -path "*/scripts/checks/*" -type f 2>/dev/null | head -1

If not found: find ~ -name "setup_implementation_session.py" -path "*/scripts/checks/*" -path "*deep*implement*" -type f 2>/dev/null | head -1

Store the script path. The plugin_root is the directory two levels up from scripts/checks/.

D. Determine Target Directory

The target directory is where implementation code will be written. Check if a previous session exists with a saved target:

# Check for existing config
cat "{sections_dir}/../implementation/deep_implement_config.json" 2>/dev/null | grep -o '"target_dir": "[^"]*"'

If config exists with target_dir: Use that value (skip the prompt).

If no config or no target_dir: Get current working directory and ask user:

pwd
AskUserQuestion:
  question: "Where should implementation code be written?"
  options:
    - label: "{cwd}"
      description: "Current working directory (Recommended)"
    - label: "Specify path"
      description: "Enter a different absolute path"

If user selects "Specify path", they will type the absolute path.

Store target_dir for use in setup script.

E. Run Setup Script

First, check for session_id in your context. Look for DEEP_SESSION_ID=xxx which was set by the SessionStart hook. This appears in your context as additional context.

Run the setup script with discovered paths:

uv run {script_path} \
  --sections-dir "{sections_dir}" \
  --target-dir "{target_dir}" \
  --plugin-root "{plugin_root}" \
  --session-id "{DEEP_SESSION_ID}"

If DEEP_SESSION_ID is not in your context, omit --session-id (setup will fall back to DEEP_SESSION_ID env var).

Parse the JSON output.

If success == false: Display error and stop.

Session ID diagnostics in output:

  • session_id: The session ID being used for tasks
  • session_id_source: Where it came from ("context", "env", or "none")
  • session_id_matched: If both context and env were present, whether they matched (useful for debugging)

F. Handle Branch Check

If is_protected_branch == true (setup script detects main, master, release/* branches):

AskUserQuestion:
  question: "You're on the {current_branch} branch. Committing here may not be ideal."
  options:
    - label: "Continue on {current_branch}"
      description: "Proceed with implementation on this branch"
    - label: "Exit to create feature branch"
      description: "Stop to create a dedicated branch first"

If user chooses "Exit", stop the workflow.

G. Handle Working Tree Status

If working_tree_clean == false:

AskUserQuestion:
  question: "Working tree has {N} uncommitted changes. This may cause issues."
  options:
    - label: "Continue anyway"
      description: "Proceed with implementation (changes may get mixed)"
    - label: "Exit to commit/stash first"
      description: "Stop to handle uncommitted changes"

H. Print Preflight Report

═══════════════════════════════════════════════════════════════
PREFLIGHT REPORT
═══════════════════════════════════════════════════════════════
Target dir:     {target_dir}
Repo root:      {git_root}
Branch:         {current_branch}
Working tree:   {Clean | Dirty (N files)}
Pre-commit:     {Detected (type) | None}
                {May modify files: Yes (formatters) | No | Unknown}
Test command:   {test_command}
Sections:       {N} detected
Completed:      {M} already done
State storage:  {state_dir}
═══════════════════════════════════════════════════════════════

I. Verify Task List

Check the setup output for task status:

  1. If tasks_written > 0: Tasks have been written. Call TaskList to see them.
  2. If task_write_error is present: Task write failed - log the error and continue with manual tracking.
  3. If no task_list_id: Session ID not available - the SessionStart hook may not have run.

After setup succeeds: Call TaskList to see the implementation tasks.

Understanding the task list:

The task list contains 6 high-level reminders per section:

  1. Implement section-NN
  2. Run code review subagent for section-NN
  3. Perform code review interview for section-NN
  4. Update section-NN documentation
  5. Commit section-NN
  6. Record section-NN completion

Plus a compaction prompt every 2nd section (after 02, 04, 06, etc.).

Context items appear as pending tasks at the start (e.g., plugin_root=/path/..., sections_dir=/path/...).

These are milestones to track progress, not detailed instructions. For the actual workflow steps, always refer to:

  • This file (SKILL.md) for the overall orchestration
  • The reference documents in references/ for detailed protocols

Mark each task as in_progress when starting: TaskUpdate(taskId=X, status="in_progress") Mark each task as completed when done: TaskUpdate(taskId=X, status="completed")


Implementation Loop

For each incomplete section (in manifest order):

Task milestone mapping:

Task SubjectWorkflow Steps
Implement section-NNSteps 1-5 (read, TDD, stage)
Run code review subagentStep 6 (launch subagent, write review)
Perform code review interviewSteps 7-8 (triage, interview, apply fixes)
Update section-NN documentationStep 9 (update section file with what was actually built)
Commit section-NNStep 10 (commit implementation + doc update together)
Record section-NN completionStep 11 (run update_section_state.py to save commit hash)
Context check (every 2nd section only)Step 13 (context management options)

Note: Step 12 (Mark Complete) is internal task status update. Step 14 (Loop) continues to next section. Context checks only appear after sections 02, 04, 06, etc.

Step 1: Mark In Progress

Update task: TaskUpdate(taskId=X, status="in_progress")

Step 2: Read Section File

Read {sections_dir}/section-NN-<name>.md

Step 3: Implement Section

See implementation-loop.md

Follow TDD workflow:

  1. Create skeleton files for imports
  2. Write tests from section spec
  3. Run tests (expect failures)
  4. Write implementation
  5. Run tests (expect pass)
  6. Handle failures with retry (max 3)

Step 4: Track Created Files

Maintain list of all files created during implementation.

Step 5: Stage Changes

# Stage new files
git add {created_files...}

# Stage modified files
git add -u

Step 6: Code Review (Subagent)

See code-review-protocol.md

  1. Create {state_dir}/code_review/ directory if it doesn't exist
  2. Write staged diff to {code_review_dir}/section-NN-diff.md
  3. Launch code-reviewer subagent to analyze the diff
  4. Write subagent's review to {code_review_dir}/section-NN-review.md

Step 7: Code Review Triage and Interview

See code-review-interview.md

Triage the review findings and interview the user only on important items:

  1. Read the review and use judgment to categorize:

- Ask user: Decisions with real tradeoffs, security concerns - Auto-fix: Obvious improvements, low-risk changes - Let go: Nitpicks, pedantic observations

  1. Interview user only on items that need their input
  2. Write transcript with both interview decisions AND auto-fixes to {code_review_dir}/section-NN-interview.md

The goal is a useful conversation, not a comprehensive audit.

Step 8: Apply Fixes

See apply-interview-fixes.md

Apply all fixes recorded in the transcript:

  1. Read {code_review_dir}/section-NN-interview.md
  2. Apply user-approved fixes and auto-fixes (if already applied, skip)
  3. Run tests to verify nothing broke
  4. Re-stage modified files

Recovery: If compaction happens, the interview file is the checkpoint. Restart applying fixes from the beginning - you'll notice already-applied changes. The commit is the definitive checkpoint.

Step 9: Update Section Documentation

See section-doc-update.md

Before committing, update the original section file to reflect what was actually implemented:

  1. Read {sections_dir}/section-NN-<name>.md
  2. Compare planned implementation vs actual:

- Code review fixes that changed the approach - File paths that differed from plan - Tests that were added/modified

  1. Update the section file with:

- Actual file paths created/modified - Any deviations from original plan (with rationale) - Final test count and coverage notes

  1. If sections_dir is inside git_root, stage the section doc: git add {sections_dir}/section-NN-<name>.md (If sections_dir is outside git_root, skip staging - the doc update lives with the planning files)

This keeps section files as accurate documentation of what was built, not just what was planned.

Step 10: Commit

See git-operations.md and pre-commit-handling.md

Commit implementation + doc update together (one commit per section):

  1. Create commit message matching detected style
  2. Attempt commit
  3. Handle pre-commit hooks:

- If files modified: re-stage and retry (max 2) - If lint error: present options to user

  1. On success: store commit hash in session config
git commit -m "$(cat <<'EOF'
Implement section NN: Name

- Very concise summary of features/changes

Plan: section-NN-<name>.md
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"

Step 11: Update State

After successful commit, update the session config:

uv run {plugin_root}/scripts/tools/update_section_state.py \
    --state-dir "{state_dir}" \
    --section "{section_name}" \
    --commit-hash "{commit_hash}"

This records the commit hash so the section is recognized as complete on resume.

Step 12: Mark Complete

Update task: TaskUpdate(taskId=X, status="completed")

Step 13: Context Check (Every 2nd Section)

Only prompt after sections 02, 04, 06, etc. (every 2nd section).

If this is NOT a 2nd section, skip directly to Step 14.

If this IS a 2nd section (02, 04, 06,...):

═══════════════════════════════════════════════════════════════
Section NN complete and committed.
═══════════════════════════════════════════════════════════════

Completed: {M}/{N} sections
Next: section-{NN+1}-{name}

Context Management Options:
  1. /clear + re-run /deep-implement (Recommended)
     - Fresh context with full instructions
     - Progress preserved via file-based recovery

  2. Continue in current session
     - Auto-compact triggers at ~95% if needed
     - May lose some instruction detail after compaction

Type "continue" or run /clear and re-invoke /deep-implement @{sections_dir}/.

Wait for user response. If they say "continue", proceed to Step 14.

Step 14: Loop

Repeat from Step 1 for next section.


Finalization

After all sections complete, see finalization.md:

  1. Generate {state_dir}/usage.md with usage guide for what was built
  2. Print completion summary with commits, files, and next steps

Error Handling

Test Failures

After 3 failed fix attempts:

AskUserQuestion:
  question: "Tests still failing after 3 attempts. How to proceed?"
  options:
    - label: "Review and debug"
      description: "I'll show you the test and implementation for inspection"
    - label: "Skip section"
      description: "Mark section as skipped and continue to next"
    - label: "Stop implementation"
      description: "Pause to manually investigate"

Pre-Commit Failures

See pre-commit-handling.md

Git Commit Failures

If commit fails (non-pre-commit):

Git commit failed: {error}

The staged changes are preserved.
You can manually commit with: git commit -m "message"

Continue to next section? [y/n]

Path Safety Violations

═══════════════════════════════════════════════════════════════
SECURITY ERROR
═══════════════════════════════════════════════════════════════

Attempted to write file outside allowed directory:
  Path: {attempted_path}
  Allowed root: {git_root}

This section file may contain invalid paths.
Please review the section file.
═══════════════════════════════════════════════════════════════

Context Recovery

After /clear + re-run /deep-implement:

The setup script detects completed sections via deep_implement_config.json and marks their tasks complete. You'll resume from the next pending section with fresh instructions.

After compaction (if user chose "continue"):

  1. Call TaskList to see current state
  2. Find context tasks to recover paths:

- plugin_root=... - extract value after = - sections_dir=... - extract value after = - state_dir=... - extract value after =

  1. Find next pending, unblocked task
  2. Resume workflow from that task

Reference Documents

平台分布

Codex

38.88%
按下载量换算47

Claude

31.98%
按下载量换算39

Cursor

16.96%
按下载量换算21

Gemini CLI

9.12%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

只读

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills