跳到正文
cccskills
免费在 GitHub 公开

skill-authoring-lifecycle

Scaffold and formally review a new Agent Skill in this marketplace repo. Covers valid SKILL.md generation, directory layout, registry entries, and spec auditing. Use when adding a skill, validating frontmatter, or checking marketplace readiness before a PR.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(13)

  • SKILL.md7.3 KB
  • evals/cases/distribution-readiness-trigger.yaml578 B
  • evals/cases/infra-request-dormant.yaml387 B
  • evals/cases/install-existing-skill-dormant.yaml482 B
  • evals/cases/new-marketplace-skill.yaml450 B
  • references/benchmark-adoption.md16.1 KB
  • references/eval-case-schema.md1.8 KB
  • references/evals.md923 B
  • references/evaluation-research-2026-10.md8.2 KB
  • references/paired-dogfood-example.json1.1 KB
  • references/paired-dogfood.md10.7 KB
  • references/sources.md798 B
  • scripts/compare_dogfood.dart7.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Skill authoring lifecycle

Add, review, and validate an installable skill package under skills/ in the Skill Steward marketplace.

Follow work discipline. The former skill-eval-improve and skill-source-citations skills were removed in 0.6.0; this skill absorbs them. Evals are the cheapest check you will rerun (pnpm run validate, then pnpm run eval when routing behavior changed). Do not grow cases the edit will not run. Cite sources in references/sources.md. Two failed edits of the same skill with no new evidence means rewrite, compress, or delete it.

When to use

  • User wants a new skill in this repo
  • "Review this skill" or "Is this SKILL.md valid?"
  • Bootstrapping SKILL.md for npx skills compatibility
  • PR touches skills/*/SKILL.md

Phase 1: Creation Workflow

  1. Verify intent — Does the intent overlap with an existing skill? Merge into an existing skill if they serve the same high-level goal or are two halves of the same lifecycle (ADR 0016). If an AGENTS.md line plus the native validation gate already carries the rule, do not add a skill. Prefer compress or delete over a new package.
  2. Collect examples — Write 2–3 concrete user prompts that should trigger the skill and 1 prompt that should not. Skip only when the request already supplies clear usage patterns.
  3. Plan resources — Decide whether the skill needs instructions only, scripts/ for repeated or fragile operations, references/ for detailed knowledge, or assets/ for templates/static files.
  4. Choose a name — kebab-case, 1–64 chars, matches Agent Skills rules (see docs/STANDARDS.mdx).
  5. Create directory — skills/{name}/ (directory name must equal name in frontmatter).
  6. Copy template — from templates/skill/SKILL.md; replace placeholders.
  7. Write description — one concise block covering what and when (trigger phrases users say). Activation-critical routing belongs here, not only in a body "When to use" section.
  8. Cite sources — create references/sources.md from templates/skill/references/sources.md; add rows for every spec/repo/paper used.
  9. Write body — numbered steps, examples, output format; keep under 500 lines.
  10. Evals — T1 behavior-critical skills (see STANDARDS): references/evals.md + ≥2 evals/cases/*.yaml. Others: optional evals.md.
  11. Optional metadata — add agents/openai.yaml only when Codex app UI metadata, invocation policy, or tool dependencies are useful.
  12. Optional resources — create only the needed scripts/, references/, and assets/ directories; delete placeholder resources.
  13. Register skill:
  • Add skill id to skills.sh.json using the current repo schema.
  • Add row to root README.md skill table.
  1. Forward-test tricky skills — For broad or fragile workflows, use a fresh subagent/thread with a natural user prompt and raw artifacts. Do not leak the intended answer, suspected bug, or planned fix into the validation prompt.

Frontmatter template

---
name: {same-as-directory}
description: {capability + trigger phrases, 20-1024 chars}
license: MIT
type: governance
metadata:
  author: skill-steward
  version: "1.0.0"
  category: {marketplace|multi-agent|...}
---

Phase 2: Review & Audit Checklist

Review a skill package before merge or publish to skills.sh.

Skill Cohesion

  • Complete lifecycle: The skill covers a complete journey (e.g., creating + validating) rather than forcing an agent to switch tools mid-task.
  • Mechanics included: Abstract rules or culture guidelines are bundled alongside the mechanical tools that enforce them.

Structure

  • Directory name is kebab-case and matches name in frontmatter
  • File is exactly SKILL.md (case-sensitive)
  • No README.md inside the skill folder (use references/)

Frontmatter

  • name: 1–64 chars, [a-z0-9-], no leading/trailing -, no --
  • description: 1–1024 chars, states capability and when to activate
  • license set if not repo MIT
  • metadata.version and metadata.author
  • compatibility if skill needs git, network, docker, or a specific product
  • agents/openai.yaml present only when Codex-specific UI/policy/dependency metadata is useful

Body

  • Clear numbered workflow
  • Under ~500 lines (or split to references/)
  • Relative file links one level deep
  • references/sources.md with URLs for external claims
  • Install command documented: npx skills add arenukvern/skill_steward --skill <name>

Distribution Readiness

  • Skill can run from a copied directory without relying on repo-relative paths outside its own package unless those paths are explicitly documented
  • Agent-specific assumptions are isolated to optional metadata or references, not baked into the core workflow
  • If the skill may be bundled inside a product plugin, the product repo owns the copy/init script and host manifests; the skill remains canonical in skills/{name}/
  • Marketplace or plugin-readiness language distinguishes skills-only install, local copy/init scripts, host manifests, and public marketplace submission proof
  • Vendor-specific claims cite current Codex, Cursor, Claude, Zed, or npx skills sources in references/sources.md

Scripts (if present)

  • Shebang present (bash or node)
  • set -euo pipefail for bash
  • stderr for logs, stdout for machine-readable output
  • Representative scripts were actually run, or skipped with a recorded reason

Registry (this repo)

  • Skill id in skills.sh.json
  • Row in root README.md table
  • pnpm run validate passes (no sources.md warning)
  • T1 behavior-critical: evals/cases/*.yaml + pnpm run eval

Phase 3: Deprecation & Renaming (Changesets)

We do not keep permanent "tombstone" skills, as they clutter the repository. Instead, we treat skill renames and merges as breaking API changes and communicate them using standard ecosystem tooling (Changesets).

When renaming or merging a skill:

  1. Safely rm -rf the old skill directory.
  2. Remove the old skill from skills.sh.json and README.md.
  3. Generate a changeset (pnpm changeset) documenting the deletion, or manually create a .changeset/skill-consolidation.md file. Explain clearly why it was removed and which skill replaces it.
  4. Agents and users reading the changelog will automatically see the redirection.

Output format for Reviews

Report as:

## Summary
{pass | needs changes}

## Errors (blocking)
...
## Warnings
...

Install

npx skills add arenukvern/skill_steward --skill skill-authoring-lifecycle

Sources

See references/sources.md. When researching, follow skill-authoring-lifecycle.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Design, implement, and integrate generalized validation harnesses across a producer-consumer boundary after a local harness contract exists. Use when refactoring custom validation CLIs/MCPs for large polyrepos, extending Steward across sibling repos, or deploying a local tool to a consumer project for dogfooding and testing.

中文简介正在准备中。当前显示原文说明。

Arenukvern/skill_steward112026年10月18日 更新

Plan and document handoffs, parent lane contracts, and parallel batch contracts between specialized AI agents (foreman, workers, reviewers). Use for multi-agent workflows, subagents, original goal preservation, native gates, claim ceilings, terminal states, baton passes, or guild-style agent coordination.

中文简介正在准备中。当前显示原文说明。

Arenukvern/skill_steward112026年10月18日 更新

Chooses ecosystem-native release and changelog tooling (Changesets, Melos, release-plz) plus binary distribution (GitHub Release tarballs, install.sh) when the product is an executable. Use for release CI, install.sh, versioning, CHANGELOGs, shipping MCP/CLI without clone, or meta repos that only ship skills via npx skills—not domain app tutorials.

中文简介正在准备中。当前显示原文说明。

Arenukvern/skill_steward112026年10月18日 更新

Establish or audit an agent-operated repository's quality contract or recurring stewardship friction. Skip routine repairs with a known owner and native check. Use for charter/docs ownership, validation gates, evidence paths, maturity proof, consumer/producer boundaries, command-surface evolution, or a repo ecology pass to decide what should be compressed, merged, retired, or moved to checks.

中文简介正在准备中。当前显示原文说明。

Arenukvern/skill_steward112026年10月18日 更新

Master orchestration for repository governance, North Star impact, sub-Star boundaries, and repair-first or evidence-first drift checks. Guides an agent through the complete lifecycle of making architectural decisions, documenting them, writing FAQs, and cleaning up stale plans while adhering strictly to repo ethics and brand tone. Use whenever you need to make a structural change, write an ADR, update the doc lattice, or govern repository architecture.

中文简介正在准备中。当前显示原文说明。

Arenukvern/skill_steward112026年10月18日 更新

Replace with what this skill does and when to use it. Include trigger phrases users say, e.g. "audit my API", "scaffold a skill"; activation-critical routing belongs here.

中文简介正在准备中。当前显示原文说明。

Arenukvern/skill_steward112026年10月18日 更新

查看 Arenukvern 的全部技能

报告此技能的问题