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

spec-execution规范执行

Agent Skill

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

总安装

642

周安装

27

GitHub Stars

4,508

下载量

225
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/epicenterhq/epicenter --skill spec-execution

简介

spec-execution 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 了解具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 当前归类为研究检索类技能,适用于信息探索与筛选场景。

SKILL.md

Spec Execution

When handed a specification document (a specs/*.md file), execute it methodically in waves. Each wave produces working code, an updated spec, and a commit. The goal is a clean git history where each commit represents a coherent unit of progress against the spec.

When to Apply This Skill

Use this pattern when you need to:

  • Implement a specs/*.md plan end-to-end in structured waves.
  • Decide which spec tasks run in parallel vs sequentially.
  • Update spec checkboxes and implementation notes after each wave.
  • Commit code changes together with spec progress for every wave.
  • Finish execution by setting spec status and adding a review section.

The Execution Loop

READ SPEC
    ↓
PLAN WAVES (which tasks are parallel vs sequential?)
    ↓
┌─── WAVE N ──────────────────────────────────────┐
│  1. Execute tasks (sub-agents for ALL tasks)     │
│  2. Verify (type-check, tests if applicable)     │
│  3. Update spec (check off items, add notes)     │
│  4. Commit (code changes + spec updates)         │
└──────────────────────────────────────────────────┘
    ↓
REPEAT until spec is complete
    ↓
FINAL REVIEW (update spec status, add review section)

Phase 1: Read and Understand

Before touching any code:

  1. Read the entire spec — understand the full scope before planning
  2. Identify the implementation phases from the spec's Implementation Plan section
  3. Map dependencies — which tasks block others? Which are independent?
  4. Check the spec's Open Questions — resolve what you can, flag what needs human input

If the spec has unresolved Open Questions that block implementation, surface them immediately. Don't guess on architectural decisions.

Phase 2: Plan Waves

Break the spec's implementation plan into execution waves. A wave is a set of changes that can be made together without breaking anything.

Deciding Parallel vs Sequential

Every task runs in a sub-agent regardless. The question is only whether sub-agents run concurrently or one-at-a-time.

ConditionOrdering
Tasks touch different files/modulesParallel
Task B imports from Task A's outputSequential (A before B)
Tasks modify the same fileSequential (avoid conflicts)
Tasks are in different spec phasesSequential (phase order)
Tasks within a phase are independentParallel

Wave Planning Checklist

Before executing, write out your wave plan:

Wave 1: [Foundation — types and interfaces]
  - Task 1.1 (parallel with 1.2)
  - Task 1.2 (parallel with 1.1)

Wave 2: [Core logic — depends on Wave 1 types]
  - Task 2.1 (sequential — modifies shared module)
  - Task 2.2 (after 2.1 — uses its exports)

Wave 3: [Integration — consumers of Wave 2]
  - Task 3.1 (parallel with 3.2)
  - Task 3.2 (parallel with 3.1)

Present this plan to the user before executing. Get a thumbs up.

Phase 3: Execute Waves

For each wave:

1. Execute Tasks

Every task gets its own sub-agent. This is non-negotiable. Sub-agents exist to scope context — each one sees only what it needs for its task, which produces better results than a single agent juggling everything. Parallelism is a bonus, not the reason for sub-agents.

  • Independent tasks: Launch sub-agents in parallel. Each gets a focused prompt with only the context it needs — the relevant spec section, the files to modify, and the patterns to follow.
  • Dependent tasks: Launch sub-agents sequentially. Wait for one to complete before launching the next. The second agent gets the output/context from the first.
  • Keep changes minimal: Each task should do exactly what the spec says. No bonus refactors, no "while I'm here" improvements.

2. Verify the Wave

After all tasks in a wave complete:

bun run tsc --noEmit          # type-check
bun test                       # if tests exist for changed code

If verification fails, fix issues before proceeding. Don't carry broken state into the next wave.

3. Update the Spec

Check off completed items in the spec's Implementation Plan:

- [x] **1.1** Add IconDefinition type ← was [ ], now [x]
- [x] **1.2** Add CoverDefinition type
- [ ] **2.1** Update factory functions  ← not yet

If implementation deviated from the spec (it often does), add a note:

- [x] **1.1** Add IconDefinition type
  > **Note**: Used discriminated union instead of enum as originally planned.
  > Rationale: better type narrowing in consumers.

If you discovered something during implementation, add it to the spec's Research Findings or Edge Cases section.

4. Commit the Wave

Each commit includes BOTH the code changes AND the spec updates. This means every commit in the history shows what was planned and what was actually done.

Follow git and incremental-commits skill conventions:

feat(scope): wave description — what this wave accomplishes

- Completed spec items 1.1, 1.2
- [Any notable deviations or discoveries]

Stage specific files — never git add. or git add -A.

Phase 4: Final Review

After all waves complete:

  1. Update spec status from "In Progress" to "Implemented"
  2. Add a Review section at the bottom of the spec:
## Review

**Completed**: [Date]
**Branch**: [branch-name]

### Summary

[2-3 sentences on what was built and how it differs from the original plan]

### Deviations from Spec

- [What changed and why]

### Follow-up Work

- [Anything discovered during implementation that should be a future spec]
  1. Final commit with the review section added

Sub-Agent Prompts

Every task — parallel or sequential — runs in a sub-agent. The primary agent orchestrates: it plans waves, launches sub-agents, verifies results, updates the spec, and commits. It does not implement code directly.

When spinning up sub-agents, each agent needs:

  • The specific spec section it's implementing (not the whole spec)
  • The files it should read before making changes
  • The files it should modify (and only those files)
  • The patterns to follow (reference relevant skills)
  • What NOT to do — stay in lane, don't touch other files

Keep sub-agent prompts focused. A sub-agent that knows too much will try to do too much.

When Things Go Wrong

SituationResponse
Type-check fails after a waveFix before committing. Don't carry broken state.
Sub-agent made changes outside its scopeRevert the out-of-scope changes. Keep only what was asked for.
Spec item is ambiguous mid-implementationStop. Ask the user. Add clarification to the spec.
Discovery invalidates a later spec phaseUpdate the spec's plan. Inform the user. Re-plan remaining waves.
Tests failFix the tests or the code. Update spec if the test failure reveals a spec gap.

Anti-Patterns

Execute Without Planning

"Let me just start implementing..."

No. Read the spec. Plan waves. Get approval. Then execute.

Giant Wave

Wave 1: Implement everything in the spec

If a wave touches more than 5-8 files, it's too big. Break it down.

Spec Drift

Code diverges from spec but spec is never updated

The spec is a living document. Every commit should leave the spec accurate to what was actually built.

Over-Parallel

Wave 1: 12 sub-agents all running at once

More than 3-4 parallel sub-agents gets chaotic. Group related tasks and keep parallelism manageable.

Quick Reference

Before starting:

  • Read entire spec
  • Identify phases and dependencies
  • Plan waves (parallel vs sequential)
  • Present plan to user

For each wave:

  • Execute tasks (every task in a sub-agent)
  • Verify (type-check, tests)
  • Update spec (check items, add notes)
  • Commit (code + spec together)

After all waves:

  • Update spec status to Implemented
  • Add Review section
  • Final commit

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.86%
按下载量换算76

Claude

32.57%
按下载量换算73

Cursor

17.17%
按下载量换算39

Gemini CLI

8.69%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills