Token导航 LogoToken导航

Agent Skill · 研究检索

code-assist(代码协助)

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

code-assist 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 43,896。

总安装 954周安装 41GitHub Stars 2,763下载 335核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/mikeyobrien/ralph-orchestrator --skill code-assist

这个 Skill 是做什么的

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

code-assist 引导实现基于测试驱动开发的任务流程。采用 Explore, Plan, Code, Commit 工作流,保持自动化与人工协作平衡。优先遵循现有包结构和编码规范,注重可读性与扩展性。需指定 task_description 和可选上下文信息以启动任务分解。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/code-assist

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

code-assist 怎么安装?

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

code-assist 支持哪些 AI 工具?

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

code-assist 需要什么权限?

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

code-assist 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

code-assist 用的人多吗?

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

code-assist 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 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调用外部服务未明确有提醒
code-assist

代码协助 · 本页

9542,763只读MIT通过

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

SKILL.md 原文

Code Assist

Overview

Guides implementation of code tasks using test-driven development in an Explore, Plan, Code, Commit workflow. Balances automation with user collaboration while adhering to existing package patterns and prioritizing readability and extensibility.

Parameters

  • task_description (required): Task specification, rough idea, file path to .code-task.md, or URL
  • additional_context (optional): Supplementary information for implementation context
  • documentation_dir (optional, default: ".sop/planning"): Directory for planning documents
  • repo_root (optional, default: current working directory): Repository root for code implementation
  • task_name (optional): Short descriptive name (auto-generated if not provided)
  • mode (optional, default: "auto"): "interactive" (confirmation at each step) or "auto" (autonomous execution)

Constraints:

  • You MUST ask for all parameters upfront in a single prompt to avoid repeated interruptions
  • You MUST validate inputs: normalize mode to "interactive"/"auto", verify paths, generate task_name if needed

Mode Behavior

Apply these patterns throughout all steps:

Interactive Mode: Present actions for confirmation. Explain pros/cons when multiple approaches exist. Ask clarifying questions. Pause at key decision points. Provide educational context.

Auto Mode: Execute autonomously. Document all decisions and reasoning in progress.md. Select the most appropriate approach and document why. Provide comprehensive summaries at completion.

Important Notes

Separation of Concerns: Documentation goes in {documentation_dir}. Code (tests and implementation) goes in repo_root. Never mix them. Documentation should guide implementation with high-level concepts — not provide it. When including code snippets in documentation, keep them brief and clearly label them as examples or references.

CODEASSIST.md Integration: If CODEASSIST.md exists in repo_root, read it and apply its constraints throughout.

Steps

1. Setup

Initialize the project environment and create necessary directory structures.

Constraints:

  • You MUST create {documentation_dir}/implementation/{task_name}/ (with logs subdirectory) and verify it exists before proceeding
  • You MUST discover instruction files (CODEASSIST.md, README.md, CONTRIBUTING.md, ARCHITECTURE.md, etc.) and summarize relevant information in context.md
  • You MUST create context.md (project structure, requirements, patterns, dependencies) and progress.md (execution tracking with markdown checklists)
  • If task_description points to a .code-task.md with YAML frontmatter, update status: in_progress and started: <date> (if not already set)
💬 See Mode Behavior for mode-specific interaction guidance

2. Explore Phase

2.1 Analyze Requirements and Context

Analyze the task description and existing documentation to identify core functionality, edge cases, and constraints.

Constraints:

  • You MUST produce a clear list of functional requirements and acceptance criteria, even from rough descriptions
  • You MUST determine appropriate file paths, language, and alignment with existing project structure
  • In interactive mode, discuss requirements with the user, clarify ambiguities, and validate your understanding
💬 See Mode Behavior for mode-specific interaction guidance
2.2 Research Existing Patterns

Search for similar implementations and identify interfaces, libraries, and components the implementation will interact with.

Constraints:

  • You MUST search the repository for relevant code, patterns, and conventions
  • You MUST create a dependency map and update context.md with implementation paths
💬 See Mode Behavior for mode-specific interaction guidance

3. Plan Phase

3.1 Design Test Strategy

Create test scenarios covering normal operation, edge cases, and error conditions.

Constraints:

  • You MUST cover all acceptance criteria with at least one test scenario
  • You MUST define explicit input/output pairs and save scenarios to plan.md
  • You MUST design tests that will initially fail (no mock implementations during design)
💬 See Mode Behavior for mode-specific interaction guidance
3.2 Implementation Planning & Tracking

Outline the high-level structure and create an implementation plan.

Constraints:

  • You MUST save the plan to plan.md with key implementation tasks
  • You MUST maintain an implementation checklist in progress.md using markdown checkbox format
  • In interactive mode, present multiple approaches with pros/cons and discuss trade-offs
💬 See Mode Behavior for mode-specific interaction guidance

4. Code Phase

Phase-wide constraints:

  • You MUST place all code (tests and implementation) in repo_root, never in documentation_dir
  • You MUST verify tests/builds pass before advancing to the next sub-step
  • You MUST follow the existing codebase's conventions (naming, patterns, error handling, testing style)
  • Pipe build output to {documentation_dir}/implementation/{task_name}/logs/ and search for success/failure indicators
4.1 Implement Test Cases

Write test cases following strict TDD principles.

Constraints:

  • You MUST implement tests for ALL requirements before writing ANY implementation code
  • You MUST execute tests to verify they fail as expected, documenting failure reasons
  • You MUST follow the testing framework conventions used in the existing codebase
💬 See Mode Behavior for mode-specific interaction guidance
4.2 Develop Implementation Code

Write implementation code to pass the tests, focusing on simplicity and correctness first.

Constraints:

  • You MUST follow the TDD cycle: RED → GREEN → REFACTOR
  • You MUST implement only what is needed to make current tests pass (YAGNI, KISS, SOLID)
  • You MUST execute tests after each implementation step to verify they pass
💬 See Mode Behavior for mode-specific interaction guidance
4.3 Refactor and Optimize

Review the implementation for simplification, improvement, and convention alignment.

Constraints:

  • You MUST verify all tests and builds pass before starting — fix any failures first
  • You MUST align implementation with surrounding codebase conventions (naming, structure, error handling, imports, logging)
  • You MUST maintain test-passing status throughout refactoring
💬 See Mode Behavior for mode-specific interaction guidance
4.4 Validate Implementation

Verify the implementation is complete and correct.

Constraints:

  • You MUST run the full test suite and build, verifying all pass
  • You MUST verify all implementation plan items are completed
  • You MUST NOT claim completion while any tests are failing
💬 See Mode Behavior for mode-specific interaction guidance

5. Commit Phase

Draft a conventional commit message and perform the git commit.

Constraints:

  • You MUST NOT commit until builds AND tests are verified passing
  • You MUST follow the Conventional Commits specification
  • You MUST NOT push to remote repositories
  • If task_description was a .code-task.md, update frontmatter to status: completed and completed: <date> before committing
  • Document the commit hash in progress.md
💬 See Mode Behavior for mode-specific interaction guidance

Desired Outcome

  • Complete, well-tested implementation meeting all requirements
  • Comprehensive test suite validating the implementation
  • Clean code following existing patterns, prioritizing readability, avoiding over-engineering
  • Implementation artifacts in {documentation_dir}/implementation/{task_name}/ (context.md, plan.md, progress.md, logs/)
  • Properly committed changes with conventional commit messages

Examples

Feature Implementation

Input:

task_description: "Create a utility function that validates email addresses"
mode: "interactive"

Expected Process:

  1. Check for CODEASSIST.md and discover instruction files
  2. Detect project type from existing files (pom.xml, package.json, etc.)
  3. Set up directory structure in.sop/planning/implementation/email-validator/
  4. Explore requirements and create context documentation
  5. Plan test scenarios for valid/invalid email formats
  6. Implement tests first (TDD approach)
  7. Implement the validation function
  8. Commit with conventional commit message

Troubleshooting

Directory/Permission Issues: Create directories if possible, inform user of permission issues, suggest alternatives.

Build Failures: Check CODEASSIST.md for guidance, verify correct directory, try clean builds, check dependencies.

Multi-Package Coordination: Verify dependency order, build in order, create separate commits per package.

Task File Frontmatter Issues: Skip frontmatter updates if missing/malformed. Don't fail the task due to frontmatter issues.

Implementation Challenges: Document in progress.md, propose alternatives. In interactive mode ask for guidance; in auto mode select the most promising approach and document the decision.

Artifacts

• {documentation_dir}/implementation/{task_name}/context.md — Workspace structure, requirements, patterns, dependencies, implementation paths • {documentation_dir}/implementation/{task_name}/plan.md — Test scenarios, implementation strategy • {documentation_dir}/implementation/{task_name}/progress.md — Execution tracking, TDD cycles, commit status, challenges • {documentation_dir}/implementation/{task_name}/logs/ — Build outputs

平台分布

Claude Code

27.67%
按下载量换算93

Antigravity

22.88%
按下载量换算77

OpenCode

17.55%
按下载量换算59

Gemini CLI

10.35%
按下载量换算35

Codex

7.13%
按下载量换算24

windsurf

3.07%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills