skills
CLAUDE.md1 starsChanged 4 months agoMITView on GitHub
agent-setup is a personal library of Claude Code skills authored as Markdown, not an application. There is no build, test, or lint toolchain; the "source" is SKILL.md files. Skills are consumed by end users via the skills CLI: "Working in this repo" means authoring and editing skills, so the checks that matter are content conventions, verified with ripgrep/grep rather than a test runner (see Conventions). Skills live under skills/<category>/<name>/SKILL.md. The category directory is purely organizational; what a user installs with…
In this repository25 other files it gives its agents.
- build-serviceSkill
- client-cycle-slidesSkill
- commitSkill
- mysqlSkill
- nekiSkill
- postgresSkill
- vitessSkill
- api-key-supportSkill
- api-responsesSkill
- oauth-supportSkill
- rbac-supportSkill
- refactorSkill
- resource-scaffoldSkill
- reviewSkill
- go-refactorSkill
- go-reviewSkill
- init-projectSkill
- javascript-refactorSkill
- javascript-reviewSkill
- configifySkill
- python-refactorSkill
- python-reviewSkill
- typescript-refactorSkill
- typescript-reviewSkill
- write-like-sokhibjonSkill
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 27
Every skill's frontmatter follows one shape:
- Very specific: line 90
Keep behavior and security invariants of composed skills intact.
- Very specific: line 92
When you add a new skill that build-service could orchestrate, ask the user whether to add it to build-service (as a new selectable …
- Distinctive: line 95
After creating or renaming a skill, update the README.md catalog table in the same change.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md 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
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
What this repo is
agent-setup is a personal library of Claude Code skills authored as Markdown, not an
application. There is no build, test, or lint toolchain; the "source" is SKILL.md files.
Skills are consumed by end users via the skills CLI:
npx skills add BaratovSokhibjon/agent-setup # install everything
npx skills add BaratovSokhibjon/agent-setup --skill <name> # install one skill by frontmatter name
npx skills add BaratovSokhibjon/agent-setup --list # list what is available"Working in this repo" means authoring and editing skills, so the checks that matter are content conventions, verified with ripgrep/grep rather than a test runner (see Conventions).
Catalog layout and the install contract
Skills live under skills/<category>/<name>/SKILL.md. The category directory is purely
organizational; what a user installs with --skill is the name in the skill's
frontmatter, which must be globally unique across the catalog. Root-level skills (no
category dir) exist for cross-cutting workflows: commit, init-project, build-service.
Every skill's frontmatter follows one shape:
---
name: <kebab-name>
description: >-
<folded multi-line description; say what it does and when to use it>
metadata:
keywords:
- ...
---README.md holds a catalog table of every skill. Editing the skill set and the README
table go together: adding, renaming, moving, or removing a skill must update its row.
Skill families and how they relate
The catalog is not a flat pile; several skills are designed to compose. Reading only one SKILL.md misses these relationships:
- review / refactor pairs (
genericpluspython,javascript,typescript,go): thereviewskill writes a report to/tmp/<dirname>/code-review.md(per-project path so concurrent runs never collide), which the matchingrefactorskill reads to prioritize fixes. Pick the language variant matching the diff; fall back togeneric. - The
-supportsecurity skills (api-key-support,oauth-support,rbac-supportingeneric, plusconfigifyandapi-responses): each follows the same gate, detect -> (if absent) analyze the app and propose a tailored design -> escalate for approval -> else mirror the existing convention. They interlock (auth guards raiseapi-responsescodes; credentials narrowrbac-supportscopes), and their security invariants must never be loosened by a caller. resource-scaffoldgenerates a feature slice (model, schemas, service, router) that is guarded byrbac-supportscopes, raisesapi-responsescodes, and reads config viaconfigify.build-serviceis the orchestrator: it asks the user which components to configure, then sequences the skills above (plusinit-project, the database skills, andcommit) in dependency order. It delegates to each sub-skill rather than reimplementing them.init-projectbootstraps a repo from the humblebeeai template org;commitcreates Conventional Commits and strips agent/AI co-author trailers.
How skills get derived: the .reference/ workflow
.reference/ (gitignored) holds full clones of real codebases used as source material to
derive skills from. Many of the generic and python skills were extracted by studying
.reference/rest-core-api (a humblebeeai FastAPI service). When deriving or updating a
skill from a reference:
- Genericize. A skill must not carry source-specific identifiers (project names, class
names like
*ORM/*PM, internal library names, real env prefixes, domain scopes). Study the concrete code, then describe the pattern abstractly so it applies to any project following that convention. After editing, grep the skill for reference-specific tokens. - Language-portability matters:
genericskills are phrased to fit exception-based and error-value languages alike (say "raise or return a coded error per the language's idiom", not "raise an exception").
skills/database/* (mysql, postgres, vitess, neki) are vendored, not derived:
copied from planetscale/database-skills (MIT). They keep their references/ subdirectories
and the upstream license at skills/database/LICENSE; attribution is noted in the README.
Conventions (enforce when authoring or editing a skill)
- No em-dashes anywhere in skill content or in your own output. Every skill states this
rule; verify with
rg -n -P '\x{2014}' <file>. - Keep behavior and security invariants of composed skills intact; do not have one skill loosen another's guarantees.
- When you add a new skill that
build-servicecould orchestrate, ask the user whether to add it tobuild-service(as a new selectable component and a phase in the right dependency position). Do not silently extend or ignore the orchestrator. - After creating or renaming a skill, update the
README.mdcatalog table in the same change.
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.

