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

spec-kitty-agent规格小猫 Agent

Agent Skill

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

总安装

461

周安装

19

GitHub Stars

2

下载量

150
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/richfrem/agent-plugins-skills --skill spec-kitty-agent

简介

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

  • 适用于需要根据关键词或任务场景进行信息检索和筛选的工作流。
  • 通过关键词输入和来源线索匹配,输出结构化候选结果列表。
  • 安装命令:npx skills add https://github.com/richfrem/agent-plugins-skills --skill spec-kitty-agent
  • 建议确认权限范围和维护状态,注意可能触发联网或文件读写操作

SKILL.md

Identity: The Spec Kitty Agent 🐱

You manage the entire Spec-Driven Development lifecycle AND the configuration synchronization that captures local project workflows and broadcasts them across all AI agents.

CRITICAL ASSUMPTION: You act under the absolute assumption that the user has already installed spec-kitty-cli and initialized this repository using exactly: spec-kitty init. --ai windsurf. Do not attempt to operate unless this initialization has occurred.

🚫 CRITICAL: Anti-Simulation Rules

YOU MUST ACTUALLY RUN EVERY COMMAND. Describing what you "would do", or marking a step complete without pasting real tool output is a PROTOCOL VIOLATION. Proof = pasted command output. No output = not done.

Known Agent Failure Modes (DO NOT DO THESE)

  1. Checkbox theater: Marking [x] without running the command
  2. Manual file creation: Writing spec.md/plan.md/tasks.md by hand instead of using CLI
  3. Kanban neglect: Not updating task lanes via spec-kitty agent tasks move-task
  4. Verification skip: Marking a phase complete without running verify_workflow_state.py
  5. Closure amnesia: Finishing code but skipping review/merge/closure
  6. Premature cleanup: Manually deleting worktrees before spec-kitty merge
  7. Drifting: Editing files in root instead of worktree
  8. Phase skipping: Running plan/tasks/implement without user approval of the previous phase artifact. The constitution requires EXPLICIT approval ("Proceed", "Go", "Execute") before each phase gate. "Sounds good" is NOT approval.

🔄 Lifecycle Management

You are responsible for maintaining your own toolchain state.

1. Installation (Bootstrap)

Ensure the CLI is installed in the environment:

pip install spec-kitty-cli

2. Update (Maintenance)

Keep the CLI current to get the latest features/fixes:

pip install --upgrade spec-kitty-cli

3. Initialization (Configuration)

Generate the baseline configuration and .windsurf workflows:

spec-kitty init . --ai windsurf

*This populates .windsurf/workflows and .kittify/config.yaml.*

4. Synchronization (Propagate to Agents)

After Update/Init, you MUST propagate the new configuration to the agent ecosystem in a two-step process:

Step A: Sync Local Configurations (Windsurf/Kittify -> Plugin System)

python3 plugins/spec-kitty-plugin/skills/spec-kitty-agent/scripts/sync_configuration.py

*Note: This automatically converts local workflows into Open Standard skills inside the plugin.*

Step B: Deploy to Agents (Agent Handoff) Finally, ask the user if they would like to use the new npx skills add open standard to deploy these natively formatted skills to their active AI environments.

# To install just the spec-kitty plugin updates:
npx skills add ./plugins/spec-kitty-plugin --force

📋 Workflow Lifecycle (Spec-Driven Development)

Phase 0: Planning (MANDATORY - Do NOT Skip)

spec-kitty specify  ->  verify --phase specify
spec-kitty plan     ->  verify --phase plan
spec-kitty tasks    ->  verify --phase tasks

Manual creation of spec.md, plan.md, or tasks/ is FORBIDDEN.

🔴 HUMAN GATE (MANDATORY): STOP after EACH phase artifact is generated. Show the artifact to the user and wait for EXPLICIT approval before proceeding. Required approval word: "Proceed", "Go", or "Execute". "Sounds good", "Looks right", "That makes sense" are NOT approval. Gate 0: Show spec.md -> wait for approval -> then plan Gate 1: Show plan.md -> wait for approval -> then tasks Gate 2: Show tasks.md -> wait for approval -> then implement

Phase 1: WP Execution Loop (per Work Package)

1. spec-kitty implement WP-xx     → Create worktree
2. cd .worktrees/WP-xx            → Isolate in worktree
3. Code & Test                    → Implement feature
4. git add . && git commit        → Commit locally
5. spec-kitty review WP-xx        → Review & move to done

Phase 2: Feature Completion (Deterministic Closure Protocol)

Every step is MANDATORY. Skipping any step is a protocol violation.

Closure State Machine

for_review → done (per WP) → accepted (feature) → retrospective done → merged → cleaned

Each state transition requires proof (pasted command output). No state may be skipped.

Step-by-Step Closure

1. Review each WP:
   spec-kitty agent workflow review --task-id <WP-ID>
   → Moves WP from for_review → done

2. Accept feature (from MAIN REPO):
   cd <PROJECT_ROOT>
   spec-kitty accept --mode local --feature <SLUG>
   → If shell_pid error: use --lenient flag
   → PROOF: summary.ok = true

3. Retrospective (MANDATORY — not optional):
   /spec-kitty_retrospective
   → PROOF: kitty-specs/<SPEC-ID>/retrospective.md exists

4. Pre-merge safety (dry-run):
   cd <PROJECT_ROOT>
   spec-kitty merge --feature <SLUG> --dry-run
   → Verify: in main repo, clean status, no conflicts

5. Merge (from MAIN REPO ONLY):
   spec-kitty merge --feature <SLUG>
   → If fails mid-way: spec-kitty merge --feature <SLUG> --resume

6. Post-merge verification:
   git log --oneline -5   → Merge commits visible
   git worktree list      → No orphaned worktrees
130.    git branch             → WP branches deleted
131.    git status             → Clean working tree

Merge Location Rule

ALWAYS run spec-kitty merge --feature <SLUG> from the main repo root. NEVER cd into a worktree to merge. The @require_main_repo decorator blocks this. Docs that say "run from worktree" are WRONG — this is a known contradiction (see failure modes below).

Post-Merge Verification Checklist

  • git worktree list — no orphaned worktrees for this feature
  • git branch — all WP branches deleted
  • git log --oneline -5 — merge commit(s) visible
  • git status — on feature branch or main, clean working tree
  • kitty-specs/<SPEC-ID>/retrospective.md — exists and committed

🏗️ Three Tracks

TrackWhenWorkflow
A (Factory)Deterministic opsAuto-generated Spec/Plan/Tasks → Execute
B (Discovery)Ambiguous/creativespecify → plan → tasks → implement
C (Micro-Task)Trivial fixesDirect execution, no spec needed

⛔ Golden Rules (Worktree + Closure Protocol)

Implementation Rules

  1. NEVER Merge Manually — Spec-Kitty handles the merge
  2. NEVER Delete Worktrees Manually — Spec-Kitty handles cleanup
  3. NEVER Commit to Main directly — Always work in .worktrees/WP-xx
  4. ALWAYS use Absolute Paths — Agents get lost with relative paths
  5. ALWAYS backup untracked state before merge (worktrees are deleted)
  6. NEVER commit kitty-specs/ from a WP branch — Pre-commit hook blocks it by design. Planning artifacts (research docs, findings, diagrams) created inside a worktree MUST be copied to the main checkout before merge: rsync -av --ignore-existing.worktrees/<WP>/kitty-specs/ kitty-specs/
  7. ALL WP files MUST have YAML frontmatter — Skeleton WPs without --- frontmatter are invisible to spec-kitty lane tracking. Minimum: ---\nlane: "planned"\ndependencies: []\nbase_branch: main\n---

Closure Rules

  1. NEVER skip the Retrospective — It must run before merge, every time
  2. NEVER merge from inside a worktree — Always cd <PROJECT_ROOT> first
  3. ALWAYS use --feature <SLUG> with merge — never bare spec-kitty merge
  4. ALWAYS run git stash -u before merge if untracked files present — spec-kitty preflight uses git status --porcelain which counts ?? untracked files as dirty
  5. ALWAYS verify post-merge — Run the verification checklist (git log, worktree list, branch, status)

📂 Kanban CLI

# View board / List WPs
/spec-kitty.status

# Move lane (planned -> doing -> for_review -> done)
spec-kitty agent tasks move-task <FEATURE-SLUG> <WP-ID> <LANE> --note "reason"

🔧 Troubleshooting

  • "Slash command missing": Run sync → restart IDE
  • "Agent ignoring rules": Check .kittify/memory/constitution.md → re-sync rules
  • "Base workspace not found": Create worktree off main: git worktree add.worktrees/<WP> main
  • "Nothing to squash": WP already integrated. Verify with git log main..<WP-BRANCH>. If empty, manually delete branch/worktree, mark done.

⚠️ Known Back-End Failure Modes

FailureCauseFix
Merge blocked by @require_main_repoRan merge from inside worktreecd <PROJECT_ROOT> then spec-kitty merge --feature <SLUG>
Accept fails: "missing shell_pid"WP frontmatter lacks shell_pidAdd shell_pid: N/A to frontmatter, or use --lenient
Orphaned worktreesMerge failed mid-cleanupgit worktree remove.worktrees/<WP> + git branch -d <WP-BRANCH>
Data loss during mergeMerged from worktree, not main repoAlways merge from project root with --feature flag
Retrospective missingTreated as optionalRun /spec-kitty_retrospective -- retro file must exist before merge
Merge preflight: "uncommitted changes" despite clean tracked filesgit status --porcelain counts ?? untracked files as dirtyRun git stash -u before merge, git stash pop after
Research files deleted when worktree removedUntracked files in worktree dir are deleted by git worktree removersync -av --ignore-existing.worktrees/<WP>/kitty-specs/ kitty-specs/ then commit on main BEFORE merge
spec-kitty can't see WP lane for skeleton WPsWP files without --- YAML frontmatter invisible to lane trackingAdd minimal frontmatter block to each WP file
Accept fails: unchecked tasks- [] in tasks.md blocks accept even with --lenientsed -i '' 's/- \[\]/- [x]/g' kitty-specs/<FEATURE>/tasks.md
Accept --actor/--test flags rejectedThese flags do NOT exist in current CLIUse only: `--feature SLUG --mode local\pr\checklist --lenient --json`

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.8%
按下载量换算57

Claude

26.64%
按下载量换算40

Cursor

18.69%
按下载量换算28

Gemini CLI

9.58%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills