Skip to content

Add skill-authoring agent skill#10

Merged
richardwooding merged 1 commit into
mainfrom
add-skill-authoring-skill
Apr 28, 2026
Merged

Add skill-authoring agent skill#10
richardwooding merged 1 commit into
mainfrom
add-skill-authoring-skill

Conversation

@richardwooding
Copy link
Copy Markdown
Contributor

Summary

Adds a repo-local Claude Code skill at .claude/skills/skill-authoring/ that codifies the authoring discipline for agent skills:

  • progressive disclosure (metadata → instructions → resources)
  • ≤500-line SKILL.md files
  • domain-split references
  • scripts over prose for deterministic checks
  • specific third-person descriptions

Layout

  • SKILL.md — the entry point loaded when the skill triggers (96 lines)
  • references/patterns.md — common patterns and anti-patterns
  • references/review-checklist.md — review checklist for new/changed skills
  • scripts/lint_skill.py — deterministic structural lint (run vs. reasoning about structure in prose)
  • templates/SKILL.md.tmpl — starter template
  • templates/description-examples.md — good vs bad description examples

Origin

Mirrors the skill landed in SPANDigital/cel2sql (commit abbbfdd, PR #118), originally transferred from SPANDigital/ai#16. Now consistent across the cel2sql / pycel2sql / cel2sql4j family.

Test plan

  • Visual check: SKILL.md frontmatter (name, description) is well-formed and triggers on relevant prompts
  • python .claude/skills/skill-authoring/scripts/lint_skill.py .claude/skills/skill-authoring/ exits 0
  • Existing CI continues to pass (no source code touched)

🤖 Generated with Claude Code

Repo-local skill that codifies the authoring discipline for Claude Code
agent skills: progressive disclosure (metadata → instructions →
resources), ≤500-line SKILL.md, domain-split references, scripts over
prose for deterministic checks, and specific third-person descriptions.

Layout under .claude/skills/skill-authoring/:
- SKILL.md — the entry point loaded when the skill triggers
- references/patterns.md — common patterns and anti-patterns
- references/review-checklist.md — review checklist for new/changed skills
- scripts/lint_skill.py — deterministic structural lint
- templates/SKILL.md.tmpl — starter template
- templates/description-examples.md — good vs bad description examples

Mirrors the same skill landed in SPANDigital/cel2sql (commit abbbfdd,
PR #118) and originally transferred from SPANDigital/ai#16.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@richardwooding richardwooding merged commit a7db259 into main Apr 28, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant