/craftsman:cifrom craftsman
Exports Craftsman quality gates to CI/CD pipelines (GitHub Actions, GitLab CI, Bitbucket, Jenkins). Generates workflow files that enforce the same validators and rules as local hooks.
Ships in craftsman. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Integrate Craftsman quality gates into your CI/CD pipeline.
/craftsman:ci export - Generate .github/workflows/craftsman-quality-gate.yml/craftsman:ci status - Show current CI integration status/craftsman:ci export:.craft-config.yml if it exists to pick up strictness and stack settings.composer.json (PHP), package.json (Node.js), and deptrac.yaml to tailor the workflow.ci/templates/craftsman-quality-gate.yml into .github/workflows/craftsman-quality-gate.yml.
.github/workflows/ does not exist, create it.Craftsman CI workflow exported to:
.github/workflows/craftsman-quality-gate.yml
Detected stack: <stack>
Config: <strictness> strictness
Next steps:
1. Commit and push: git add .github/workflows/craftsman-quality-gate.yml
2. Open a PR to trigger the workflow
3. Review docs/ci-integration.md for advanced configuration
/craftsman:ci status:Check the following and report:
Workflow file - Does .github/workflows/craftsman-quality-gate.yml exist?
strictness and stack from the embedded config, and the file's last modified date./craftsman:ci export.craftsman-ci CLI - Does ci/craftsman-ci.sh exist and is it executable?
Config file - Does .craft-config.yml exist?
Stack detection - Are composer.json / package.json / deptrac.yaml present?
Output a clear status table:
Craftsman CI Status
===================
Workflow file: ✓ .github/workflows/craftsman-quality-gate.yml
craftsman-ci: ✓ ci/craftsman-ci.sh (executable)
Config: ✓ .craft-config.yml (strictness=strict, stack=fullstack)
Stack detected: PHP (composer.json), Node.js (package.json)
Run /craftsman:ci export to generate the workflow if missing.
hooks/, agents/, or packs/ - CI is an additive integration layer.ci/craftsman-ci.sh is not present, warn the user - the workflow depends on it.|| true for optional tools (PHPStan, ESLint, deptrac) so the workflow degrades gracefully.Teammates whose agent does not run this plugin's hooks can still read instruction files: Cursor, Gemini and Antigravity, which the plugin does not ship to; Copilot, whose adapter has no qualified surface yet; and a Codex or Grok session where the plugin's gate is not installed, wired and trusted as their quickstarts describe (both are qualified hosts in hooks/host-capabilities.json once it is). Export the active rules as those files so the doctrine travels with the repository:
craftsman-ci export --target agents-md # AGENTS.md (read by most agents)
craftsman-ci export --target cursor # .cursor/rules/craftsman.mdc
craftsman-ci export --target copilot # .github/copilot-instructions.md
craftsman-ci export --target codex-agents [--into "$HOME/.codex/agents"] # craftsman-<name>.toml, one role per agents/*.md; only ~/.codex/agents/ was seen offered on codex-cli 0.154.0
craftsman-ci export --target all
The rules engine remains the single source of truth: severity overrides and ignored rules in .craft-config.yml are reflected in the generated files. In AGENTS.md and .github/copilot-instructions.md the export owns one delimited block (<!-- craftsman:doctrine:begin ... --> to <!-- craftsman:doctrine:end -->), created when the file is absent, appended when the file has none, rewritten in place otherwise: everything the team wrote outside the markers is kept byte for byte, and a second export changes nothing. .cursor/rules/craftsman.mdc is a dedicated file and is regenerated whole. Enforcement is unchanged: hooks locally where craftsman runs, craftsman-ci in the pipeline for everyone else. Commit the generated files and re-run the export whenever the rules change.
What SKILL.md sets; muted values are Claude Code's defaults
sonnetmediumThree short reads, in order
npx claudepluginhub buldee/ai-craftsman-superpowers --plugin craftsman23 skills in this plugin
/agent-designDesign AI agents using the 3P pattern (Perceive/Plan/Perform). Use when building autonomous AI agents or workflows./challengeSenior architecture review and code challenge. Use when reviewing code or PRs for quality, auditing architecture decisions, or responding to code review comments./debugSystematic debugging using ReAct pattern. Use when encountering bugs, errors, unexpected behavior, test failures, or performance issues. Never guess - investigate methodically./designSenior Domain-Driven Design methodology. Use for creating entities, value objects, aggregates, or designing domain models. Follows a 4-phase process (Understand, Challenge, Recommend, Implement).Other plugins' skills for the same job