Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计未展示

brewcode%3aspecbrewcode 3aspec 搜索

Agent Skill

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

总安装

333

周安装

14

GitHub Stars

24

下载量

116
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/kochetkov-ma/claude-brewcode --skill brewcode:spec

简介

brewcode%3aspec 将自然语言需求转化为标准化任务描述与时间戳命名规范。

  • 适合统一团队任务命名与目录结构,自动生成 .claude/tasks/ 下的任务文件夹。
  • 支持从 TASK.md 或参数中提取路径,结合 -n 标志实现无人值守模式。
  • 输出包含任务元数据、阶段划分与知识注入的完整规格文档。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Input Handling

InputAction
$ARGUMENTS emptyRead .claude/TASK.md → first line = path → derive task dir
$ARGUMENTS has textUse as task description
$ARGUMENTS has pathRead file as task description

Flag Parsing

Parse $ARGUMENTS for flags BEFORE input detection:

FlagEffect
-n, --noaskSkip all user questions, auto-approve defaults

Strip flag from $ARGUMENTS. Remaining text = description or path.

Naming

  • Timestamp: YYYYMMDD_HHMMSS (e.g., 20260208_143052)
  • Name slug: lowercase, underscores, from description (e.g., auth_feature)
  • Task dir: .claude/tasks/{TIMESTAMP}_{NAME}_task/

Workflow

  1. Check Adapted Templates (REQUIRED FIRST) EXECUTE using Bash tool: test -f.claude/tasks/templates/SPEC.md.template && echo "SPEC.md.template" || echo "SPEC.md.template MISSING" STOP if MISSING — Run /brewcode:setup first.
  2. Read & Analyze Input

- Parse $ARGUMENTS per Input Handling table - Determine scope: files affected, areas of codebase - Identify what needs clarification

  1. Clarifying Questions (AskUserQuestion) If --noask: Skip. Record in SPEC User Q&A: "Skipped (--noask mode)". Infer scope from description and codebase analysis. Otherwise: Use AskUserQuestion tool to ask 3-5 questions, grouped in batches of up to 4 per AskUserQuestion call. Focus on: # Category Example Questions 1 Scope What's in/out? Which modules affected? 2 Constraints Required libraries? Backward compatibility? API contracts? 3 Edge cases / ambiguities Concurrent access? Empty/null inputs? Error recovery? Record all Q&A for the User Q&A section of SPEC.

2.5. Feature Splitting Check

After gathering requirements, evaluate scope:

IF requirements cover >3 independent areas OR estimated complexity >12 plan phases:
  → AskUserQuestion: "I suggest splitting into X tasks: [A], [B], [C]. Agree?"
  → If yes: create SPEC only for first task, record others in Notes section
  → If no: continue with full scope
  1. Partition Research Areas (5-10 areas) Analyze project and split into logical parts for parallel research: | Area | Pattern | Agent | |------|---------|-------| | Controllers | **/controllers/ | developer | | Services | **/services/ | developer | | DB/Repos | **/repositories/ | developer | | Tests | **/test/ | tester | | Config | *.yml, docker-* | developer | | Docs | *.md, docs/ | Explore | See references/SPEC-creation.md for detailed parallel research instructions.
  2. Parallel Research (ONE message, 5-10 agents) ONE message with 5-10 Task calls in PARALLEL Task(subagent_type="Plan", prompt="Analyze architecture...") Task(subagent_type="developer", prompt="Analyze services...") Task(subagent_type="tester", prompt="Analyze test patterns...") Task(subagent_type="reviewer", prompt="Analyze quality...") Task(subagent_type="Explore", prompt="Find library docs...") Agent prompt template: > **Context:** BC_PLUGIN_ROOT is available in your context (injected by pre-task.mjs hook). Analyze {AREA} for task: "{TASK_DESCRIPTION}" Focus: patterns, reusable code, risks, constraints Context files: {FILES_IN_AREA} Output: findings (bullets), assets (table), risks, recommendations NO large code blocks - use file:line references
  3. Consolidate into SPEC

- Create task directory: .claude/tasks/{TIMESTAMP}_{NAME}_task/ - Read .claude/tasks/templates/SPEC.md.template (project-adapted) - Merge agent findings (deduplicate) - Fill SPEC sections per Consolidation Rules in references/SPEC-creation.md - Write .claude/tasks/{TIMESTAMP}_{NAME}_task/SPEC.md - Include Research table with per-agent findings

  1. Present Key Findings (AskUserQuestion) If --noask: Skip validation. Auto-approve all findings. Otherwise: Use AskUserQuestion to validate with user: Incorporate user feedback into SPEC.

- Key architectural decisions made - Risk assessment and proposed mitigations - Any assumptions that need confirmation - Completeness check: "Does this cover everything?"

  1. Review SPEC (reviewer agent + fix loop) Task(subagent_type="reviewer", prompt="> **Context:** BC_PLUGIN_ROOT is available in your context (injected by pre-task.mjs hook). Review SPEC at {SPEC_PATH} Check: completeness, consistency, feasibility, risks Output: list of remarks with severity (critical/major/minor), specific fixes") Iteration loop: WHILE remarks.critical > 0 OR remarks.major > 0: 1. Fix all critical/major remarks in SPEC.md 2. Re-run reviewer MAX 3 iterations. After 3 rounds, present remaining remarks to user via AskUserQuestion. Exit criteria: No critical/major remarks remaining OR 3 iterations exhausted
Template source: Always from .claude/tasks/templates/ (project), never from plugin base templates directly.

Output

# Spec Created

## Detection

| Field | Value |
|-------|-------|
| Arguments | `{received args}` |
| Input Type | `{text description or file path}` |
| Noask | `{yes or no}` |

## Files Created
- SPEC: .claude/tasks/{TIMESTAMP}_{NAME}_task/SPEC.md
- Task Dir: .claude/tasks/{TIMESTAMP}_{NAME}_task/

## Next Step

> Copy the command below first, then clear context and paste it.

1. Clear context: type `/clear` and press Enter
2. Run (paste copied command):
\`\`\`
/brewcode:plan .claude/tasks/{TIMESTAMP}_{NAME}_task/
\`\`\`

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Codex

35.47%
按下载量换算41

Claude

32.69%
按下载量换算38

Cursor

18.07%
按下载量换算21

Gemini CLI

8.82%
按下载量换算10

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills