.claude/skills/core/learner/SKILL.md
Capture codebase-specific knowledge as a reusable skill — passes 3-point quality gate before writing
npx skillsauth add andrem-sec/psc-comet learnerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Extract a reusable skill from something discovered in this session. The output is a new SKILL.md file in .claude/skills/learned/.
A learned skill captures the mental model, not the code. The mental model is what Claude needs to reproduce the insight — not a copy-paste of what was written.
All three must be YES before writing the skill:
Reject without exception: generic programming patterns, refactoring techniques, library usage examples, type definitions, boilerplate, and anything a junior dev could find in 5 minutes.
---
name: [short-kebab-case-name]
description: [one line — specific enough to be useful]
version: 0.1.0
level: 1
triggers:
- "[phrase that activates this]"
context_files: []
steps:
- name: [Step]
description: [What to do]
---
# [Skill Name]
## The Insight
What is the underlying principle? State the mental model.
## Why This Matters
What symptom brought you here? What went wrong without this?
## Recognition Pattern
When does this skill apply? What are the signs?
## The Approach
How should Claude think through this? Decision heuristic, not code.
## Example (Optional)
Illustrate the principle. Not copy-paste material.
## Mandatory Checklist
1. Verify [condition specific to this skill]
2. Verify [another condition]
Learned skills go in .claude/skills/learned/[skill-name]/SKILL.md.
These are project-specific. Do not move them to core/ or workflow/ unless they prove general enough to apply across projects — which is rare.
Do not write a learned skill from a first occurrence. One instance is an observation. A recurring pattern is a skill.
Do not name skills generically. auth-skill is not a name. jwt-algorithm-confusion-detection is.
data-ai
Parallel agent swarm — decomposes work into independent units, spawns isolated workers, tracks PRs via fan-in
testing
Audit animations and transitions for motion accessibility, performance safety, and design intent. Enforces prefers-reduced-motion compliance and blocks layout-triggering transitions.
testing
Test specifically for AI-introduced regressions that repeat without tests
development
Framework for decomposing agent-driven tasks into independently verifiable units