Edit templates/evidence-protocol.yaml to add new citation formats:
citation_patterns:
- "[source: {path}:{line}]"
- "[ref: {identifier}]" # your custom format- Create a directory in
adapters/<your-cli>/ - Wrap the prompts from
prompts/in your CLI's native format - Update
install.shto detect and install your adapter
Violation types are defined in references/violation-types.md and enforced by the citation-scanner agent. To add a new type:
- Define it in
references/violation-types.md - Add detection logic to
.claude/agents/citation-scanner.md - Add fix logic to
.claude/agents/citation-fixer.md - Update the evidence-audit skill to include the new type
- Update
references/evidence-protocol-spec.md
The evidence-report skill produces project-wide metrics. To add new metrics:
- Define the metric in
.claude/skills/evidence-report/SKILL.md - Add it to the report template
- Update
templates/evidence-protocol.yamlif thresholds are configurable
- Fork the repository
- Create a feature branch (
git checkout -b feature/your-feature) - Make your changes following the conventions above
- Commit with a descriptive message (
git commit -m "Add: description of change") - Push to your fork (
git push origin feature/your-feature) - Open a Pull Request against
main
Pull requests should include:
- Description of what changed and why
- Any testing you performed
- Reference to related issues (if applicable)