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…
In this repository16 other files it gives its agents.
- commitSkill
- handoffSkill
- learnSkill
- organizeSkill
- q-educatorSkill
- q-infographicsSkill
- q-presentationsSkill
- q-edaSkill
- q-introSkill
- q-litreviewSkill
- q-methodsSkill
- q-multimodalSkill
- q-resultsSkill
- q-tfSkill
- q-scholarSkill
- shipSkill
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
- Very specific: line 79
All script, prompt, and reference paths in the skill MUST use ${SKILL_DIR}/...
- Very specific: line 83
Create folder in skills/ with lowercase hyphenated name (see Naming Convention below)
- Very specific: line 84
Add SKILL.md with proper frontmatter
- Very specific: line 85
Add the skill path to the skills array in .claude-plugin/marketplace.json
- Distinctive: line 86
Update README.md to include new skill
- Very specific: line 87
Update CHANGELOG.md for user-facing changes and bump the marketplace version (skip the CHANGELOG entry for internal chores per the …
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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 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
`-- LICENSESkill Categories
The filesystem is flat, but skills group conceptually:
| Category | Skills | Purpose |
| Academic | q-scholar, q-educator | Manuscript writing, data analysis, teaching |
| Visual content | q-infographics, q-presentations | Document-to-visual generation |
| Utility | commit, handoff, learn, organize, ship | Git 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 automationreferences/— detailed instructions, templates, examples (extracted from SKILL.md)
Skill bundles (like q-scholar) can contain sub-skills:
- Parent
SKILL.mdorchestrates sub-skills - Shared
references/at parent level - Sub-skill folders with their own
SKILL.mdandreferences/
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
- Create folder in
skills/with lowercase hyphenated name (see Naming Convention below) - Add
SKILL.mdwith proper frontmatter - Add the skill path to the
skillsarray in.claude-plugin/marketplace.json - Update
README.mdto include new skill - Update
CHANGELOG.mdfor 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
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.

