cortex-ai-skills
CLAUDE.md16 starsChanged 4 months agoMITView on GitHub
Guidance for AI coding agents working in this repository. cortex — a Claude Code plugin providing AI coding skills. Pure markdown + YAML, no build system. Plugin manifest: .claude-plugin/plugin.json. Skills invoke as /cortex:<skill-name>. Creating, editing, condensing, or auditing any SKILL.md or its references/ requires the skill-creator plugin. It is the single source of truth for frontmatter fields, body-section order, progressive-disclosure conventions, reference-file layout, and token efficiency — this repo intentionally does not duplicate those rules. Install it once: Then invoke…
In this repository15 other files it gives its agents.
- csharpSkill
- documentationSkill
- dotnet-coreSkill
- humanize-textSkill
- javascriptSkill
- jira-report-commentSkill
- legacy-modernizationSkill
- nestjsSkill
- nextjsSkill
- pythonSkill
- reactSkill
- simple-englishSkill
- spec-miningSkill
- testingSkill
- typescriptSkill
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
No triple backticks in commit messages.
- Distinctive: line 53
Every review — code review, audit, PR, self-check — must verify the version bump:
- Very specific: line 62
Run ./lint.sh until it exits clean before completing any markdown task — see the script header for usage.
- Distinctive: line 64
Add a markdownlint disable only when the rule is genuinely wrong for this codebase, with a comment explaining why.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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
Guidance for AI coding agents working in this repository.
Project
cortex — a Claude Code plugin providing AI coding skills. Pure markdown + YAML, no build system. Plugin manifest: .claude-plugin/plugin.json. Skills invoke as /cortex:<skill-name>.
Skill Structure
skills/<skill-name>/
├── SKILL.md # skill definition + YAML frontmatter
└── references/ # optional, loaded conditionally by SKILL.mdSkill Authoring — /skill-creator Required
Creating, editing, condensing, or auditing any SKILL.md or its references/ requires the skill-creator plugin. It is the single source of truth for frontmatter fields, body-section order, progressive-disclosure conventions, reference-file layout, and token efficiency — this repo intentionally does not duplicate those rules.
Install it once:
claude plugin install skill-creator@claude-plugins-officialThen invoke /skill-creator:skill-creator for any skill-authoring task.
If /skill-creator:skill-creator is not installed, stop and ask the user to install it before running the prompt. Do not fall back to hand-authoring a skill from memory or from this file — the conventions drift quickly and the plugin is the authority.
Git
- Never commit unless explicitly asked. Stage, show the diff, wait for confirmation.
- Conventional Commits:
<type>(<scope>): <description>- Types:
feat,fix,docs,refactor,chore - Scope: skill name, or
pluginfor plugin-wide changes
- Types:
- No triple backticks in commit messages.
Versioning
Bump as part of the change, not after. Classify the change (patch / minor / major), then update .claude-plugin/plugin.json in the same diff. A commit without a matching bump is incomplete.
Bump plugin.json to the highest level present in the diff:
- patch: typos, wording, formatting, config adjustments
- minor: expanded skill content, new references, new/removed skill
- major: rewritten role/workflow, breaking structural change
Mixed changes take the highest level (2 patches + 1 minor = minor).
Review (every review task)
Every review — code review, audit, PR, self-check — must verify the version bump:
- Determine the actual semver level of the diff.
- Compare against the bump in
plugin.json. - Missing or under-bumped: fix in the same pass; note the change and reason to the user.
- Over-bumped: flag with a suggested downgrade; don't silently edit (may be intentional).
Markdown Formatting
Run ./lint.sh until it exits clean before completing any markdown task — see the script header for usage. Configs: .prettierrc, .prettierignore, .markdownlint-cli2.jsonc.
Add a markdownlint disable only when the rule is genuinely wrong for this codebase, with a comment explaining why.
Conventions
- Naming: kebab-case for skill directories and files.
- Formatting: UTF-8, LF, 2-space indent — see
.editorconfig. - Reference files: conditionally loaded by SKILL.md — never standalone skills.
Frontmatter:
nameanddescription, plusargument-hinton a skill that takes a mode or target argument. Nothing else — in particular, noallowed-tools.allowed-toolsis not a capability declaration — it pre-approves tools so they run without a permission prompt for the turn that invokes the skill. Adding it means these skills silently bypass the consumer's own permission settings, which is not ours to decide for someone installing a plugin. Leaving it out means every tool call goes through their configured permissions. (The field that actually restricts isdisallowed-tools, which removes tools from the pool while a skill is active — only justified for a skill that must never call something, and none of ours qualify.)
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.

