agentleFS
TyrealQTyrealQ/q-skills/CLAUDE.md

q-skills

CLAUDE.md108 starsChanged 2 months agoMITView on GitHub

This file provides guidance to Claude Code when working with this repository. The filesystem is flat, but skills group conceptually: Each skill follows the standard SKILL.md template (~65-160 lines; detail a model needs only while running a step moves to references/): - YAML frontmatter (name, description — imperative verb lead, concise triggers) - Plan Mode Guard (script-based skills only) - ## Script Directory / ## Dependencies (if scripts exist) - ## References — bulleted pointers to reference files, all referenced…

The file

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

6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    All script, prompt, and reference paths in the skill MUST use ${SKILL_DIR}/...

    line 79
  2. Very specific:

    Create folder in skills/ with lowercase hyphenated name (see Naming Convention below)

    line 83
  3. Very specific:

    Add SKILL.md with proper frontmatter

    line 84
  4. Very specific:

    Add the skill path to the skills array in .claude-plugin/marketplace.json

    line 85
  5. Distinctive:

    Update README.md to include new skill

    line 86
  6. Very specific:

    Update CHANGELOG.md for user-facing changes and bump the marketplace version (skip the CHANGELOG entry for internal chores per the …

    line 87

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

CLAUDE.md

This file provides guidance to Claude Code when working with this repository.

Repository Structure

q-skills/
|-- .claude-plugin/
|   `-- marketplace.json               # Plugin marketplace manifest (skills array, version)
|-- illustrations/                     # Sample outputs referenced from README
|   |-- q-infographics/
|   `-- q-presentations/
|-- skills/
|   |-- q-scholar/                     # Academic manuscript writing suite
|   |   |-- q-eda/
|   |   |-- q-intro/
|   |   |-- q-litreview/
|   |   |-- q-methods/
|   |   |-- q-multimodal/
|   |   |-- q-results/
|   |   `-- q-tf/
|   |-- q-educator/                    # Course content development toolkit
|   |-- q-infographics/                # Document to infographic conversion
|   |-- q-presentations/               # Content to branded slide decks
|   |-- commit/                        # Git commit with smart file grouping
|   |-- handoff/                       # Capture session decisions for clean resume
|   |-- learn/                         # Persist user preferences across sessions
|   |-- organize/                      # Audit structure and docs, align to conventions
|   `-- ship/                          # Full ship cycle: docs, commit, push
|-- README.md
|-- CHANGELOG.md
`-- LICENSE

Skill Categories

The filesystem is flat, but skills group conceptually:

CategorySkillsPurpose
Academicq-scholar, q-educatorManuscript writing, data analysis, teaching
Visual contentq-infographics, q-presentationsDocument-to-visual generation
Utilitycommit, handoff, learn, organize, shipGit workflow, session handoff, preference persistence, structure and documentation audit

Skill Guidelines

Each skill follows the standard SKILL.md template (~65-160 lines; detail a model needs only while running a step moves to references/):

  • YAML frontmatter (name, description — imperative verb lead, concise triggers)
  • Plan Mode Guard (script-based skills only)
  • ## Script Directory / ## Dependencies (if scripts exist)
  • ## References — bulleted pointers to reference files, all referenced in body
  • ## Core Principles — 5-7 terse, actionable bullets
  • ## Workflow — | Step | Action | Reference | table format
  • ## Scope (optional) — Include / Exclude

Supporting folders:

  • scripts/ — Python scripts for automation
  • references/ — detailed instructions, templates, examples (extracted from SKILL.md)

Skill bundles (like q-scholar) can contain sub-skills:

  • Parent SKILL.md orchestrates sub-skills
  • Shared references/ at parent level
  • Sub-skill folders with their own SKILL.md and references/

Script Path Convention

Skills with scripts or references MUST include a Script Directory section that uses the ${SKILL_DIR} pattern:

## Script Directory

Agent execution instructions:
1. Determine this SKILL.md file's directory path as `SKILL_DIR`.
2. Script path = `${SKILL_DIR}/scripts/<script-name>`.
3. Reference path = `${SKILL_DIR}/references/<ref-name>`.

All script, prompt, and reference paths in the skill MUST use ${SKILL_DIR}/... — never hardcode cache-relative paths like skills/q-foo/scripts/.... This ensures skills work correctly when loaded from the Claude Code plugin cache.

Adding New Skills

  1. Create folder in skills/ with lowercase hyphenated name (see Naming Convention below)
  2. Add SKILL.md with proper frontmatter
  3. Add the skill path to the skills array in .claude-plugin/marketplace.json
  4. Update README.md to include new skill
  5. Update CHANGELOG.md for user-facing changes and bump the marketplace version (skip the CHANGELOG entry for internal chores per the git-workflow policy, but still bump the version)

Naming Convention

  • Skill folders: lowercase, hyphens
  • Academic and visual-content skills use the q- prefix (e.g., q-scholar, q-infographics)
  • Utility skills use bare verb names matching their invocation syntax (commit, learn, ship)
  • Scripts: snake_case.py

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.