skill-authoring
Skill2 starsChanged 9 months agoApache-2.0View on GitHub
Encodes conventions for authoring SKILL.md files in .github/skills/<name>/: YAML frontmatter, required headings, issue linkage, governance metadata, and CI validation. USE FOR: creating or modifying reusable domain-specific skills; understanding skill vs agent distinction; packaging procedural knowledge for cross-agent use. DO NOT USE FOR: agent file authoring (use agent-file-authoring skill); creating new agents (use that skill first); general VS Code settings questions.
58 other projects use a version of this.
Adopted by
Most recently taken up by
- paulnsorensen/easy-cheesetheir own version, first seen Oct 3, 2026
- aprameyak/coding-skillstheir own version, first seen Oct 2, 2026
- microsoft/GitHub-Copilot-for-Azuretheir own version, first seen Oct 1, 2026
- theopenco/llmgatewaytheir own version, first seen Oct 1, 2026
- fusebase-dev/fusebase-flowtheir own version, first seen Oct 1, 2026
- kynn-dev/agent-skillstheir own version, first seen Sep 30, 2026
Used with
Projects with it also use observability, incident-response and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
OpenAISkillobservability
Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.
Also in 7 projects that use this
AnthropicSkillincident-response
Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution.
Also in 5 projects that use this
JohnJBorenSkillci-cd
CI/CD pipeline design, GitHub Actions, testing automation, and deployment strategies
Also in 3 projects that use this
jacobraskSkillknowledge-base
Manage your personal knowledge base of curated resources, bookmarks, and excerpts. Triggers include "knowledge base", "kb", "add to knowledge", "add tabs to", "what do I have on", "what do we know about", "find resources about". Use with safari-tabs skill for bulk ingestion from Safari windows. Location is ~/knowledge/.
Also in 3 projects that use this
UnitOneAISkillthreat-modeling
Runs a structured STRIDE threat model on any system design, API specification, or codebase. Auto-invoked when the user discusses architecture, shares a system diagram or design document, or asks "what could go wrong?" Produces threat actor profiles, component-threat matrix, a threat register with STRIDE classification, data-flow diagram template, trust boundary identification, and prioritized mitigations mapped to MITRE ATT&CK techniques.
Also in 3 projects that use this
ElasticSkillaccessibility
Accessibility guidance for Kibana. Use this skill when working with or reviewing EUI components, resolving a11y-related (@elastic/eui) ESLint issues, and ensuring proper use of ARIA attributes, focus management, keyboard interactions, and accessible naming conventions.
Also in 5 projects that use this
Other versions58 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 58
- nyldn/claude-octopus★ 4.2ksame name
- theopenco/llmgateway★ 1.7ksame name
- TencentCloudBase/CloudBase-AI-Toolkit★ 1.1ksame name
- spytensor/openmozi★ 423same name
- grafana/skills★ 276same name
- microsoft/GitHub-Copilot-for-Azure★ 253same name
- DAAF-Contribution-Community/daaf★ 236same name
- scitix/siclaw★ 235same name
- Azure/azure-sdk-tools★ 134same name
- notivn/AIEV★ 126same name
48 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository27 other files it gives its agents.
- adopt-test-2/AGENTS.mdAGENTS.md
- adopt-test-3/AGENTS.mdAGENTS.md
- adopt-test/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- {{cookiecutter.project_slug}}/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- .github/agents/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-file-authoringSkill
- conventional-commitSkill
- corpus-sweepSkill
- deep-research-sprintSkill
- delegation-routingSkill
- phase-gate-sequenceSkill
- prompt-archaeologySkill
- pr-review-replySkill
- pr-review-triageSkill
- rate-limit-resilienceSkill
- research-epic-planningSkill
- secondary-research-sprintSkill
- session-managementSkill
- session-retrospectiveSkill
- source-cachingSkill
- sprint-planningSkill
- transcript-extractionSkill
- validate-before-commitSkill
- workplan-scaffoldSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 9 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 52 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 35
Every skill file must open with YAML frontmatter:
- Distinctive: line 81
Every skill file must contain at least one of each:
- Distinctive: line 89
Discipline rule for Endogenous Sources section: Always encode:
- Distinctive: line 131
Extraction test: If a procedure in an agent body would benefit a *different* agent or tool without requiring that agent's posture or …
- Distinctive: line 170
Every skill file must contain at least one back-reference to the foundational document that governs it:
- Distinctive: line 215
Use this template structure for new skills:
- Distinctive: line 274
Before committing a new or modified skill:
- Distinctive: line 302
Do not add a skill without running the CI linter and passing all checks
- Distinctive: line 303
Do not introduce a procedure that is not grounded in an existing AGENTS.md principle or a prior-art pattern
“Common” is measured: kept by at least 6 in 10 of the 52 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SKILL.md Authoring
This skill enacts the Endogenous-First axiom from MANIFESTO.md: skills are re-encodings of documented procedures and patterns from AGENTS.md, not independent inventions.
Skills are tactical-layer knowledge artifacts that encode how a task is done. They sit beneath agents (who encode who does a task) and above session behavior.
1. File Naming and Location
- Location:
.github/skills/<skill-name>/SKILL.md - Slug format: kebab-case, lowercase, e.g.
deep-research-sprint,pr-review-reply,session-management - One skill per domain — do not combine multiple domain procedures into a single skill file
To create a new skill, create the directory .github/skills/<skill-name>/ and add a SKILL.md file.
You can copy an existing SKILL.md as a starting point — for example:
cp .github/skills/source-caching/SKILL.md .github/skills/<skill-name>/SKILL.mdThen update the frontmatter and sections according to the conventions in this document.
2. YAML Frontmatter
Every skill file must open with YAML frontmatter:
---
name: <skill name in kebab-case>
description: |
<Clear description of what this skill encodes — ≥25 characters>
USE FOR: [bullet list of appropriate use cases]
DO NOT USE FOR: [bullet list of what this skill explicitly excludes]
argument-hint: "usage hint shown in chat input box"
---Field requirements:
| Field | Required | Constraint |
name | Yes | Kebab-case, lowercase |
description | Yes | ≥ 25 characters, includes USE FOR / DO NOT USE FOR |
argument-hint | Optional | Brief input suggestion for the user |
Discipline fields (encode project governance):
---
name: deep-research-sprint
description: "Orchestrates ..."
# Optional — encode milestone/effort/applicability
tier: Foundation # Which milestone this skill applies to
type: research # Type: research | feature | scripting | automation | tooling | validation
effort: L # Effort for practitioner to execute: s/m/l/xl
applies-to: # Which agent roles use this skill
- Executive Researcher
- Research Scout
status: active # Status: active | beta | deprecated | blocked
requires: # Dependencies on other skills or tools
- name: source-caching
description: "Must cache sources before scouting"
---3. Required Sections
Every skill file must contain at least one of each:
| Category | Accepted heading variants | Purpose |
| Endogenous Sources | Endogenous Sources, Sources, Reference, Context | Declare governing axioms, link to issues/patterns, citation chain |
| Core Procedure/Workflow | Workflow, Steps, Procedure, How To | Define the task sequence |
| Quality-gate/Completion | Completion Criteria, Done When, Acceptance Criteria, Validation | State what "executed correctly" looks like |
Discipline rule for Endogenous Sources section: Always encode:
- The governing axiom this skill enacts (from
MANIFESTO.md) - The pattern or GitHub issue this skill implements (e.g.,
#45 Research: Product Definition) - Which agents and tools depend on this skill
- Citation chain to foundational documents
Example Beliefs & Context:
## Beliefs & Context
This skill enacts the *Endogenous-First* axiom from [`MANIFESTO.md`](../../../MANIFESTO.md) by encoding the complete research sprint workflow as a reusable procedure.
**Implements**: The research orchestration pattern from issue [#45 (Research: Product Definition)](https://github.com/EndogenAI/dogma/issues/45)
**Used by**:
- Executive Researcher (orchestrates fleet)
- Research Scout (gathers sources)
- Research Synthesizer (transforms findings)
- Research Reviewer (validates output)
- Research Archivist (commits deliverables)
**Foundation documents**:
- [`AGENTS.md`](../../../AGENTS.md) — governance constraints
- [`docs/guides/deep-research.md`](../../../docs/guides/deep-research.md) — full investigation methodology
- [`docs/research/methodology-review.md`](../../../docs/research/methodology/methodology-review.md) — prior art survey4. Skill vs Agent — Composition Rule
When to create a skill (not an agent):
| Signal | Decision |
| Procedure needed by 1 agent only; unique posture | Create as agent body — embed procedure |
| Procedure needed by 2+ different agents/tools; no posture dependency | Extract to skill — reference from agents |
| Tactical workflow; could benefit multiple roles; tool-agnostic | Skill is appropriate |
| Authorization/oversight required; must gate execution | Agent with Review handoff is appropriate |
Extraction test: If a procedure in an agent body would benefit a different agent or tool without requiring that agent's posture or handoff logic, move it to a skill and reference it from both agents.
5. Link Path Rule
All links in skill files that exit .github/skills/<name>/ must use ../../../ relative paths. This is consistent with the agent file convention (../../ for depth-2 files) and ensures VS Code's prompts-diagnostics-provider can resolve them.
/-rooted paths (e.g. /AGENTS.md) resolve to the OS filesystem root on macOS, not the workspace root — they produce VS Code Problems panel errors.
.github/skills/my-skill/SKILL.md
│
├─ ../ → .github/skills/ ← WRONG (wrong target)
├─ ../../ → .github/ ← WRONG (wrong target)
├─ /AGENTS.md → OS filesystem root ← WRONG (resolves to /AGENTS.md on macOS)
└─ ../../../ → (repo root) ← CORRECT (depth 3 from repo root)Correct usage for skills:
[`MANIFESTO.md`](../../../MANIFESTO.md)
[`AGENTS.md`](../../../AGENTS.md)
[`docs/guides/agents.md`](../../../docs/guides/agents.md)
[`.github/agents/README.md`](../../agents/README.md)Within-directory links (to sibling files in .github/skills/<name>/) remain relative:
[`./other-file.md`](./other-file.md) ← same directory: OKThis convention is enforced by the no-absolute-path-links-in-agent-files pre-commit hook.
6. Cross-Reference Density
Every skill file must contain at least one back-reference to the foundational document that governs it:
- Pure procedural skills → reference
AGENTS.md - Research-oriented skills → reference
MANIFESTO.md(Endogenous-First axiom) - Automation/scripting skills → reference
AGENTS.md§ Programmatic-First
Minimum pattern (place in Endogenous Sources):
This skill enacts the *<Axiom Name>* axiom from [`MANIFESTO.md`](../../../MANIFESTO.md).
It is governed by [`AGENTS.md`](../../../AGENTS.md) and associated procedural guidelines.7. Encoding Inheritance Declaration
The skill's first substantive section must ground it in the encoding chain:
## Beliefs & Context
This skill enacts the *<Axiom>* axiom from [`MANIFESTO.md`](../../../MANIFESTO.md).
**Implements**: [Pattern or issue reference]
**Governed by**: [`AGENTS.md`](../../../AGENTS.md) § [relevant section]
Read [`docs/guides/agents.md`](../../../docs/guides/agents.md) before modifying this skill.Governing axioms by skill type:
| Skill type | Governing axiom(s) |
| Research procedures | Endogenous-First |
| Scripting / automation | Algorithms Before Tokens |
| Documentation / synthesis | Endogenous-First |
| Validation / testing | Algorithms Before Tokens |
| Multi-phase orchestration | Endogenous-First + Algorithms Before Tokens |
8. Completeness Template
Use this template structure for new skills:
---
name: <skill-name>
description: |
<Clear description>
USE FOR: [bullet list]
DO NOT USE FOR: [bullet list]
argument-hint: "<usage hint>"
# Governance metadata
tier: <Foundation|Wave 1|Wave 2|...>
type: <research|feature|scripting|automation|tooling|validation>
effort: <s|m|l|xl>
applies-to:
- <Agent Name>
status: active
---
# <Skill Title>
## Beliefs & Context
[Declare axioms, pattern, dependent agents, foundational docs]
---
## <Core Workflow/Procedure>
[Step-by-step instructions, code examples, decision trees]
---
## <Quality Gate/Completion Criteria>
[What constitutes successful execution]
---
## Guardrails
- [Never do X]
- [Always do Y]9. No Heredocs in Skill Bodies
Like agents, skill files must not contain cat >> file << 'EOF' patterns or inline Python heredoc writes in example steps.
Instead: Instruct practitioners to use create_file (new files) or replace_string_in_file (edits) — both are safe for Markdown content.
10. Validate Before Committing
Before committing a new or modified skill:
uv run python scripts/validate_agent_files.py --skills
# To validate a single skill:
uv run python scripts/validate_agent_files.py .github/skills/<skill-name>/SKILL.mdPre-commit checklist:
- ✅ Frontmatter has all required fields (name, description with USE FOR / DO NOT USE FOR)
- ✅ Optional governance fields present (tier, type, effort, applies-to, status)
- ✅ All repo-root paths use
../../../prefix (not../../) - ✅ Endogenous Sources declares governing axiom
- ✅ Endogenous Sources references defining issue or pattern
- ✅ Completion Criteria section defines success
- ✅ No heredoc patterns in workflow steps
- ✅ All cross-references to foundational docs are correct links
- ✅ No orphaned or broken internal links
Guardrails
- Never use
../../for repo-root references in skills — always../../../(one extra level up from agents) - Never omit the Endogenous Sources section — encoding fidelity depends on it
- Never combine multiple domains in one skill — one skill per bounded domain
- Never create a skill without understanding the agent(s) that will use it — ask yourself: which agents will benefit from this?
- Do not add a skill without running the CI linter and passing all checks
- Do not introduce a procedure that is not grounded in an existing
AGENTS.mdprinciple or a prior-art pattern
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

