unsorry

Protocols

These protocols must be followed when using plan mode. They are non-negotiable.

1. Architecture Decision Records (ADRs)

Always create or update an ADR when a decision is made.

2. Specifications

Always create or update a spec that links/references an ADR or ADRs.

3. Test-Driven Development (TDD)

Always follow TDD.

4. Feature Branches

Always create a new feature branch for any changes.

5. Changelog

Maintain a changelog with versions.

6. Releases

Release versions as appropriate when changes are made.

7. Context7 MCP for Language Research

Use the Context7 MCP to research appropriate language syntax and usage.

8. Production-Ready Code Only

No mocks, stubs, or placeholder implementations. Only fully working production-ready code.

9. Claude Agent Teams

Use Claude agent teams where suitable to get work done efficiently.

10. Latest Stable Dependencies

Always check for the latest available stable dependency and use that.

11. README Accuracy

The README must be kept up to date and must accurately reflect the implementation.

12. Don’t Repeat Yourself (DRY)

Eliminate duplication — every piece of knowledge must have a single, authoritative representation.

13. Published GitHub Releases

Ensure every change includes a published release in GitHub.


Optional Protocols

The protocols below are conditional. Apply them only when the listed condition is met.

14. Frontend Security — {@html} Protocol (Svelte projects only)

Applies when: the project uses Svelte or SvelteKit. Skip this protocol entirely for non-Svelte projects.

Never use Svelte’s {@html} directive without DOMPurify sanitisation.