Repository navigation
Development
How the repo is laid out, how to set up a clone, how the banned-strings check keeps private text out of a public repo, and how to add a plugin.
| Path | What it is |
|---|---|
.claude-plugin/marketplace.json |
The marketplace file; see Plugin-Format#marketplace-file |
plugins/<name>/ |
One folder per plugin, with .claude-plugin/plugin.json, skills/, and a README |
scripts/check-banned-strings.sh |
The banned-strings check; holds no strings |
.githooks/ |
pre-commit and pre-push, which run the check |
.github/workflows/validate.yml |
CI: claude plugin validate . on every push and PR |
.claude/ |
Claude Code setup for people working on this repo (rules, CLAUDE.md). Public, so it MUST hold nothing private |
README.md, LICENSE
|
The user guide and the MIT license. Both count for every plugin in Anthropic's [[directory checks |
- Clone the repo and its wiki.
- Turn on the hooks, once per clone:
git config core.hooksPath .githooks. - Create the banned-strings list (see below). Until it exists, every commit is blocked.
The repo and wiki are public. Client names, site ids, project ids, credentials, and internal hostnames MUST NOT be committed. The banned-strings check blocks a commit or push that contains any string on a list.
Why the list is outside the repo. A list committed to a public repo would publish the very strings it guards. The list lives in the project folder at .simpleapps/banned-strings.txt (next to repo/ and wiki/), which is never committed. The script that reads it is public and holds no strings.
How it works:
-
pre-commitscans the staged files;pre-pushscans every commit being pushed, so a string added and then removed in a later commit is still caught. - Matches are case-insensitive fixed strings. Blank lines and lines starting with
#are ignored. - It fails closed: a missing list, an empty list, or a git error blocks the commit or push.
-
BANNED_STRINGS_FILEpoints the script at a different list.
Limits, by design:
- The check is local only. CI stays minimal and does not run it, so a clone without the hooks, or a commit made with
--no-verify, is not caught.--no-verifyMUST NOT be used here. - Each committer MUST have their own copy of the list before their first commit.
- The wiki is not checked. The hooks live in the code repo, and wiki pushes go straight to GitHub. Wiki pages MUST be written with the same care.
- Once a string is pushed it is public, and removing it means rewriting history. The check exists to stop the first push.
Run claude plugin validate . from the repo root. CI runs the same command on every push and PR.
- The marketplace passes with one warning while it is empty ("Marketplace has no plugins defined"). CI runs without
--strictuntil the first plugin lands, then SHOULD switch to--strict. -
claude plugin validate plugins/<name>validates one plugin and prints Anthropic's directory checks. Add--profile directoryto make those fail. - Unknown fields warn and are ignored at load, so a warning about a field is a real mistake, not noise.
- Create
plugins/<name>/.claude-plugin/plugin.jsonwith the fields in Plugin-Format#plugin-entry-vs-pluginjson, includingversion(CalVer) andauthor. - Add
skills/(and commands if needed). Stay within what every surface loads: no top-levelbin/, no reliance on hooks or local MCP. - Add a remote MCP connector only with a fixed
https://URL. - Write the plugin's README: what it does, who it is for, how to sign in, and that Team and Enterprise users need an Owner to add the connector.
- Add a square PNG icon at
.claude-plugin/icon.png. - Add an entry to
marketplace.jsonwithname,source: ./plugins/<name>, andcategory. Noversion. - Add the plugin to the README's Plugins table and to Home#plugins.
- Run
claude plugin validate .andclaude plugin validate plugins/<name>, then walk the plugin checklist.