TEA's skills and knowledge base live in skills/, public documentation in docs/, and command-line tools in cli/.
The docs site in website/ builds from docs/.
Check existing issues first. Use the bug report, feature request, or rule quality report template. For a large change, open an issue before implementation so maintainers can agree on scope. Feature proposals can also be discussed in Discord.
Bug reports should include the workflow or command, steps to reproduce, expected and actual results, and the agent, model, and TEA version. For rule problems, include the rule's file and section, your prompt, and the smallest output excerpt that shows the problem. See SECURITY.md for private vulnerability reports.
Use Node.js 22.20.0 or later. From your checkout:
npm ci
npm testnpm test runs the full quality gate.
Some suites execute tools or install dependencies; see the test suite guide for platform prerequisites and individual suites.
Live agent evaluations use separate eval:* commands and require the selected runner's setup.
test:workflows-lint needs actionlint on PATH. Install it with:
bash tools/install-actionlint.sh /tmp/tea-actionlint-bin
export PATH="/tmp/tea-actionlint-bin:$PATH"The quality gate also checks:
test:docs-build-names: public docs contain no story IDs, PR numbers, or planning paths.test:doc-shell-blocks: every shell block on the Evaluate pages parses, holds no synopsis notation, and runstea-evaluateandtea-skill-runnerthrough the private install.test:doc-countsandtest:doc-claims: documented counts, identifiers, and registered claims agree with their sources.test:enforce-hook: the write-time hook blocks its declared test defects.test:criteria-fragments: each review criterion resolves to its knowledge fragment.
Live evaluation commands and runner requirements are in the test suite guide.
For documentation changes, run at least:
npm run docs:validate-links
npm run lint:md
npm run format:checkRun npm run docs:build when changing site content or navigation, and inspect the affected pages.
For workflow or release changes, also run npm run lint and npm run test:release-metadata.
Use npm run validate:schemas after changing schema-backed definitions.
Fork the repository, create a branch, and submit the pull request to main.
Keep each PR focused on one change.
Aim for 200–400 changed lines; split changes above 800 lines into independent PRs when the pieces can be reviewed separately.
Leave generated files to their owning tools.
The description should explain the problem and resulting behavior, name any related issue, and list validation commands you actually ran. Keep it under 200 words when possible. A useful template:
## Change
[Problem and resulting behavior, in one or two sentences.]
## Validation
[Commands run and their results.]Use Conventional Commits with a title under 72 characters:
feat:adds a feature.fix:repairs a bug.docs:changes documentation.refactor:changes code structure.test:adds or repairs tests.chore:changes tooling or maintenance.
Each commit should contain one logical change.
Add user-facing, documentation, CI, release, and bug-fix entries under ## [Unreleased] in CHANGELOG.md.
Use Keep a Changelog headings such as Added, Changed, or Fixed.
Keep the Unreleased heading present.
The stable release workflow stamps the dated version section.
Release versions must agree across package.json, package-lock.json, .claude-plugin/marketplace.json, and skills/bmod-tea/bmod.toml.
The publish workflow synchronizes them during a release.
TEA's skills install through npx skills add.
Its command-line tools also need a delivery channel for CI, so TEA publishes bmad-method-test-architecture-enterprise to npm with the skills included.
An installed tea-test-review uses the review skill packaged alongside it, keeping the tool and skill on one version.
Installing that reviewer outside the checkout keeps a pull request from editing the reviewer that judges it.
TEA's own development review workflow runs the CLI from the checkout to exercise the code under development.
Changes to a tool's flags, exit codes, or verdict format affect a published interface. Include a changelog entry and account for compatibility when choosing the release version.
The Publish workflow runs the quality gate before publishing.
Stable releases are triggered manually from main. Each release sets npm latest.
Maintainers can dispatch it with:
npm run release:patch
npm run release:minor
npm run release:majorThese scripts dispatch GitHub Actions; they require an authenticated gh CLI with repository access.
The Actions UI also exposes the version-bump input.
Publishing requires npm Trusted Publishing configured for this repository's .github/workflows/publish.yaml.
The publisher must name the canonical repository and workflow in npm, and the workflow needs id-token: write. A fork does not match that trusted publisher. See npm's trusted publishing setup.
Stable releases also need RELEASE_APP_ID and RELEASE_APP_PRIVATE_KEY, with the GitHub App allowed to push the release commit and tag.
The workflow requests an OIDC token for npm, synchronizes metadata, and publishes with provenance.
For a stable release, it also stamps the changelog, pushes the version commit and tag, and creates a GitHub Release.
After publishing, check the version:
npm view bmad-method-test-architecture-enterprise versionVerify the tagged skill install and the npm tools before announcing the release.
Cut a stable release when merged changes are ready. Choose patch for compatible fixes, minor for compatible features, and major for breaking changes.
Before dispatching, verify npm test, current docs, an Unreleased changelog entry, synchronized metadata, and a clean main checkout. Confirm the npm publisher allows npm publish, and the release GitHub App credentials are configured.
After dispatching, verify the npm version, the GitHub Release and tag, a tagged skill install, bmad setup tea, and the installed CLI commands.
Publish a fixed version and deprecate the affected version with a message naming the replacement. Maintainers can unpublish a recent version when npm's unpublish policy permits it. The first 72 hours have fewer restrictions; older packages must satisfy additional conditions. A removed version cannot be republished.
# Replace VERSION and FIXED_VERSION with the affected and replacement versions.
npm deprecate bmad-method-test-architecture-enterprise@VERSION "Upgrade to FIXED_VERSION"
# Use only when the release meets npm's unpublish policy.
npm unpublish bmad-method-test-architecture-enterprise@VERSIONFor a trusted-publishing failure, check the npm repository/workflow mapping and id-token: write. For a version-commit or tag push failure, check RELEASE_APP_ID, RELEASE_APP_PRIVATE_KEY, the App's contents-write access, and the branch protection rule allowing that App to push.
If publishing fails, inspect the workflow log and check the trusted publisher, App permissions, and release metadata.
Use Discord for development questions and GitHub Issues for tracked work. By contributing, you agree to the Code of Conduct and license your contribution under the project's MIT license.