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

build-skill培养技能

Agent Skill

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

总安装

4,234

周安装

180

GitHub Stars

公开资料未说明

下载量

1,483
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/camacho/ai-skills --skill build-skill

简介

build-skill 通过并行运行三种方法在十步流程中构建或修订 AI 技能。

  • 适用于新技能开发或现有技能重构,强调基于证据而非直觉的设计原则。
  • 自动解析技能名称与作用描述,调用完整 pipeline 进行验证与输出。
  • 需明确传入参数格式,建议在模糊时发起一次澄清提问后再执行构建。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Build Skill

Build skills by running 3 competing approaches in parallel inside the full 10-step workflow pipeline.

Args

The args string is the skill specification. It should contain:

  • The skill name (required)
  • What the skill does, its modes/subcommands, and any context needed

Example: /build-skill audit-permissions — wraps a TypeScript analyzer, default mode runs report, reset mode archives logs

If args are vague, ask one clarifying question before proceeding. Don't over-interview.

Steps

Step 1 — Orient

Extract from args:

  • Skill name (first word or hyphenated phrase before any separator)
  • Skill purpose (everything else)
  • Scope: user-level (~/.claude/skills/) or project-level (.claude/skills/) — default user-level unless the spec mentions a specific project
  • Rules-encoding signal: does the spec describe governance rules, policies, or decision algebra? If YES, set RULES_ENCODING=true — this triggers policy algebra integration in Step 5.

Present a one-line brief: Building skill [name]: [purpose]. Scope: [user|project]-level.

Step 2 — Isolate

Check if already in a worktree (git rev-parse --git-dir shows .git inside .worktrees/).

  • Already in a worktree: proceed.
  • Not in a worktree: invoke /isolate to create one before writing any files.

Step 3 — Design

Invoke /brainstorming with the skill spec. One round only — skill specs are usually clear enough for a single pass. Do not recurse into multi-round brainstorming.

Output: confirmed spec + any refinements. Proceed to Step 4 immediately.

Step 4 — Review

Write a lightweight plan to ai-workspace/plans/build-skill-<name>.md:

  • Spec (from Step 1)
  • Approach: 3 parallel builders (native, superpowers, manual)
  • Expected output: final SKILL.md at target path

Invoke /plan-review with the technical-editor only, 1 round max. This is a skill document, not architecture — skip architect-reviewer and security-auditor.

Proceed to Step 5 on APPROVE. Revise plan and re-submit once on REVISE. Escalate to human if still blocked.

Step 5 — Build

This is where the parallel-build pattern runs.

Pre-build: Policy Algebra (if RULES_ENCODING=true)

If the skill encodes governance rules (detected in Step 1), invoke /policy-algebra in SHALLOW mode against the skill spec to generate a frozen Starlark block. This block becomes a contract that all 3 builders must honor:

  1. Run /policy-algebra <spec-file-or-inline> to produce the frozen block
  2. Append the frozen block to each builder agent's prompt: "The skill MUST include this exact frozen governance block in a ## Governance section. Do not modify the block."
  3. Record the block for post-build verification

If /policy-algebra fails or produces <2 invariants, skip algebra integration and proceed with normal build. Log a warning.

Create a unique working directory: SKILL_TMP=$(mktemp -d -t skill-compare-XXXXXX) then create $SKILL_TMP/{native,superpowers,manual}/ subdirectories. Then launch 3 background agents simultaneously via the Agent tool. Each gets the SAME spec but a DIFFERENT approach:

Agent 1 — "native-builder": Invoke skill-creator:skill-creator via the Skill tool, then follow its process. Write to $SKILL_TMP/native/SKILL.md.

Agent 2 — "superpowers-builder": Invoke superpowers:writing-skills via the Skill tool, then follow its structural guidance (skip live subagent pressure testing but follow CSO, token efficiency, frontmatter, and checklist). Write to $SKILL_TMP/superpowers/SKILL.md.

Agent 3 — "manual-builder": No skill-building guide. Write the SKILL.md using general best practices and intuition only. Write to $SKILL_TMP/manual/SKILL.md.

All agents must be told:

  • Write ONLY to their $SKILL_TMP/<approach>/SKILL.md path
  • Do NOT write to ~/.claude/skills/ or .claude/skills/
  • The skill spec (passed through verbatim from args)
  • Brief context on what a Claude Code skill is (YAML frontmatter with name + description, markdown body with instructions)

Compare results. Once all 3 complete, read all 3 files and score on these dimensions:

DimensionWhat to evaluate
DiscoverabilityDoes the description help Claude find it? Trigger-only (good) vs workflow summary (bad per CSO)?
ClarityCan Claude follow instructions unambiguously? Are steps numbered?
CompletenessAll modes covered? Edge cases? Troubleshooting?
Token efficiencyWord count vs information density. Target: <500 words for non-startup skills
ActionabilityConcrete actions vs vague guidance? Explicit guardrails for failure modes?

Present a comparison table with word counts, token costs, and per-dimension winners.

Synthesize. Cherry-pick the best elements from each approach into a final skill. For each element kept, note which approach it came from and why. Write the final skill to the target location:

  • User-level: ~/.claude/skills/<name>/SKILL.md
  • Project-level: .claude/skills/<name>/SKILL.md

Post-build: Drift Check (if RULES_ENCODING=true)

After writing the final synthesized SKILL.md, verify the frozen block survived synthesis:

  1. Run /policy-algebra --verify <final-skill-path> against the frozen block from pre-build
  2. Exit code 0 (MATCH): proceed to Step 6
  3. Exit code 1 (DRIFT): the synthesis mutated the governance block — re-inject the original frozen block and re-verify
  4. Exit code 2/3: log error, proceed without algebra (degraded mode)

Step 6 — Verify

Run pnpm validate to confirm no breakage. If the skill is project-level, also verify it appears in the skills list in the system reminder after writing.

Report final word count and what was taken from each approach.

Step 7 — Archive

Fill Outcomes & Learnings in ai-workspace/plans/build-skill-<name>.md. Invoke /archive to rename the plan to .done.md.

Step 8 — Ship

Invoke /ship — PR or local merge depending on session type.

Step 9 — Reflect

Invoke /reflect to consolidate learnings to MEMORY.md.

Policy Algebra Integration

When a skill encodes governance rules (detected by the RULES_ENCODING signal in Step 1), the build process integrates /policy-algebra to ensure rule fidelity:

Orient ──→ rules detected? ──YES──→ /policy-algebra SHALLOW
                │                         │
                NO                    frozen block
                │                         │
                ▼                         ▼
           normal build          inject into 3 builders
                                         │
                                         ▼
                                    synthesize
                                         │
                                         ▼
                                  /policy-algebra --verify
                                         │
                                    MATCH? → Step 6
                                    DRIFT? → re-inject + retry

Skills that do NOT encode rules skip this entirely — no overhead.

Known Patterns from Prior Runs

These patterns consistently emerge — use them to inform the merge:

  • Superpowers excels at: merge guardrails, CSO-compliant descriptions, cross-surface compatibility, explicit failure-mode prevention
  • Manual excels at: unique safety guardrails humans think of, natural "done" summary steps, concise structure
  • Native (skill-creator) excels at: comprehensive coverage, but tends to over-explain internals Claude doesn't need — trim aggressively
  • Your own judgment matters most for: token efficiency and cutting bloat

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.03%
按下载量换算505

Claude

30.17%
按下载量换算447

Cursor

18.91%
按下载量换算280

Gemini CLI

8.32%
按下载量换算123

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills