agent-skills
Copilot instructions24 starsChanged 3 months agoApache-2.0View on GitHub
This repository contains skills and commands that transform AI agents into specialized problem solvers following the Agent Skills format. Critical principle: Progressive disclosure. AGENTS.md has compressed summaries (1 line per rule), references/ have detailed examples. Agents load references only when implementing specific rules to minimize context usage. Purpose: Determines if skill loads. Must answer "when to use", NOT "what it does". Include: triggers ("Use when..."), keywords (file types, action verbs), specific scenarios. Skills minimize context by: 1. SKILL.md description →…
In this repository48 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/accelint-design-foundation/AGENTS.mdAGENTS.md
- skills/accelint-eval-architect/AGENTS.mdAGENTS.md
- skills/accelint-nextjs-best-practices/AGENTS.mdAGENTS.md
- skills/accelint-prompt-manager/AGENTS.mdAGENTS.md
- skills/accelint-react-best-practices/AGENTS.mdAGENTS.md
- skills/accelint-react-testing/AGENTS.mdAGENTS.md
- skills/accelint-readme-writer/AGENTS.mdAGENTS.md
- skills/accelint-security-best-practices/AGENTS.mdAGENTS.md
- skills/accelint-skill-manager/AGENTS.mdAGENTS.md
- skills/accelint-skill-manager/references/agents.mdAGENTS.md
- skills/accelint-ts-best-practices/AGENTS.mdAGENTS.md
- skills/accelint-ts-documentation/AGENTS.mdAGENTS.md
- skills/accelint-ts-performance/AGENTS.mdAGENTS.md
- skills/accelint-ts-testing/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- accelint-ac-to-playwrightSkill
- accelint-architecture-docSkill
- accelint-archive-synthesisSkill
- accelint-design-foundationSkill
- accelint-english-managerSkill
- accelint-eval-architectSkill
- accelint-nextjs-best-practicesSkill
- accelint-onboard-agentsSkill
- accelint-onboard-openspecSkill
- accelint-persona-reviewSkill
- accelint-prompt-managerSkill
- accelint-qrspi-applySkill
- accelint-qrspi-archiveSkill
- accelint-qrspi-proposeSkill
- accelint-react-best-practicesSkill
- accelint-react-testingSkill
- accelint-readme-writerSkill
- accelint-security-best-practicesSkill
- referencesSkill
- accelint-skill-managerSkill
- accelint-skill-proseSkill
- accelint-tanstack-query-best-practicesSkill
- accelint-ts-audit-allSkill
- accelint-ts-best-practicesSkill
- accelint-ts-documentationSkill
- accelint-ts-performanceSkill
- accelint-ts-testingSkill
- constraints-extractorSkill
- context-driftSkill
- epistemic-mapperSkill
- generate-docsSkill
- jargon-extractorSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
Use imperative form ("Execute script", not "The script is executed")
- Very specific: line 35
NEVER repeat workflow from SKILL.md
- Distinctive: line 95
Assume expertise: Don't explain standard concepts (opening files, common libraries)
- Distinctive: line 99
Skip obvious steps: Don't list "Step 1: Open file, Step 2: Edit, Step 3: Save"
- Very specific: line 121
Use claude /create:skill [name] command or skill-manager skill directly
- Distinctive: line 122
Follow 4-step workflow: Understanding → Planning → Initializing → Editing
- Very specific: line 128
Use claude /create:command [name] or command-creator skill
- Very specific: line 143
NEVER dump everything in SKILL.md: - Use progressive disclosure with references/ loaded on-demand
- Distinctive: line 146
NEVER make skills tech-agnostic when tech-specific: - If skill is for React, say "React" in description
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Skills Repository
This repository contains skills and commands that transform AI agents into specialized problem solvers following the Agent Skills format.
Architecture Overview
Three-Layer Structure
skills/ # Domain expertise packages (js-ts-best-practices, react-best-practices)
├── SKILL.md # Entry point with YAML frontmatter + workflow
├── AGENTS.md # Token-efficient rule summaries with reference links
└── references/ # Detailed ❌/✅ examples, loaded on-demand
commands/ # Task specifications for Claude Code CLI
├── create/ # Generation commands (skill, readme, command)
├── audit/ # Code analysis commands (js-ts-docs, js-ts-perf)
└── feature-planning/ # Development workflow commands
documentation/ # Architecture guides for skills and commandsCritical principle: Progressive disclosure. AGENTS.md has compressed summaries (1 line per rule), references/ have detailed examples. Agents load references only when implementing specific rules to minimize context usage.
File Structure Conventions
Skills (User-Facing Knowledge Packages)
- SKILL.md: Required entry point with YAML frontmatter
descriptionfield determines activation (MUST include "Use when..." with triggers, keywords)- Body contains workflow/procedures, kept under 500 lines
- Use imperative form ("Execute script", not "The script is executed")
- AGENTS.md: Optional, for complex skills with many rules
- Rule summaries with links to references/ (e.g., "Use kebab-case, append qualifiers. View examples")
- NEVER repeat workflow from SKILL.md
- Include "Critical Anti-Patterns" section at top
- references/: Detailed examples in ❌/✅ format
- Each file is self-contained
- Loaded on-demand when agent implements specific rule
- scripts/: Reusable automation for deterministic operations
- assets/: Templates, boilerplate, sample data
Commands (Claude Code CLI Specifications)
- YAML frontmatter:
description,argument-hint,skills(optional) - Sections: Arguments, Workflow, Statistics Reporting, Examples
- Workflow organized by phases with validation checkpoints
- Commands integrate with skills via
skills:field
Key Patterns
1. Skill Description Field is Critical for Activation
Purpose: Determines if skill loads. Must answer "when to use", NOT "what it does".
# ❌ Wrong: describes workflow (agent may follow description instead of reading skill)
description: Code review between tasks, dispatches subagent per task
# ✅ Correct: triggering conditions only
description: Use when executing implementation plans with independent tasks in current sessionInclude: triggers ("Use when..."), keywords (file types, action verbs), specific scenarios.
2. Progressive Disclosure Throughout
Skills minimize context by:
- SKILL.md description → triggers activation
- SKILL.md body → core workflow only
- AGENTS.md → compressed rule summaries
- references/ → detailed examples loaded on-demand
Commands reference skills instead of duplicating knowledge:
skills: js-ts-best-practices, vitest-best-practices3. Token-Efficient AGENTS.md Format
### 1.1 Rule Name
One-line summary with actionable guidance.
[View detailed examples](references/rule-name.md)
## Critical Anti-Patterns (at top)
- **NEVER use `any` type** - Use `unknown` or generics instead
- **NEVER chain .filter().map()** - Use single `reduce` passCross-reference other skills rather than repeating: "REQUIRED: Use [skill-name] for workflow."
4. Writing for Agents, Not Humans
- Assume expertise: Don't explain standard concepts (opening files, common libraries)
- Be specific: "NEVER use
any" not "be careful with types" - Show consequences: "degrades V8 optimization" not "bad for performance"
- Use imperative: "Execute script" not "The script can be executed"
- Skip obvious steps: Don't list "Step 1: Open file, Step 2: Edit, Step 3: Save"
5. Example Format Standards
**❌ Incorrect: [reason]**
```ts
// bad code with comment explaining why✅ Correct: [benefit]
// good code with comment explaining why
Include context in examples (3+ lines before/after target change) so agents see real usage.
## Development Workflows
### Creating a New Skill
1. Use `claude /create:skill [name]` command or skill-manager skill directly
2. Follow 4-step workflow: Understanding → Planning → Initializing → Editing
3. Validate description answers "WHAT, WHEN, KEYWORDS"
4. Choose location: `.claude/skills/` (project) or `~/.claude/skills/` (global)
### Creating a New Command
1. Use `claude /create:command [name]` or command-creator skill
2. Identify skill dependencies
3. Structure workflow with phases and validation checkpoints
4. Save to `.claude/commands/` (project) or `~/.claude/commands/` (global)
### Editing Skills/Commands
- Skills: Focus on token efficiency and progressive disclosure
- References: Self-contained with complete ❌/✅ examples
- Commands: Clear phase structure with statistics reporting
## Critical Anti-Patterns
- **NEVER write tutorials** - Assume agent knows standard concepts, focus on expert-only knowledge
- **NEVER put workflow in description** - Description is for triggering only, not summarizing process
- **NEVER dump everything in SKILL.md** - Use progressive disclosure with references/ loaded on-demand
- **NEVER use generic warnings** - "Be careful" is useless; provide specific anti-patterns with reasons
- **NEVER explain standard operations** - Assume agent can read files, write code; focus on non-obvious decisions
- **NEVER make skills tech-agnostic when tech-specific** - If skill is for React, say "React" in description
## Testing and Validation
Skills and commands are tested by usage. Key validation points:
1. **Description triggers correctly** - Skills activate in relevant contexts
2. **References load on-demand** - Agents cite specific files when implementing rules
3. **Commands execute phases** - Validation checkpoints catch errors early
4. **Scripts are reusable** - Deterministic operations don't need modification
## File Naming
- Skills: `kebab-case` directories, `UPPERCASE.md` for main files, `lowercase.md` for references
- Commands: `kebab-case.md` in categorized directories (create/, audit/, feature-planning/)
- Scripts: `kebab-case.sh` or `kebab-case.py`
- Assets: Descriptive names, match output formatDoes 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.

