agentleFS
Adonis0123Adonis0123/adonis-skills/CLAUDE.md

adonis-skills

CLAUDE.md3 starsChanged 2 months agoMITView on GitHub

The file

Show its rules and text

We split this CLAUDE.md into the rules it gives an agent

18 rules. About 0 are common, 9 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Use English for code, file names, commands, and commit messages.

    line 6
  2. Distinctive:

    Before committing, inspect the branch, upstream, staged diff, and verification.

    line 11
  3. Very specific:

    Use pnpm skills:new for the normal create, validate, and index flow.

    line 45
  4. Very specific:

    Add OpenAI metadata only when needed, using pnpm skills:openai-yaml.

    line 46
  5. Distinctive:

    Keep changes minimal and match existing script and file naming.

    line 51
  6. Distinctive:

    Prefer deterministic scripts over repeated manual steps.

    line 52
  7. Distinctive:

    Keep both files structurally and semantically aligned, including commands, and add reciprocal language links.

    line 59
  8. Distinctive:

    Every README change must update both files in the same change.

    line 60
  9. Very specific:

    Use lowercase hyphen-case for skill directories and frontmatter name.

    line 64
  10. Very specific:

    Every skills/<slug>/SKILL.md requires non-empty name and description.

    line 65
  11. Very specific:

    Add scripts/, references/, assets/, or other documentation only when operationally needed.

    line 66
  12. Very specific:

    Add agents/openai.yaml only for downstream OpenAI metadata integration and generate it with pnpm skills:openai-yaml.

    line 67
  13. Distinctive:

    Use TypeScript and function components.

    line 83
  14. Distinctive:

    Document non-obvious tradeoffs in PR descriptions.

    line 84
  15. Very specific:

    Prefer ahooks useLocalStorageState over direct window.localStorage.

    line 85
  16. Very specific:

    Create one docs/plan-YYYY-MM-DD-topic.md per major change.

    line 91
  17. Very specific:

    Before changing web visuals, read docs/web-ui-clay-contract.md.

    line 96
  18. Distinctive:

    Do not apply its visual rules to scripts, skills, or non-web packages.

    line 97

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Repository Instructions

Language

  • Respond in Chinese unless the user requests another language.
  • Use English for code, file names, commands, and commit messages.

Git Delivery Authorization

  • An explicit commit-push invocation authorizes committing the selected change set and pushing the current branch to its configured upstream, including main or master; do not ask for a second protected-branch confirmation.
  • Before committing, inspect the branch, upstream, staged diff, and verification. Never force-push. Stop for secrets, unrelated staged changes, a missing or unexpected push target, or a failed push.

Repository Model

  • skills/<slug>/ contains public skills indexed by the web app; .agents/skills/ contains internal tooling and is not published.
  • .claude/skills is a symlink to .agents/skills for local runtime testing.
  • skills/desktop-agent-activity, skills/installed-app-feature-inventory, and skills/dev-environment-roi-audit are exported from a private source (listed in .export-manifest.json). Treat them as generated: edit the private source, not these copies; the next export overwrites local edits.
  • apps/web/src/generated/skills-index-lite.json and apps/web/src/generated/skills-detail-index.json are generated web build inputs. After changing public skills, run pnpm skills:validate and pnpm skills:index; never edit the index manually.

Install Targets

HostCommand
Codex, Cursor, other skills CLI hostsnpx skills add adonis0123/adonis-skills --skill <name> (-g global, --list to list)
Claude Code/plugin marketplace add Adonis0123/adonis-skills, then /plugin install adonis-skills@adonis-skills (manifest: .claude-plugin/marketplace.json)
Hermes Agenthermes skills tap add adonis0123/adonis-skills

Commands

pnpm skills:new
pnpm skills:init <skill-name> --path skills
pnpm skills:quick-validate skills/<skill-slug>
pnpm skills:openai-yaml skills/<skill-slug>
pnpm skills:validate
pnpm skills:index
pnpm skills:install:local [-- --all | --skill <name>]
pnpm skills:test:local [-- --all | --skill <name>]
pnpm dev
pnpm lint
pnpm typecheck
pnpm build
  • Use pnpm skills:new for the normal create, validate, and index flow.
  • Add OpenAI metadata only when needed, using pnpm skills:openai-yaml.
  • For app/runtime changes, run the relevant lint, typecheck, and build checks.

Repository Conventions

  • Keep changes minimal and match existing script and file naming.
  • Prefer deterministic scripts over repeated manual steps.
  • Change generated artifacts through their source script, then regenerate them.
  • Pass script arguments explicitly through -- in docs and CI when pnpm parsing would be ambiguous.

Documentation Conventions

  • A documented directory must contain canonical English README.md and matching Chinese README.zh-CN.md.
  • Keep both files structurally and semantically aligned, including commands, and add reciprocal language links.
  • Every README change must update both files in the same change.

Skill Authoring

  • Use lowercase hyphen-case for skill directories and frontmatter name.
  • Every skills/<slug>/SKILL.md requires non-empty name and description; CI validates these two fields.
  • Add scripts/, references/, assets/, or other documentation only when operationally needed.
  • Add agents/openai.yaml only for downstream OpenAI metadata integration and generate it with pnpm skills:openai-yaml.
  • Public skills live in skills/; internal skills live in .agents/skills/ and are not indexed.
---
name: skill-name
description: "When and why to use this skill"
allowed-tools: Read, Bash # optional
metadata: # optional
  author: your-name
  version: "1.0.0"
---

Web Coding (apps/web/**)

  • Use TypeScript and function components; follow existing imports, naming, and nearby test placement.
  • Document non-obvious tradeoffs in PR descriptions.
  • Prefer ahooks useLocalStorageState over direct window.localStorage. If direct access is required, document why in code.

Plan Mode Major Changes

  • This section applies only in Plan mode.
  • A change is major when it crosses modules/directories, changes public interfaces/architecture/core data flow, or is expected to touch at least 5 files.
  • Create one docs/plan-YYYY-MM-DD-topic.md per major change; use lowercase kebab-case matching ^plan-[0-9]{4}-[0-9]{2}-[0-9]{2}-[a-z0-9-]+\.md$.
  • Include background, goals, scope, solution, risks, and acceptance criteria.

Web UI Contract (apps/web/src/** only)

  • Before changing web visuals, read docs/web-ui-clay-contract.md; its scope and prohibitions are mandatory.
  • Do not apply its visual rules to scripts, skills, or non-web packages.
  • In particular, never add bottom outer highlight lines such as 0 1px 0 ... to raised or floating shadows.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.