Token导航 LogoToken导航

Agent Skill · 开发

specmgr(specmgr 命令行)

specmgr 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

specmgr 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 16,306。

总安装 514周安装 21GitHub Stars 公开资料未说明下载 165核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/gclayburg/agent-skills --skill specmgr

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

specmgr 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适用于开发类任务中对仓库状态和协作事项的集中管理。使用 npx skills add 命令从指定仓库安装并使用。安装前应评估权限、维护状态及是否触发命令执行或文件读写。

specmgr 属于开发类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/specmgr

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

specmgr 怎么安装?

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

specmgr 支持哪些 AI 工具?

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

specmgr 需要什么权限?

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

specmgr 是免费的吗?

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

specmgr 用的人多吗?

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

specmgr 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

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

先想清楚的地方

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

适不适合你

更适合

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

不太适合

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

开发类 Skill 对比

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

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
specmgr

specmgr 命令行 · 本页

514—只读未明确有提醒

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

SKILL.md 原文

Spec-Driven Development Workflow Manager

Individual *-spec.md files are treated as the specification for each feature—they define what the feature is and what it must do. These specification files are the authoritative ("canonical") source of requirements for their parts of the application.

  • All spec files that are created from other raw report documents should reference those documents in the title header of the spec
  • When writing a new spec, review the existing specs in the specs/ directory and identify any that are clearly superseded by your new specification. List only the directly superseded (first-level) specs.

Workflow 1: Create DRAFT Spec

Triggers: "create a DRAFT spec from...", "write a spec for...", "draft spec..."

Before writing the spec

  1. Read all input/reference files first
  2. Read all files matching *-spec.md in the project's specs/ directory; newer specs take priority over older ones
  3. Check specs/README.md for the existing spec index

STOP: Ask clarifying questions

Do NOT proceed to writing the spec until this step is complete.

Present your questions to the user about:

  • Anything that needs clarification in the input
  • Any incompatibilities found with existing specs
  • Recommendations or design choices you see

Wait for the user's answers before writing the spec document.

Naming convention

  • Filename format: specs/<name>-spec.md
  • The <name> portion is derived from the input file or feature name (e.g., featurereport74.md → specs/featurereport74-spec.md) New specs should NOT have a date in the filename.

Spec template

Include the following fields at the top of every DRAFT spec:

## Title

- **Date:** `<ISO 8601 format with seconds, America/Denver timezone>`
- **References:** list of `<other-raw-report-path.md>` or `<none>`
- **AgentTestPlan:** `<path-to-agent-test-plan.md>` or `none`
- **Supersedes:** list of `<other-spec-file.md>`
- **Chunkplan:** `<path-to-chunkplan.md>` or `none`
- **Chunked:** `true` or `false`
- **State:** one of these valid values: `DRAFT`, `IMPLEMENTED`, `VALIDATED`

Header field commit contract

The header fields above are the authoritative list of files that define the spec These files must be added to any worktree used for implementation.

Setting the Chunked: field

  • Set to true if the spec should be broken into a chunk plan before implementation. Set to false if it can be implemented in a single pass.
  • Consider true when: the spec touches many files across different subsystems, requires multiple independent features or phases, has complex test strategy spanning several areas, or would exceed what an agent can reliably implement and test in one session.
  • Consider false when: the changes are mechanical/uniform (e.g., same pattern applied across many call sites), the scope is limited to one subsystem, or the spec is a straightforward bug fix.
  • This is a recommendation for the human reviewer — the chunk plan is not created until after review.

Root cause analysis

If the raw issue is a bug or something broken, perform a root cause analysis and include that in the spec.

Companion agent test plan

Always create a companion agent test plan file alongside the spec: <spec-basename>-agent-test-plan.md (e.g., condense-build-header-spec.md → condense-build-header-agent-test-plan.md). The agent test plan must contain concrete CLI commands that an agent can execute to verify the implementation works end-to-end against the real tool and environment. Link the agent test plan from a ## Agent Test Plan section at the end of the spec (before the ## SPEC workflow section), AND record its path in the spec header's AgentTestPlan: field so implement-spec.sh commits it with the spec.

Agent test plan guidelines

The point of an agent test plan is to validate that once a spec is implemented, that all the components exist together as part of a coheseive whole. e.g.

  • website (if any) can start up without errors
  • expected website content is visible
  • cli tool (if any) can run with options modified under spec
  • execute basic functionality against known external data according to the spec

A test plan is not:

  • a substitute for a unit test
  • a substitute for an end to end test
  • a substitute for an integration test
  • a substitute for passing all CI/CD tests
  • a comprehensive test of everything changed in the spec

SPEC workflow section

Include the following verbatim at the end of every DRAFT spec:

## SPEC workflow

1. read `specs/CLAUDE.md` and follow all rules there to implement this DRAFT spec (DRAFT->IMPLEMENTED)

Superseded specs

When creating a new spec, identify any existing specs that are directly superseded by the new specification. List them in the Supersedes: field.


Workflow 2: Create Chunk Plan

Triggers: "create a plan from spec...", "chunk this spec...", "break down spec...", "create a chunk plan..."

Instructions

  1. Load the references/taskcreator.md file from this skill for the full decomposition methodology.
  2. Load the references/chunk-template.md file from this skill for the chunk format template.
  3. Follow all rules in references/taskcreator.md to decompose the spec.

Plan file naming

  • Plan files are named: specs/<spec-basename>-chunkplan.md (e.g., majorfeature47-spec.md → specs/majorfeature47-chunkplan.md)
  • Plan files are created in the specs/ directory (not specs/todo/), regardless of where the source spec file is located. Plans are ready-to-implement artifacts.
  • After the chunk plan file is written, update the parent spec's Chunkplan: field to reference the chunk plan file.

SPEC Workflow in plans

The SPEC Workflow block embedded in plans must use generic language:

  • "Run all unit tests" (do not hardcode a test runner command — the project's CLAUDE.md or specs/CLAUDE.md specifies the test runner)
  • "Commit and push" (do not hardcode a push command — the project's conventions apply)
  • "Update project documentation as specified in the project's CLAUDE.md or specs/CLAUDE.md"
Create Implementation log

All implementations will have an implementation log that is modifed as needed during implementation. Guidelines:

  1. after implementation: summarize files changed, key decisions, and anything notable learned during implementation
  2. Count compaction events (system-reminder summarizing prior conversation) that occured during implementation. If unknown, use 0.
  3. Record list of skills invoked with Skill tool during implementation, or NONE.

Location of Implementation log:

  • If implementing a DRAFT Spec not chunked, The implementation log should be created in a new section #### Implementation Log at the bottom of the spec file
  • If implementing a spec with a chunkplan, the chunk plan file is the live log destination during implementation — each chunk's notes go into its own #### Implementation Log subsection in the chunk plan
Existing test modification policy

When your implementation causes a pre-existing test to fail, you may fix it and continue — do not stop to ask. However:

  1. Determine spec backing first. Before changing an existing test, identify which section of the spec requires the behavioral change that invalidates the old test.
  2. If the spec backs the change: fix the test and log the change in the #### Implementation Log section.
  3. If no spec section backs the change: you still may fix it and continue, but you MUST log it with Spec Backing: None in the implementation log. These entries will be flagged for reviewer attention.
  4. What counts as modifying an existing test: changing assertions, expected values, fixture data, test domain names, or any other change whose purpose is to make a previously-passing test continue to pass under new behavior. Adding new test cases is not a modification.
  5. Never weaken a test to avoid a failure. Changing fixture data to sidestep new validation (e.g. removing a .com suffix so domain validation is never triggered) is weakening, not fixing. If the test was exercising a code path that your implementation changed, the test should still exercise that code path — with correct updated expectations.

Workflow 3: Implement DRAFT Spec (DRAFT → IMPLEMENTED)

Triggers: "implement DRAFT spec...", "implement spec..."

When implementing a DRAFT spec or bug fix, follow these steps in order.

3a Before writing code

  • Check for chunk plan if there is a chunk plan use Workflow 4 instead of this one
  • Check build status and confirm the last build is successful. Do not proceed if the build is setup but broken. It is ok if there is no build setup for this project yet.
  • Run all unit tests and confirm they pass. Do not proceed if there are existing tests but they are failing.

3b Implement the feature or fix

  • Write the code as described in the spec's Specification section.
  • Write or update unit tests as described in the spec's Test Strategy section.
  • Run all unit tests and confirm they pass (both new and existing).
  • Write implementation log notes in a new section #### Implementation Log. See #### Create Implementation log section above
  • Check if the spec references an agent test plan (look for a ## Agent Test Plan section or a companion *-agent-test-plan.md file). If one exists, execute the test plan and verify it is successful.
  • CI/CD gate — MANDATORY before marking IMPLEMENTED. The spec CANNOT be marked IMPLEMENTED unless the CI/CD build is confirmed GREEN (no failures). Follow this procedure:
  • Commit and push per the project conventions. Use a commit message starting with impl spec: <xyz.md> followed by a brief description.
  • Fix build errors Use buildgit skill to push your changes. Wait for the build to complete. Fix any errors shown. Repeat this step as necessary until the build is GREEN.
  • Run all Finalize steps in workflow 5 All steps in Workflow 5 must be executed, including workreview generation, changelog/spec updates, and state transition.

Workflow 4: Implement DRAFT Spec using chunk plan (DRAFT → IMPLEMENTED)

Triggers: "implement DRAFT spec with chunk plan...", "implement chunk X from chunk plan..."

Note: Even when asked to implement only "one chunk," if that chunk turns out to be the final incomplete chunk, Workflow 5 (Finalize) is mandatory immediately after 4b completes. Do not wait for a separate user instruction to finalize.

4a Before writing code

  • Check for chunk plan if there is no chunk plan, use Workflow 3 instead of this one
  • Run all unit tests NOW, before writing any code, and confirm they pass. This establishes the baseline. Do not proceed if tests are failing. If the test commands themselves are broken (e.g. missing tools, build infrastructure failures, repository configuration errors), do NOT skip tests and continue — this is a blocking failure. Output RALPH_BLOCKED=<reason> as the final line and stop.
  • Note the spec's AgentTestPlan: header field. If it is non-empty, you will execute that test plan during Workflow 5a. Record the path now so it is not forgotten when you reach finalization.

4b Per-Chunk Workflow (every chunk must follow these steps)

  • Write implementation log notes in a new section #### Implementation Log. See #### Create Implementation log section above
  • Implement the chunk as described in its Implementation Details section.
  • Write or update unit tests as described in the chunk's Test Plan section.
  • Run all unit tests and confirm they pass (both new and existing). The Existing test modification policy from Workflow 3b applies here as well.
  • Mark chunk complete Mark ONLY the one chunk you implemented as completed in chunkplan (change '- []' to '- [x]').
  • Commit and push per the project conventions. Use a commit message starting with chunk N/T: followed by a brief description.
  • Fix build errors Use buildgit skill to push your changes. Wait for the build to complete. Fix any errors shown. Repeat this step as necessary until the build is GREEN.
  • Check if this was the last chunk. Scan the Contents table in the chunk plan. If every chunk row is now [x], proceed immediately to Workflow 5 (Finalize) without waiting for further user instruction. Finalization is a mandatory part of the implementation — it is not a separate user request.

Blocking failure rule: Keep going and fix failures whenever the failure is plausibly connected to this spec, this chunk, an earlier completed chunk in the same chunk plan, or the spec's agent test plan. Do not classify a failure as "unrelated" merely because it appears outside the current chunk's narrow file list or named delta. Multi-chunk implementation is responsible for the integrated behavior of all completed chunks in the parent spec, especially during finalization. If a later test, Docker smoke, CI run, or agent test plan exposes a regression in behavior covered by the parent spec, previous chunks, or the implementation you just made, investigate and fix it in the same run; add tests when appropriate, rerun the failing gate, and record the fix in the Implementation Log.

Only use RALPH_BLOCKED for failures you genuinely cannot fix safely from the repository context, such as broken external infrastructure, missing credentials, unavailable required services, missing tools that cannot be installed, repository configuration errors, or a failure whose expected behavior is ambiguous enough that continuing would risk making an unsupported product decision. If you must block, do NOT output REMAINING_CHUNKS=n. Instead, output RALPH_BLOCKED=<brief reason> as the final line and stop immediately. Do not attempt the next chunk. If a chunk is abandoned due to RALPH_BLOCKED, still record the compaction count, skills used, and the concrete evidence that made the failure unfixable in the chunk's Implementation Log before stopping.

Workflow 5 Finalize Implementation

Use this workflow after Workflow 3 (single-pass) or after all chunks in Workflow 4 are complete. All Steps in Workflow 5 are MANDATORY when implementing a spec or a chunkplan. If any required finalize step cannot be completed, output SPEC_BLOCKED=<reason> and stop.

5a Run agent test plan (if present)

  • Check if the spec references an agent test plan (look for a ## Agent Test Plan section or a companion *-agent-test-plan.md file). If one exists, execute the test plan and verify it is successful.

5b Verify CI/CD build is green

  • CI/CD gate — MANDATORY before marking IMPLEMENTED. The spec CANNOT be marked IMPLEMENTED unless the CI/CD build is confirmed GREEN (no failures). Follow this procedure:

1. Check if the project has a buildgit skill installed (look for a SKILL.md in a skill/buildgit/ directory) and a configured build job (e.g. JENKINS_URL is set, or a Jenkinsfile exists). 2. If buildgit is available and a build job is configured: Run buildgit status (or equivalent) and verify the latest build result is SUCCESS with no test failures. If the build is failing, fix the issues and push again. Repeat until the build is GREEN. Do NOT proceed to mark the spec IMPLEMENTED while the build is broken. 3. If buildgit is NOT installed or no build job is configured: This is acceptable — note it in the #### Implementation Log section under ## CI/CD Verification Proceed to the next step.

5c Work review report —

  • Read the workreview skill — locate workreview/SKILL.md (commonly under .agents/skills/workreview/ or .claude/skills/workreview/ in the repo or user skills path) and follow it completely.
  • Run workreview — produce the implementation review report (default path: specs/done-reports/{spec-basename}-review.md.

If the workreview skill is missing from the environment, stop and report that as a blocking finalize failure — do not mark the spec IMPLEMENTED without the review artifact.

5d Update documentation and metadata

  • Update the spec file: Change its State: field to IMPLEMENTED and add it to the spec index in specs/README.md.
  • Handle referenced files: If the spec lists files in its References: header, move those files to specs/done-reports/ and update the reference paths in the spec accordingly.
  • Run any additional project-specific finalize steps as specified in the project's CLAUDE.md or specs/CLAUDE.md. This is the extension point where project-specific documentation updates, skill file updates, and custom push/CI commands are executed.

Spec State Machine

  • DRAFT: Spec written, not yet implemented.
  • IMPLEMENTED: Code written, tests passing, docs updated, and the workreview report from Workflow 5c is produced before the State: field is set to this value. This is the normal post-implementation resting state and it is acceptable for a spec or its chunks to remain here indefinitely until a human validation pass happens.
  • VALIDATED: Human has manually verified the implementation. Validation is a separate later step from implementation.

IMPLEMENTED → VALIDATED

  • Perform all manual testing to make sure the change does what it claims (human does this)
  • Mark the State: of the spec to VALIDATED
  • For chunked work, it is valid to move every completed chunk from IMPLEMENTED to VALIDATED in one later pass after the human verifies the integrated feature end-to-end. Do not require each chunk to be validated immediately after its implementation.

平台分布

Codex

37.2%
按下载量换算61

Claude

30.3%
按下载量换算50

Cursor

17.61%
按下载量换算29

Gemini CLI

8.69%
按下载量换算14

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

继续浏览同类 Skills