create-anpunkit 2.1.0 → 2.3.0
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/bin/cli.js +2 -2
- package/package.json +2 -3
- package/template/.claude/agents/debugger.md +1 -1
- package/template/.claude/agents/e2e-runner.md +56 -29
- package/template/.claude/agents/implementer.md +14 -8
- package/template/.claude/agents/infra-provisioner.md +53 -59
- package/template/.claude/agents/planner.md +99 -30
- package/template/.claude/agents/researcher.md +16 -1
- package/template/.claude/agents/spec-author.md +126 -0
- package/template/.claude/agents/synthesizer.md +1 -1
- package/template/.claude/agents/test-author.md +81 -63
- package/template/.claude/anpunkit-manifest.json +66 -107
- package/template/.claude/commands/infra.md +7 -3
- package/template/.claude/commands/log-decision.md +1 -1
- package/template/.claude/commands/log-issue.md +1 -1
- package/template/.claude/commands/overview.md +55 -13
- package/template/.claude/commands/phase.md +153 -81
- package/template/.claude/commands/quick.md +1 -1
- package/template/.claude/commands/replan.md +1 -1
- package/template/.claude/commands/store-wisdom.md +1 -1
- package/template/.claude/commands/synthesize.md +1 -1
- package/template/.claude/commands/unstuck.md +1 -1
- package/template/.claude/hooks/session-start.sh +5 -11
- package/template/.claude/ref/compression.md +56 -0
- package/template/.claude/skills/karpathy-guidelines/SKILL.md +1 -1
- package/template/.gitattributes +1 -0
- package/template/AGENTS.md +264 -130
- package/template/CLAUDE.md +5 -9
- package/template/README.md +116 -136
- package/template/commands.src/infra.md +7 -3
- package/template/commands.src/log-decision.md +1 -1
- package/template/commands.src/log-issue.md +1 -1
- package/template/commands.src/overview.md +55 -13
- package/template/commands.src/phase.md +153 -81
- package/template/commands.src/quick.md +1 -1
- package/template/commands.src/replan.md +1 -1
- package/template/commands.src/store-wisdom.md +1 -1
- package/template/commands.src/synthesize.md +1 -1
- package/template/commands.src/unstuck.md +1 -1
- package/template/docs/DESIGN_LOG.md +414 -9
- package/template/knowledge/azure.md +161 -0
- package/template/knowledge/webapp.md +265 -0
- package/template/scripts/spec-conformance.sh +93 -0
- package/template/scripts/spec-staleness.sh +115 -0
- package/template/setup.sh +30 -111
- package/template/tests/helpers/spec-assert.py +162 -0
- package/template/tests/helpers/spec-assert.ts +158 -0
- package/template/.claude/hooks/cursor-session-start.sh +0 -17
- package/template/.claude/skills/caveman/SKILL.md +0 -39
- package/template/.cursor/commands/infra.md +0 -82
- package/template/.cursor/commands/log-decision.md +0 -29
- package/template/.cursor/commands/log-issue.md +0 -23
- package/template/.cursor/commands/overview.md +0 -145
- package/template/.cursor/commands/phase.md +0 -249
- package/template/.cursor/commands/quick.md +0 -25
- package/template/.cursor/commands/replan.md +0 -73
- package/template/.cursor/commands/store-wisdom.md +0 -191
- package/template/.cursor/commands/synthesize.md +0 -22
- package/template/.cursor/commands/unstuck.md +0 -36
- package/template/.cursor/hooks.json +0 -14
- package/template/.cursor/rules/anpunkit.md +0 -11
- package/template/anpunkit.png +0 -0
- package/template/docker-compose.test.yml +0 -34
- package/template/e2e/global-setup.ts +0 -57
- package/template/index.html +0 -340
- package/template/playwright.config.ts +0 -28
- package/template/scripts/auth-setup.sh +0 -51
- package/template/scripts/e2e-stack.sh +0 -65
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Compression profiles — kit-native, single source, always-on
|
|
2
|
+
|
|
3
|
+
> **What this file is.** The ONE place compression rules live (anti-drift
|
|
4
|
+
> invariant). `AGENTS.md` declares profile `user` for all human-facing output;
|
|
5
|
+
> every subagent prompt declares profile `internal` with a one-line pointer
|
|
6
|
+
> here. Nothing restates these rules.
|
|
7
|
+
>
|
|
8
|
+
> **Never model-invoked.** This is not a skill. There is no trigger phrase, no
|
|
9
|
+
> description matcher, no `/command`. Compression is mandatory behavior wired
|
|
10
|
+
> by pointers, not invoked by pattern-match (v2.3, §5.61).
|
|
11
|
+
|
|
12
|
+
## Shared rules (both profiles)
|
|
13
|
+
|
|
14
|
+
Respond terse. All technical substance stay. Only fluff die.
|
|
15
|
+
|
|
16
|
+
Drop: articles (a/an/the), filler (just/really/basically/actually/simply),
|
|
17
|
+
pleasantries (sure/certainly/of course/happy to), hedging. Fragments OK. Short
|
|
18
|
+
synonyms (big not extensive, fix not "implement a solution for"). Abbreviate
|
|
19
|
+
common terms (DB/auth/config/req/res/fn/impl). Strip conjunctions. Use arrows
|
|
20
|
+
for causality (X -> Y). One word when one word enough.
|
|
21
|
+
|
|
22
|
+
Technical terms stay exact. Code blocks unchanged. Errors quoted exact.
|
|
23
|
+
|
|
24
|
+
Pattern: `[thing] [action] [reason]. [next step].`
|
|
25
|
+
|
|
26
|
+
Not: "Sure! I'd be happy to help you with that. The issue you're experiencing is likely caused by..."
|
|
27
|
+
Yes: "Bug in auth middleware. Token expiry check use `<` not `<=`. Fix:"
|
|
28
|
+
|
|
29
|
+
## Profile: `user`
|
|
30
|
+
|
|
31
|
+
Human-facing output — the orchestrator / main session, all slash commands.
|
|
32
|
+
|
|
33
|
+
Shared rules apply, plus the **Auto-Clarity exception**: expand to full clarity
|
|
34
|
+
temporarily for security warnings, irreversible-action confirmations,
|
|
35
|
+
multi-step sequences where fragment order risks misread, and clarification
|
|
36
|
+
requests or repeated questions. Resume compressed after.
|
|
37
|
+
|
|
38
|
+
## Profile: `internal`
|
|
39
|
+
|
|
40
|
+
Agent-to-agent output — subagent returns, dispatch text, summaries between
|
|
41
|
+
roles. Shared rules apply, harder: no clarity exception (no human reads this
|
|
42
|
+
mid-flight). Return-format blocks are structure — keep the structure, fill the
|
|
43
|
+
fields tersely.
|
|
44
|
+
|
|
45
|
+
## Exemptions are structural, not here
|
|
46
|
+
|
|
47
|
+
Exact-output artifacts — fixture JSON, spec table rows, matcher tokens,
|
|
48
|
+
emitted test/harness code, `# spec:` citations, quoted errors — are exempted
|
|
49
|
+
by explicit ARTIFACT EXEMPTION gates declared in the emitter prompts
|
|
50
|
+
(`spec-author`, `test-author`, `e2e-runner`), never by a rule in this file
|
|
51
|
+
(§5.60). Compression governs prose; contract material is byte-precise.
|
|
52
|
+
|
|
53
|
+
## Persistence
|
|
54
|
+
|
|
55
|
+
Active every response, both profiles. No drift back to filler over long
|
|
56
|
+
sessions. No toggle phrases exist — there is nothing to switch off.
|
|
@@ -5,7 +5,7 @@ description: Coding and debugging discipline. Apply on every coding and debug ta
|
|
|
5
5
|
|
|
6
6
|
# karpathy-guidelines
|
|
7
7
|
|
|
8
|
-
Apply on every coding + debug task.
|
|
8
|
+
Apply on every coding + debug task.
|
|
9
9
|
|
|
10
10
|
## Coding
|
|
11
11
|
- Smallest change that works. No speculative abstraction. No "while I'm here".
|