claude-code-toolkit
CLAUDE.md4 starsChanged 14 months agoBSD-3-ClauseView on GitHub
This is a Claude Code plugin marketplace containing professional Django development skills. The repository follows the Claude Code plugin marketplace structure and distributes skills/plugins that can be installed by Claude Code users. This repository is a marketplace that contains plugins, which in turn contain skills: The .claude-plugin/marketplace.json file defines all plugins and their associated skills. The main skill in this repo provides Django multi-tenant architecture patterns: When making changes to skills:
In this repository3 other files it gives its agents.
- django-best-practicesSkill
- django-securitySkill
- django-typingSkill
The file
We split this CLAUDE.md into the rules it gives an agent
12 rules. About 0 are common, 7 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
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
- Distinctive: line 40
Must match Claude Code's marketplace schema
- Very specific: line 53
All models inherit from TenantBaseModel or TenantAwareModel
- Very specific: line 73
Create SKILL.md with YAML frontmatter (name and description required)
- Very specific: line 74
Add optional directories: scripts/, references/, assets/
- Very specific: line 76
Add to existing plugin's skills array, OR
- Distinctive: line 77
Create new plugin entry with the skill
- Distinctive: line 94
When making changes to skills:
- Distinctive: line 97
Test that YAML frontmatter is valid
- Very specific: line 98
Update marketplace.json if adding/removing skills
- Distinctive: line 99
Update README.md to reflect changes
- Distinctive: line 100
Commit with descriptive message
- Distinctive: line 105
No build/test commands - this is a documentation/template repository
≈ “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
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Repository Overview
This is a Claude Code plugin marketplace containing professional Django development skills. The repository follows the Claude Code plugin marketplace structure and distributes skills/plugins that can be installed by Claude Code users.
Repository Structure
claude-code-toolkit/
├── .claude-plugin/
│ └── marketplace.json # Marketplace metadata (defines plugins and skills)
├── skills/
│ └── django-best-practices/
│ ├── SKILL.md # Main skill file with YAML frontmatter
│ ├── scripts/ # Code generation scripts (generate_model.py)
│ ├── references/ # Detailed documentation (multi-tenant, model, admin patterns)
│ └── assets/ # Templates (model_template.py, admin_template.py, test_template.py)
└── README.mdPlugin Marketplace Structure
This repository is a marketplace that contains plugins, which in turn contain skills:
- Marketplace:
claude-code-toolkit(this repo)- Plugin:
django-skills(collection of Django-related skills)- Skill:
django-best-practices(multi-tenant Django patterns)
- Skill:
- Plugin:
The .claude-plugin/marketplace.json file defines all plugins and their associated skills.
Key Files
.claude-plugin/marketplace.json
- Defines marketplace metadata (name, owner, description, version)
- Lists all plugins available in this marketplace
- Each plugin specifies its skills (paths to SKILL.md files)
- Must match Claude Code's marketplace schema
skills/*/SKILL.md
- Each skill requires a SKILL.md file with YAML frontmatter
- Frontmatter must include:
nameanddescription - The description determines when Claude Code automatically activates the skill
- Body contains the full skill instructions/documentation
Django Best Practices Skill
The main skill in this repo provides Django multi-tenant architecture patterns:
Core Concepts
- All models inherit from
TenantBaseModelorTenantAwareModel - Multi-tenant data isolation enforced at database and application layers
- Tenant context set by middleware from authenticated user
- QuerySets automatically filtered by current tenant
- Indexes always put
tenantfield first in composite indexes - Unique constraints include
tenantfield
Quick Reference
- Templates:
skills/django-best-practices/assets/- Copy-paste templates for models, admin, tests - References:
skills/django-best-practices/references/- Detailed pattern documentation - Generator:
skills/django-best-practices/scripts/generate_model.py- Boilerplate code generation
Code Generation
python skills/django-best-practices/scripts/generate_model.py <app_name> <model_name> [--with-admin] [--with-tests]Adding New Skills
- Create directory:
skills/your-skill-name/ - Create
SKILL.mdwith YAML frontmatter (name and description required) - Add optional directories:
scripts/,references/,assets/ - Update
.claude-plugin/marketplace.json:- Add to existing plugin's
skillsarray, OR - Create new plugin entry with the skill
- Add to existing plugin's
Installation Commands (for users)
# Add marketplace
/plugin marketplace add https://github.com/johnrtipton/claude-code-toolkit
# List plugins
/plugin marketplace list claude-code-toolkit
# Install plugin
/plugin install django-skillsDevelopment Workflow
When making changes to skills:
- Edit the SKILL.md file or add/update references
- Test that YAML frontmatter is valid
- Update marketplace.json if adding/removing skills
- Update README.md to reflect changes
- Commit with descriptive message
- Push to GitHub (users pull updates when they sync)
Important Notes
- No build/test commands - this is a documentation/template repository
- Skills are loaded directly by Claude Code when installed
- Changes pushed to GitHub are picked up when users run
/plugin update - The marketplace.json schema must match Claude Code's requirements
- Each skill's description should clearly indicate when it applies (Claude uses this for auto-activation)
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.

