catalog-authoring
Skill0 starsChanged 57 days agoMITView on GitHub
Authors catalog sources (skills, fragments, styles) in YAML and projects them. Use when adding a new skill or fragment to the catalog.
In this repository52 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- best-practices-auditSkill
- cli-toolsSkill
- conventional-commitsSkill
- decompose-planSkill
- falsify-firstSkill
- find-skillsSkill
- harness-clientSkill
- harness-loopSkill
- interface-factsSkill
- no-commentsSkill
- nodeSkill
- plain-englishSkill
- pythonSkill
- release-processSkill
- repair-in-placeSkill
- retention-probeSkill
- root-causeSkill
- session-finishSkill
- skill-creatorSkill
- test-disciplineSkill
- tier-injectionSkill
- validate-as-consumerSkill
- work-trackerSkill
- worktree-isolationSkill
- best-practices-auditSkill
- catalog-authoringSkill
- cli-toolsSkill
- conventional-commitsSkill
- decompose-planSkill
- falsify-firstSkill
- find-skillsSkill
- harness-clientSkill
- harness-loopSkill
- interface-factsSkill
- no-commentsSkill
- nodeSkill
- plain-englishSkill
- pythonSkill
- release-processSkill
- repair-in-placeSkill
- retention-probeSkill
- root-causeSkill
- session-finishSkill
- skill-creatorSkill
- test-disciplineSkill
- tier-injectionSkill
- validate-as-consumerSkill
- work-trackerSkill
- worktree-isolationSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. About 0 are common, 7 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Write catalog sources in YAML and project them to the files that coding agents load.
- Distinctive: line 15
Apply the deletion test to each bullet: If its removal causes no mistake, leave it out.
- Distinctive: line 27
Keep a fragment short. Point to a command, and do not restate a rule that a gate enforces.
- Very specific: line 31
Run basicly catalog new skill <slug>.
- Very specific: line 33
Write the description. It is the discovery trigger, so say when to use the skill.
- Very specific: line 34
Write the instructions body as a | literal block of markdown, indented two spaces.
- Very specific: line 35
Run basicly skills-build, then basicly skills-check.
- Very specific: line 39
Run basicly catalog new fragment <id> --category <category>.
- Very specific: line 42
Run basicly build, then basicly check.
- Very specific: line 46
Write .basicly/core/output-styles/<slug>/style.yaml with name, description, body and keep_coding_instructions.
- Very specific: line 47
Run basicly styles-build, then basicly styles-check, as the projection-styles gate does.
- Very specific: line 49
Keep keep_coding_instructions: true, unless you intend to drop the built-in engineering instructions of the host.
- Very specific: line 53
Start each source with the schema header and schema_version.
- Distinctive: line 69
Write concrete, verifiable instructions: "use 2-space indentation", not "format code properly".
- Distinctive: line 70
Put each runnable command in a code fence.
- Very specific: line 73
Use at most one IMPORTANT marker per projection.
- Distinctive: line 87
When a change alters what an agent is told:
- Distinctive: line 89
Read it back where the agent reads it: the advertised skill list, the always-on file as loaded, the rule as injected.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
<!-- Generated by `basicly skills-build` from skill.yaml. Do not edit; edit the source. -->Catalog Authoring
Write catalog sources in YAML and project them to the files that coding agents load.
Rules
- Never name a source for discovery. Agents load
SKILL.md,AGENTS.md,CLAUDE.md,*.instructions.md,*.mdcandGEMINI.mdby file name, so a source isskill.yaml,<id>.fragment.yamlorstyle.yaml.basicly catalog lintrefuses a.mdsource. - Verify where the agent reads the guidance, not the file you edited. A host can substitute or fall back, so the projection is not what the agent gets.
- Apply the deletion test to each bullet. If its removal causes no mistake, leave it out.
- Tag a source with
technologiesonly when it is useless outside that technology. An untagged source ships everywhere. - Keep local sources out of
.basicly/core/in a consumer repository.basicly installoverwrites.basicly/core/. Put a fragment in.basicly-local/fragments/.
Where guidance lives
| Type | Loaded | Projected to | Build, then check |
| Fragment | Always, merged into CLAUDE.md, AGENTS.md and copilot-instructions.md, or into per-path rule files when scoped | the instruction files | basicly build, basicly check |
| Skill | On demand, when its description matches the task | SKILL.md at each skill root | basicly skills-build, basicly skills-check |
| Output style | Always. It replaces the default answer format of Claude Code | .claude/output-styles/<slug>.md | basicly styles-build, basicly styles-check |
Keep a fragment short. Point to a command, and do not restate a rule that a gate enforces.
Author a skill
- Run
basicly catalog new skill <slug>. It writes.basicly/core/skills/<slug>/skill.yaml. - Set
nameequal to the slug. - Write the
description. It is the discovery trigger, so say when to use the skill. - Write the
instructionsbody as a|literal block of markdown, indented two spaces. - Run
basicly skills-build, thenbasicly skills-check. With no arguments they cover every default root, as theprojection-skillsgate does.
Author a fragment
- Run
basicly catalog new fragment <id> --category <category>. It writes.basicly/core/fragments/<category>/<id>.fragment.yaml. In a consumer repository, move the file under.basicly-local/fragments/. - Set
id,description,category,applies_to(for example[all]) and thebodyblock. - Optional fields:
priority,tags,status,title,scope.pathsfor a path-scoped rule, and the overlay fieldsreplacesandoverride. - Run
basicly build, thenbasicly check.
Author an output style
- Write
.basicly/core/output-styles/<slug>/style.yamlwithname,description,bodyandkeep_coding_instructions. The directory name is the slug. - Run
basicly styles-build, thenbasicly styles-check, as theprojection-stylesgate does.
Keep keep_coding_instructions: true, unless you intend to drop the built-in engineering instructions of the host. They include how to verify work.
YAML shape
Start each source with the schema header and schema_version. Write the prose body as a literal block, so the markdown stays unchanged:
# yaml-language-server: $schema=../../schemas/skill.schema.json
schema_version: 1
name: my-skill
description: What it does and when to use it.
instructions: |
# My Skill
...technologies: [python] limits a skill, fragment, agent or hook to one technology. The values come from a controlled vocabulary, and basicly catalog lint refuses any other value. A consumer selects with basicly install --technologies ....
Phrase a guidance body
- Write concrete, verifiable instructions: "use 2-space indentation", not "format code properly".
- Put each runnable command in a code fence. An agent runs a fenced command as written and improvises on a command in prose.
- Give the alternative with each prohibition. A bare "never X" leaves the agent stuck.
- Give a one-clause reason, so the rule applies beyond its literal case.
- Use at most one
IMPORTANTmarker per projection. More markers make each one invisible.basicly catalog lintcounts them per composed projection and per skill, and refuses the second one by name. A marker in a code span or a fence does not count.
Check
basicly catalog lint
basicly catalog dumpcatalog lintvalidates every source against its schema. It refuses a.mdsource and a YAML file without the.yamlextension. It runs on commit and in CI.catalog dumpprints what the sources compose to: each planned output, each selected item with the core or.basicly-localfile it came from, and each overlay override beside the core source it shadows. A wrong projection is a selection question, andbuildprints only the files it wrote.
Verify where the agent reads it
When a change alters what an agent is told:
- Read it back where the agent reads it: the advertised skill list, the always-on file as loaded, the rule as injected.
- Measure a size or cost claim again on the delivered text before you write the figure into a document. A figure measured on the source is a guess about the host.
- A
user-invoked skill projects nodescription. Claude Code then fills the listing from the first line of the body.
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.

