You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CLAUDE.md scaffold test command writes a "test-plugin" entry into the real registry #104
CLAUDE.md is the first file AI assistants and new contributors read. Its "Testing the scaffold" command changes the real catalog without saying so. The scaffold auto-registers by default, so the documented test does three things:
appends a test-plugin entry to registry.json
regenerates the README and CLAUDE.md
regenerates the docs site
Anyone who follows the docs gets a polluted working tree, or commits it.
Evidence
The CLAUDE.md "Testing the scaffold" section runs create-tool.py --name "Test Plugin" ... --output /tmp/test with no --no-register.
scaffold/create-tool.py:91-125 sets register=not args.no_register, so registration is opt-out.
The same docs area has related drift:
The CLI arg list in CLAUDE.md ("scaffold/create-tool.py" section) omits --deployed-service, --no-register and --registry-root.
CLAUDE.md says templates produce docs/index.html, but cursor-plugin output has no docs/ directory. scaffold/templates/index.html.j2 is never referenced by generator.py, so it is a dead template.
The --help epilog example at scaffold/create-tool.py:43 (--name "AWS MCP Server" --type mcp-server --mcp-server) omits the required --description, so it fails when copied.
Suggested approach
Add --no-register to every documented test or dry-run command. Also consider making registration opt-in (--register).
Generate the CLI arg list from argparse, or at least sync it by hand.
Delete or wire up index.html.j2.
Fix the epilog example.
Done when
Every scaffold command in the docs can be copied and run without touching registry.json.
Activity