the-frame-ai 0.9.4 → 0.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/templates/project/CLAUDE.md +64 -0
package/package.json
CHANGED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# CLAUDE.md — {{PROJECT_NAME}}
|
|
2
|
+
|
|
3
|
+
## Tech Stack
|
|
4
|
+
|
|
5
|
+
(to be filled after /frame:init scan)
|
|
6
|
+
|
|
7
|
+
## Architecture
|
|
8
|
+
|
|
9
|
+
(to be filled after /frame:init scan)
|
|
10
|
+
|
|
11
|
+
## Key Patterns
|
|
12
|
+
|
|
13
|
+
(to be filled after /frame:init scan)
|
|
14
|
+
|
|
15
|
+
## Code Conventions
|
|
16
|
+
|
|
17
|
+
- **File naming**: (define your convention)
|
|
18
|
+
- **Imports**: (define your import order)
|
|
19
|
+
- **TypeScript**: Strict mode
|
|
20
|
+
- **Git**: `{type}({scope}): {description}` — types: feat, fix, refactor, test, docs, chore
|
|
21
|
+
- **Tests**: co-located or `__tests__/` directory
|
|
22
|
+
|
|
23
|
+
## Rules (MUST follow)
|
|
24
|
+
|
|
25
|
+
1. Always run quality checks before commit
|
|
26
|
+
2. Use error reporting (not console.log)
|
|
27
|
+
3. No `any` type — use `unknown` + type guard
|
|
28
|
+
4. New features require tests
|
|
29
|
+
|
|
30
|
+
## FRAME Framework
|
|
31
|
+
|
|
32
|
+
This project uses FRAME (Framework for AI-Assisted Solo Development).
|
|
33
|
+
|
|
34
|
+
**Commands**:
|
|
35
|
+
- `/frame:init` — initialize project
|
|
36
|
+
- `/frame:status` — current state
|
|
37
|
+
- `/frame:fast <task>` — quick task
|
|
38
|
+
- `/frame:research <topic>` — domain research
|
|
39
|
+
- `/frame:plan <feature>` — plan feature
|
|
40
|
+
- `/frame:build` — implement with TDD
|
|
41
|
+
- `/frame:review` — code review
|
|
42
|
+
- `/frame:security` — security audit (secrets, OWASP, infra, AI)
|
|
43
|
+
- `/frame:ship` — git + PR
|
|
44
|
+
- `/frame:debug <issue>` — systematic debugging
|
|
45
|
+
- `/frame:retrospective` — retrospective + memory update
|
|
46
|
+
- `/frame:cleanup-memory` — trim and archive memory files
|
|
47
|
+
|
|
48
|
+
**Key files**:
|
|
49
|
+
- `.planning/STATE.md` — current position
|
|
50
|
+
- `.planning/MAP.md` — project map
|
|
51
|
+
- `.planning/ROADMAP.md` — roadmap
|
|
52
|
+
- `.frame/config.json` — FRAME configuration
|
|
53
|
+
- `.planning/memory/` — project memory
|
|
54
|
+
|
|
55
|
+
**Quality Gates** (D→P→D):
|
|
56
|
+
- `{quality.commands.typecheck}` — Type check
|
|
57
|
+
- `{quality.commands.test}` — Test check
|
|
58
|
+
- `{quality.commands.lint}` — Lint check
|
|
59
|
+
- `{quality.commands.build}` — Build check (before Ship)
|
|
60
|
+
|
|
61
|
+
## Anti-Patterns (NEVER do)
|
|
62
|
+
|
|
63
|
+
- ❌ Skip verification steps (D→P→D is mandatory)
|
|
64
|
+
- ❌ `any` type (use `unknown` + type guard)
|