Skip to content
Back to skills

Agent Skill Design Skill

ASecurity

Meta-guidance for authoring new skills in this repo's own skill-based architecture — when a skill is warranted, how to scope it, and how to keep it independently useful.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
ai-agentsgojavagit

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned October 1, 2026

npx -y skills add sharmapuneet1510/awesome-prompts --skill skills --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Skill Design Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Skill Design Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sharmapuneet1510-agent-skill-design-skill/badge)](https://www.skillsdirectory.com/skills/sharmapuneet1510-agent-skill-design-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Agent Skill Design Skill
version: 1.1
description: >
  Meta-guidance for authoring new skills in this repo's own skill-based
  architecture — when a skill is warranted, how to scope it, and how to keep
  it independently useful.
applies_to: [meta, skill-authoring, agents]
tags: [meta, skill-design, agent-architecture]
---

# Agent Skill Design Skill — v1.1

## Quick Card

> Read this card first. Load a numbered section only when the task needs it.

| | |
|---|---|
| **Use when** | Authoring a new skill, or restructuring an existing one |
| **Skip when** | The guidance is specific to one feature — that belongs in its spec, not a skill |
| **Inputs** | The recurring pattern, the agents that will load it, `skills/README.md` index |
| **Produces** | `skills/<name>_skill.md` with frontmatter + Quick Card + numbered body + checklist |
| **Steps** | 1. Check the index for overlap → 2. Scope to one responsibility → 3. Write the Quick Card → 4. Body: principle → pattern → anti-pattern → checklist → 5. Register in the index |
| **Done when** | §5 checklist passes and the skill count matches everywhere the tests check |
| **Load on demand** | §1 warrant · §2 scope · §3 structure · §3a Quick Card spec · §4 testability |
| **Run report** | `html_report_skill` — adds: Overlap check · Registration |
| **Pairs with** | `html_report_skill` |

## 1. When a New Skill Is Warranted

Add a skill when there's a recurring pattern an agent needs to apply consistently across many tasks — not for a one-off. Ask:
- Will this guidance be reused across multiple, unrelated features/projects? (If it's specific to one feature, it belongs in that feature's plan/spec, not a skill.)
- Does it define *how* to do something (patterns, checklists, conventions), not *what* to build? Skills are reusable methodology; specs are per-feature requirements.
- Is there already a skill that covers this? Check `skills/README.md`'s index before creating a near-duplicate.

## 2. Scoping a Skill

- **One skill, one responsibility.** `error_handling_skill.md` covers error handling; it doesn't also cover logging conventions (that's `logger_skill.md`). If a skill's checklist starts covering two unrelated concerns, split it.
- **Language-agnostic where possible.** Prefer skills that state the principle once and show multiple language examples, over language-specific skills, unless the guidance is genuinely language-specific (e.g., `lombok_skill.md` only makes sense for Java).
- **Match this repo's existing frontmatter shape** (`name`, `version`, `description`, `applies_to`, `tags`) — the exporter and other tooling depend on this structure being consistent.

## 3. Structure of a Good Skill

- Numbered sections building from principle → pattern → anti-pattern → checklist.
- Concrete code examples over abstract prose — an agent applying the skill should be able to copy a pattern, not have to infer one from a description.
- A checklist at the end (✅ bullet list) — this is what an agent actually re-checks against before considering a task complete.
- Keep it self-contained: a reader should understand what the skill does, when to use it, and what it doesn't cover without reading other skills first.

## 3a. The Quick Card

Every skill opens, directly under its H1, with a `## Quick Card` table. It is
the part an agent reads on every load; the numbered body is loaded only when a
step needs it. That is the token saving — progressive disclosure, not shorter
prose.

| Row | Required | Rule |
|---|---|---|
| **Use when** | yes | The trigger, in one clause |
| **Skip when** | yes | The nearest case where another skill, or nothing, fits better |
| **Inputs** | yes | What the skill reads |
| **Produces** | yes | Artifacts, with paths where they are fixed |
| **Steps** | yes | 3–6 numbered verbs, joined by → |
| **Done when** | yes | A checkable condition, not "complete" |
| **Senior defaults** | coding skills | 4–6 advanced rules that matter most; each must agree with the body |
| **Load on demand** | yes | Section numbers → topic, so an agent can load one section |
| **Run report** | yes | `html_report_skill` plus the sections this skill adds, or "own HTML" |
| **Pairs with** | yes | Skills commonly loaded alongside |

Keep every cell under about 30 words. The card must not contradict the body; if
it does, the body wins and the card is the bug.

## 4. Independent Testability

Before adding a skill, check: could someone verify an agent followed this skill correctly just by reading its output, without also reading every other skill in the repo? If understanding compliance requires cross-referencing five other files, the skill's boundary is probably wrong — narrow it.

## 5. Checklist

✅ Confirmed no existing skill already covers this (checked skills/README.md)
✅ Skill has one clear responsibility
✅ Frontmatter matches the repo's existing convention
✅ Quick Card present under the H1, every required row filled, consistent with the body
✅ Content moves from principle to concrete pattern to checklist
✅ Skill is understandable and verifiable on its own, without requiring other skills as prerequisites
✅ Registered in skills/README.md's index after creation

---
> Inspired by ideas from [ai-boost/awesome-prompts](https://github.com/ai-boost/awesome-prompts) (GPL-3.0) — content rewritten, not copied. See `docs/reference/credits.md`.

Files in this skill

  • README.md10.2 KB
  • adr_skill.md8.4 KB
  • agent_skill_design_skill.md3.1 KB
  • apache_camel_skill.md15.5 KB
  • apache_pulsar_skill.md17.1 KB
  • ba_create_skill.md18.9 KB
  • backend_skill.md22.1 KB
  • code_documentation_skill.md13.4 KB
  • code_formatting_skill.md11.7 KB
  • code_health_skill.md9.8 KB
  • code_review_skill.md36.7 KB
  • context_builder_skill.md11.7 KB
  • current_tech_spec_skill.md6.3 KB
  • database_skill.md18.4 KB
  • debugging_skill.md3.4 KB
  • error_handling_skill.md18.4 KB
  • frontend_skill.md23.6 KB
  • java_advanced_skill.md15 KB
  • jira_html_report_skill.md15.5 KB
  • jira_incremental_spec_generator_skill.md19.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.