Skip to content

CLAUDE.md scaffold test command writes a "test-plugin" entry into the real registry #104

Closed

Description

@TMHSDigital

Why it matters

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.
  • The documented flags match --help.

Activity

  1. added
    bug
    documentation
    priority: high
    on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdocumentationpriority: highscaffold

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions