Single-commit clean baseline after security scrub of niche-tells, project codenames, internal jargon, and contributor-email leaks. Contents: - 100 Rust crates (_primitives/_rust/) - 37 agent manifests (_manifests/) + generated specs (_generated/) - 67 user-invocable skills (skills/) - 33 hooks (hooks/) - Composition blocks (_blocks/) - Documentation (docs/, README.md) - TS adapter packages (_ts_packages/) - Assembler (_assembler/) - Roles (_roles/) - Templates (_templates/) - Forgejo CI (.forgejo/) Author: Denis Parfionovich <info@greendragon.info> License: see LICENSE.
34 lines
971 B
Cheetah
34 lines
971 B
Cheetah
---
|
|
description: {{PROJECT_NAME}} constructor-pattern coding rules
|
|
globs: **/*
|
|
alwaysApply: true
|
|
---
|
|
|
|
# {{PROJECT_NAME}} — Cursor Rules (MDC)
|
|
|
|
{{PROJECT_DESCRIPTION}}
|
|
|
|
## Constructor Pattern
|
|
1 file = 1 class = 1 responsibility. Function >30 lines = split. File >200 lines = decompose.
|
|
|
|
## Core Rules
|
|
- No patching — fix root cause, not symptoms
|
|
- Don't rewrite working code without reason
|
|
- Single Source of Truth — types, routes, enums in ONE place
|
|
- Types/interfaces BEFORE implementation
|
|
- Tests WITH code, never "later"
|
|
|
|
## Project Context
|
|
- Architecture decisions: see `DECISIONS.md`
|
|
- Project rules: see `CLAUDE.md`
|
|
- Current priorities: see `TODO.md`
|
|
|
|
## Forbidden
|
|
- Mixins, abstract factories, DI containers
|
|
- Rewriting working code without reason
|
|
- Committing .env, credentials, API keys
|
|
- Adding abstractions for one-time operations
|
|
|
|
## Session Protocol
|
|
- Read `DECISIONS.md` before making architectural choices
|
|
- Document new decisions in `DECISIONS.md`
|