Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

research-plan-implement研究计划实施

Agent Skill

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

总安装

541

周安装

23

GitHub Stars

76

下载量

190
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/htlin222/dotfiles --skill research-plan-implement

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于需要根据关键词或任务场景进行信息检索的研究类 Agent 工作流。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 建议确认权限范围和维护状态,注意可能触发联网或文件读写操作。
  • research-plan-implement 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Research-Plan-Implement (RPI)

A disciplined three-phase workflow that trades speed for clarity, predictability, and correctness. Each phase has a validation gate that must pass before proceeding.

Core principle: Never let AI write code without first researching the codebase and producing a validated plan. A 1-page plan gives 10x leverage over reviewing 1,000 lines of AI code.

When to Use

  • Non-trivial features, refactors, or bug fixes
  • Unfamiliar or large codebases
  • Tasks where incorrect code is costlier than slow code
  • When previous direct-implementation attempts have failed

When NOT to Use

  • Single-line fixes, typos, or trivial changes
  • Tasks where you already have full context and a clear path
  • Exploratory prototyping (use RPI when hardening the prototype)

Workflow

Copy this checklist and track progress:

- [ ] Phase 1: Research (FAR validated)
- [ ] Phase 2: Plan (FACTS validated)
- [ ] Phase 3: Implement (verified)

Phase 1: Research

Goal: Explore the codebase, find the right files. Make ZERO modifications.

Use sub-agents (Task tool with Explore type) to read broadly without polluting the main context. Sub-agents return only compressed facts.

Research Outputs

For each finding, record:

  • File path and line number(s)
  • What exists there (function signature, data structure, pattern)
  • Why it matters to the current task

FAR Validation Gate

Every finding must pass all three:

CheckQuestionFail Example
FactualIs this from actual code, not assumption?"There's probably a config file somewhere"
ActionableDoes it include specific file path + line number?"The auth module handles this"
RelevantIs it directly related to the task?Documenting unrelated utility functions

Template for research summary:

## Research Findings for: {task description}

### Finding 1: {short title}
- **File**: `src/auth/middleware.ts:42-67`
- **What**: `validateToken()` checks JWT expiry and role claims
- **Why**: We need to extend this to support API key auth

### Finding 2: {short title}
- **File**: `src/types/auth.ts:15-23`
- **What**: `AuthContext` interface defines `user`, `token`, `roles`
- **Why**: Must add `apiKey` field here

### FAR Check
- [x] All findings reference actual code with paths and line numbers
- [x] No assumptions or guesses included
- [x] Every finding directly relates to the task

Do NOT proceed to Phase 2 until FAR passes.


Phase 2: Plan

Goal: Produce a step-by-step plan where each step has code-level specificity.

A plan without code snippets is just a "feeling" -- it has no execution power.

Plan Structure

For each step:

### Step N: {action verb} + {what}

**File**: `path/to/file.ts:line-range`
**Change**: {precise description of what to add/modify/remove}
**Code sketch**:

// Before (current): function validateToken(token: string): AuthContext { ... }

// After (planned): function validateAuth(credential: string | ApiKey): AuthContext { ... }


**Verify**: {how to confirm this step succeeded} **Scope**: Changes ONLY `validateToken` signature and body. Does NOT touch callers yet.

FACTS Validation Gate

Every step must pass all five:

CheckQuestionFail Example
FeasibleCan this be done in the current environment?"Migrate to a new framework" mid-task
AtomicDoes it do exactly one thing?"Update auth and refactor tests"
ClearAre file names, line numbers, and code snippets present?"Update the relevant files"
TestableIs there a concrete verification step?"Make sure it works"
ScopedIs it clear what changes and what doesn't?No mention of boundaries

FACTS checklist:

### FACTS Validation
- [ ] F: Every step is achievable in current environment
- [ ] A: Each step has exactly one objective
- [ ] C: Every step has file path, line numbers, and code sketch
- [ ] T: Every step has a specific verification command or check
- [ ] S: Every step states what it changes AND what it leaves untouched

Do NOT proceed to Phase 3 until FACTS passes.

Present Plan to User

After FACTS validation, present the plan for human review. The plan is the primary review artifact -- it's far more efficient to review a plan than to review generated code.


Phase 3: Implement

Goal: Execute the validated plan with minimal context pressure.

Execution Rules

  1. Follow the plan step by step -- do not improvise or "improve" beyond scope
  2. One step at a time -- complete and verify each step before the next
  3. Use sub-agents for independent steps -- keep main context lean
  4. Verify after each step -- run the verification defined in the plan

After Each Step

Step N: {title}
- Status: DONE / BLOCKED / MODIFIED
- Verification: {result of the verification step}
- Deviation: {none, or explain why plan was adjusted}

If a Step Fails

  1. Do NOT retry blindly -- diagnose why it failed
  2. Update the plan with new information
  3. Re-validate FACTS on the updated step
  4. If 3+ steps fail consecutively, STOP -- see Escalation below

Intent Compression

When the conversation becomes long or starts going off track (roughly 20+ turns):

  1. Stop all implementation work
  2. Summarize key research findings and plan state into a compressed format:
## Compressed Context for: {task}

### Validated Facts
- {fact 1 with file path and line number}
- {fact 2 with file path and line number}

### Plan Status
- Steps completed: {list}
- Current step: {N} - {status}
- Remaining: {list}

### Blockers
- {any unresolved issues}
  1. Start a new conversation with this compressed context

Better input produces better output. A fresh context with compressed facts outperforms a bloated context with noise.


Sub-Agent Strategy

Sub-agents are sharding tools, not personas. Use them to:

TaskAgent TypeReturns
Broad codebase readingExploreCompressed file/function map
Targeted searchExploreSpecific paths and line numbers
Independent implementation stepsBash or general-purposeStep completion status
Test executionBashPass/fail with output

Rules:

  • Sub-agents do the heavy reading; main agent does the reasoning
  • Sub-agents return compressed facts, not raw file contents
  • Never let main context absorb entire files when a sub-agent can extract the relevant lines

Escalation

When RPI plans repeatedly fail (3+ consecutive step failures), this signals that the task complexity exceeds what AI can handle with current context.

Action: Stop. Return to the whiteboard. The human must re-think the approach and break the problem down differently before re-engaging AI.

Do not brute-force through repeated failures -- that wastes context and produces bad code.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

32.43%
按下载量换算62

Claude

29.76%
按下载量换算57

Cursor

19.43%
按下载量换算37

Gemini CLI

9.52%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills