src/superclaude/holds the Python package and pytest plugin entrypoints.tests/contains Python integration/unit suites; markers map to features inpyproject.toml.pm/,research/, andindex/house TypeScript agents with standalonepackage.json.skills/holds runtime skills (e.g.,confidence-check);commands/documents scripted Claude commands.docs/provides reference packs; start withdocs/developer-guidefor workflow expectations.
make installinstalls the framework editable viauv pip install -e ".[dev]".make testrunsuv run pytestacrosstests/.make doctorormake verifycheck CLI wiring and plugin health.make lintandmake formatdelegate to Ruff; run after significant edits.- TypeScript agents: inside
pm/, runnpm installonce, thennpm testornpm run build; repeat forresearch/andindex/.
- Python: 4-space indentation, Black line length 88, Ruff
E,F,I,N,W; prefer snake_case for modules/functions and PascalCase for classes. - Keep pytest markers explicit (
@pytest.mark.unit, etc.) and match file namestest_*.py. - TypeScript: rely on project
tsconfig.json; keep filenames kebab-case and exported classes PascalCase; align with existing PM agent modules. - Reserve docstrings or inline comments for non-obvious orchestration; let clear naming do the heavy lifting.
- Default to
make test; adduv run pytest -m unitto scope runs during development. - When changes touch CLI or plugin startup, extend integration coverage in
tests/test_pytest_plugin.py. - Respect coverage focus on
src/superclaude(tool.coverage.run); adjust configuration instead of skipping logic. - For TypeScript agents, add Jest specs under
__tests__/*.test.tsand keep coverage thresholds satisfied vianpm run test:coverage.
- Follow Conventional Commits (
feat:,fix:,refactor:) as seen ingit log; keep present-tense summaries under ~72 chars. - Group related file updates per commit to simplify bisects and release notes.
- Before opening a PR, run
make lint,make format, andmake test; include summaries of verification steps in the PR description. - Reference linked issues (
Closes #123) and, for agent workflow changes, add brief reproduction notes; screenshots only when docs change. - Tag reviewers listed in
CODEOWNERSwhen touching owned directories.
- Use
make install-pluginto mirror the development plugin into~/.claude/plugins/pm-agent; prefermake reinstall-pluginafter local iterations. - Validate plugin detection with
make test-pluginbefore sharing artifact links or release notes.