Promptles
Constraints

Never Bundle Secrets

Secrets come from each person's own settings, never from a file inside the plugin.

Everything inside a plugin is copied to every machine that installs it. Tokens and passwords must come from each person instead, through their own environment settings. Say where the secret comes from and what should happen when it's missing. Vague: "Add the GitHub connection to the plugin." Specific: "Add the GitHub connection, reading the token from each person's GITHUB_TOKEN setting. Commit no token, explain the setup in the README, and show me the error someone sees when the token is missing."

Where you'll practice this

One Promptles scenario teaches this principle directly.

  • Keep the Token Out of the Plugin

    shipkit 0.3.0 adds a `github` MCP server so Claude can read merged PRs and create releases. To get it working, Dana pasted their personal GitHub token into `.mcp.json`, staged the file (marked it for the next commit), and asked you to look before they commit. Everyone who…

Other principles in Constraints