跳到正文
cccskills
免费在 GitHub 公开

skill-creator

Create new CFSA Antigravity skills following the kit's skill format. Handles brainstorming, SKILL.md generation, references, and MANIFEST.md registration.

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

集成工具PostgreSQL
查看安装方法

包含的文件(3)

  • SKILL.md6.9 KB
  • references/.gitkeep0 B
  • scripts/.gitkeep0 B

SKILL.md(原文)

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

Skill Creator

Create new skills for the CFSA Antigravity kit that follow the established format and quality standards.

When to Use

  • User wants to create a new skill for the kit
  • User wants to package domain knowledge into a reusable skill
  • User asks "create a skill for X" or "make a skill that does Y"
  • Extending the .claude/skills/ or .claude/skill-library/ directories

When NOT to Use

  • User wants to use an existing skill (just load the SKILL.md)
  • User wants to find a skill (use find-skills skill instead)

Skill Anatomy

Every skill lives in a directory under .claude/skills/ (installed, always available) or .claude/skill-library/ (catalog, provisioned per-project):

skill-name/
├── SKILL.md          # Required — the skill definition
├── references/       # Optional — supporting docs, templates, data
│   ├── patterns.md
│   └── examples.md
└── scripts/          # Optional — executable utilities
    └── validate.sh

SKILL.md Structure

---
name: skill-name
description: "One-line description of what the skill does and when to use it"
version: 1.0.0
source: self
date_added: "YYYY-MM-DD"
---

# Skill Title

[1-2 sentence overview of the skill's purpose and philosophy]

## When to Use
[Specific triggers — what user requests or situations activate this skill]

## When NOT to Use
[Explicit boundaries — prevents misapplication]

## [Core Content Sections]
[The actual skill knowledge, patterns, rules, examples]

## Anti-Patterns
[Common mistakes to avoid]

Creation Workflow

1. Define the Skill

Ask these questions (most can be inferred — only ask if genuinely ambiguous):

QuestionWhy
What domain does this cover?Determines skill-library placement (stack/surface/meta)
What triggers it?Defines the "When to Use" section
What should it NOT do?Defines boundaries — prevents scope creep
Is this installed or library?.claude/skills/ (always active) vs .claude/skill-library/ (provisioned)

Decision rules:

  • Cross-cutting concerns (planning, debugging, testing) → .claude/skills/
  • Tech-specific (React, PostgreSQL, Docker) → .claude/skill-library/stack/
  • Surface-specific (web perf, mobile UX, API design) → .claude/skill-library/surface/
  • Meta/tooling (git, MCP builders, tmux) → .claude/skill-library/meta/

2. Research the Domain

Before writing, gather authoritative reference material:

  1. Context7 — pull latest docs for relevant libraries/frameworks
  2. Official documentation — language specs, framework guides
  3. Established patterns — well-known architectural patterns, design principles
  4. Anti-patterns — common mistakes documented in the community

Do NOT copy content. Synthesize what you learn into original guidance.

3. Write the SKILL.md

Quality standards:

CriterionRequirement
Length100-500 lines (ideal: 200-300)
Code examplesReal, runnable, with context
Anti-patterns tableShow "Don't" / "Do" side by side
SpecificityNamed functions, typed examples, concrete values
Self-containedSkill works without reading external docs
FrontmatterAll required fields filled, source: self

Writing rules:

  • Imperative voice ("Use X", "Avoid Y") — not passive ("X should be used")
  • Concrete over abstract ("P95 < 200ms" not "fast responses")
  • Show code, not just describe it
  • Anti-patterns are as important as patterns — include both
  • One concept per section — if a section needs sub-sections, it's too big

4. Add References (If Needed)

Create references/ files when the skill needs:

  • Large lookup tables (error codes, status codes, patterns)
  • Template files that the skill references
  • Extended examples that would bloat the SKILL.md
  • Data files (JSON schemas, regex collections)

Keep references/ files focused — one topic per file, not a catchall.

5. Register in MANIFEST

If the skill goes in .claude/skill-library/, add it to MANIFEST.md:

| Category | Skill | Description | When to Provision |
|----------|-------|-------------|-------------------|
| stack/databases | postgresql | PostgreSQL patterns... | When project uses PostgreSQL |

If the skill goes in .claude/skills/, no registration needed — it's always active.

6. Validate

Before committing, verify:

  • SKILL.md has valid YAML frontmatter with all required fields
  • source: self is set (we own this content)
  • version: 1.0.0 is set
  • "When to Use" and "When NOT to Use" sections exist
  • Code examples are syntactically correct
  • No TODO, FIXME, or placeholder content
  • File is under 500 lines (move overflow to references/)
  • Skill name matches directory name (kebab-case)

Skill Placement Guide

.claude/skills/ (Installed Skills)

These load automatically for every project. Reserved for:

  • Pipeline workflow skills (ideation, spec-writing, planning)
  • Cross-cutting engineering skills (TDD, debugging, clean code)
  • Agent behavior skills (verification, planning, brainstorming)
  • Meta skills (skill-creator, find-skills, session-continuity)

.claude/skill-library/ (Library Skills)

Provisioned per-project based on tech stack. Organized by:

skill-library/
├── meta/           # Agent tooling (git, tmux, MCP builders)
├── stack/          # Tech-specific
│   ├── ai/         # AI/ML tools (langchain, openai)
│   ├── auth/       # Auth providers (clerk, authjs)
│   ├── databases/  # Databases (postgresql, redis, mongodb)
│   ├── frameworks/ # Frameworks (nextjs, sveltekit, fastapi)
│   ├── languages/  # Languages (typescript, python, rust)
│   └── ...
└── surface/        # Surface-specific
    ├── api/        # API design, versioning, caching
    ├── web/        # Web performance, SEO, accessibility
    ├── mobile/     # Mobile patterns, push notifications
    └── ...

Skill Quality Anti-Patterns

Don'tDo
Generic advice ("write clean code")Specific rules with examples
Wall of text with no structureTables, code blocks, clear sections
Copy-paste from external docsSynthesize into original guidance
1000-line SKILL.md200-300 line SKILL.md + references/
"See [external link] for details"Include the essential info inline
Describe patterns without showing codeEvery pattern gets a code example
Skip anti-patternsAnti-patterns are 50% of the value
Leave source as "community" or "unknown"Always set source: self for original work

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Audit and improve web accessibility following WCAG 2.1 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".

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

RepairYourTech/cfsa-antigravity62026年8月16日 更新

Structured methodology for adversarial thinking — generating attack scenarios, abuse cases, race conditions, and security edge cases against specs and implementations. Produces spec-level gap items, not code-level fixes.

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

RepairYourTech/cfsa-antigravity62026年8月16日 更新

Orchestrate multiple Antigravity skills through guided workflows for SaaS MVP delivery, security audits, AI agent builds, and browser QA.

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

RepairYourTech/cfsa-antigravity62026年8月16日 更新

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

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

RepairYourTech/cfsa-antigravity62026年8月16日 更新

Manage API versioning and evolution with URL/header/query strategies, deprecation workflows, breaking change classification, sunset headers, and consumer-driven contract testing. Use when designing versioning strategy, deprecating endpoints, or evolving API contracts.

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

RepairYourTech/cfsa-antigravity62026年8月16日 更新

Analyzes codebase structure, data flow, module relationships, and key patterns to generate and maintain a living architecture document (ARCHITECTURE.md).

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

RepairYourTech/cfsa-antigravity62026年8月16日 更新

查看 RepairYourTech 的全部技能

报告此技能的问题