@leejungkiin/awkit 1.4.2 → 1.5.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.
Files changed (64) hide show
  1. package/README.md +32 -9
  2. package/bin/awk.js +464 -87
  3. package/bin/claude-generators.js +3 -1
  4. package/bin/cline-generators.js +3 -1
  5. package/bin/codex-generators.js +7 -2
  6. package/core/orchestrator.md +17 -3
  7. package/core/skill-runtime-manifest.json +37 -0
  8. package/package.json +2 -2
  9. package/skill-packs/creator-studio/README.md +19 -0
  10. package/skill-packs/creator-studio/pack.json +10 -0
  11. package/skill-packs/marketing/README.md +64 -0
  12. package/skill-packs/marketing/pack.json +37 -0
  13. package/skill-packs/mobile-android/README.md +16 -0
  14. package/skill-packs/mobile-android/pack.json +10 -0
  15. package/skill-packs/mobile-ios/README.md +22 -0
  16. package/skill-packs/mobile-ios/pack.json +16 -0
  17. package/skill-packs/neural-memory/pack.json +8 -2
  18. package/skill-packs/superpowers/pack.json +1 -0
  19. package/skill-packs/superpowers/skills/single-flow-task-execution/SKILL.md +59 -358
  20. package/skill-packs/superpowers/skills/writing-skills/SKILL.md +60 -654
  21. package/skill-packs/superpowers/skills/writing-skills/examples/anti-rationalization.md +75 -0
  22. package/skill-packs/superpowers/skills/writing-skills/examples/cso-optimization.md +67 -0
  23. package/skill-packs/superpowers/skills/writing-skills/examples/tdd-for-skills.md +63 -0
  24. package/skills/CATALOG.md +49 -44
  25. package/skills/brainstorm-agent/SKILL.md +55 -315
  26. package/skills/brainstorm-agent/templates/brief-template.md +76 -0
  27. package/skills/codex-conductor/SKILL.md +55 -259
  28. package/skills/codex-conductor/examples/prompt-templates.md +72 -0
  29. package/skills/module-spec-writer/SKILL.md +38 -365
  30. package/skills/module-spec-writer/examples/port-migration-mode.md +40 -0
  31. package/skills/module-spec-writer/templates/module-spec-template.md +118 -0
  32. package/skills/orchestrator/SKILL.md +17 -8
  33. package/skills/single-flow-task-execution/SKILL.md +56 -363
  34. package/skills/single-flow-task-execution/examples/workflow-example.md +91 -0
  35. package/skills/smali-to-kotlin/SKILL.md +23 -416
  36. package/skills/smali-to-kotlin/examples/getting-started/tech-stack.md +58 -0
  37. package/skills/smali-to-kotlin/examples/pipeline/data-ui-parity.md +118 -0
  38. package/skills/smali-to-kotlin/examples/pipeline/scanner-and-bootstrap.md +106 -0
  39. package/skills/smali-to-swift/SKILL.md +18 -621
  40. package/skills/smali-to-swift/examples/getting-started/tech-stack.md +72 -0
  41. package/skills/smali-to-swift/examples/getting-started/toolchain.md +32 -0
  42. package/skills/smali-to-swift/examples/pipeline/core-logic.md +45 -0
  43. package/skills/smali-to-swift/examples/pipeline/data-layer.md +76 -0
  44. package/skills/smali-to-swift/examples/pipeline/framework-scanner.md +73 -0
  45. package/skills/smali-to-swift/examples/pipeline/project-bootstrap.md +76 -0
  46. package/skills/smali-to-swift/examples/pipeline/sdk-integration.md +66 -0
  47. package/skills/smali-to-swift/examples/pipeline/ui-viewmodel.md +96 -0
  48. package/skills/smali-to-swift/references/objc-to-swift-mapping.md +57 -0
  49. package/skills/spec-gate/SKILL.md +51 -265
  50. package/skills/spec-gate/templates/design-templates.md +93 -0
  51. package/skills/symphony-enforcer/SKILL.md +24 -555
  52. package/skills/symphony-enforcer/examples/startup-protocol.md +92 -0
  53. package/skills/symphony-enforcer/examples/task-completion.md +100 -0
  54. package/skills/symphony-enforcer/examples/three-phase.md +107 -0
  55. package/skills/symphony-enforcer/examples/trigger-points.md +99 -0
  56. package/skills/symphony-orchestrator/SKILL.md +1 -1
  57. package/skills/writing-skills/SKILL.md +82 -70
  58. package/skills/writing-skills/examples/anti-rationalization.md +53 -0
  59. package/skills/writing-skills/examples/cso-optimization.md +52 -0
  60. package/skills/writing-skills/examples/tdd-for-skills.md +48 -0
  61. package/templates/help.html +447 -0
  62. package/skills/memory-sync/SKILL.md +0 -424
  63. package/skills/memory-sync/memory-router.md +0 -185
  64. package/skills/memory-sync/memory-templates.md +0 -201
@@ -1,201 +0,0 @@
1
- # Brain Entry Templates
2
-
3
- > Các template chuẩn để lưu vào brain/ — dùng cho cả auto-save và manual /save-brain.
4
-
5
- ---
6
-
7
- ## Template 1: Decision (brain/decisions/)
8
-
9
- **Filename:** `brain/decisions/YYYY-MM-DD-[slug].md`
10
-
11
- ```markdown
12
- ---
13
- date: 2026-02-22
14
- type: decision
15
- topic: [brief topic, e.g., "Database choice for neural-brain"]
16
- feature: [which feature/project this belongs to]
17
- tags: [tech, architecture, database, ...]
18
- salience: 0.90
19
- ---
20
-
21
- # Decision: [Topic]
22
-
23
- ## What was decided
24
- [Clear statement of the decision]
25
-
26
- ## Why this approach
27
- [Rationale — key reasons]
28
-
29
- ## Alternatives considered
30
- - **[Option A]**: [Why rejected]
31
- - **[Option B]**: [Why rejected]
32
-
33
- ## Trade-offs
34
- - ✅ [Pro 1]
35
- - ✅ [Pro 2]
36
- - ⚠️ [Con/caveat]
37
-
38
- ## Context
39
- [Additional context: task ID, feature, constraints]
40
- ```
41
-
42
- ---
43
-
44
- ## Template 2: Solution (brain/solutions/)
45
-
46
- **Filename:** `brain/solutions/YYYY-MM-DD-[slug].md`
47
-
48
- ```markdown
49
- ---
50
- date: 2026-02-22
51
- type: solution
52
- error_pattern: [e.g., "TypeError: Cannot read property of undefined"]
53
- files_affected: [e.g., "activation.js, store.js"]
54
- tags: [javascript, sqlite, null-check, ...]
55
- salience: 0.85
56
- ---
57
-
58
- # Solution: [Error Pattern]
59
-
60
- ## The Error
61
- ```
62
- [Paste exact error or describe the bug]
63
- ```
64
-
65
- ## Root Cause
66
- [Why this happened — 1-2 sentences]
67
-
68
- ## The Fix
69
- [Step-by-step or code snippet showing the solution]
70
-
71
- ```js
72
- // Before (broken)
73
- code here
74
-
75
- // After (fixed)
76
- code here
77
- ```
78
-
79
- ## How to Prevent
80
- [Rule or pattern to avoid this in future]
81
-
82
- ## Context
83
- [What feature/task was being worked on when this occurred]
84
- ```
85
-
86
- ---
87
-
88
- ## Template 3: Architecture (brain/decisions/)
89
-
90
- **Filename:** `brain/decisions/arch-[feature]-[date].md`
91
-
92
- ```markdown
93
- ---
94
- date: 2026-02-22
95
- type: architecture
96
- feature: [feature name, e.g., "neural-brain"]
97
- tags: [architecture, design, ...]
98
- salience: 0.95
99
- ---
100
-
101
- # Architecture: [Feature Name]
102
-
103
- ## Overview
104
- [Brief description of what was designed]
105
-
106
- ## Structure
107
- ```
108
- [directory tree or component diagram]
109
- ```
110
-
111
- ## Key Decisions
112
- 1. [Decision 1 + rationale]
113
- 2. [Decision 2 + rationale]
114
- 3. [Decision 3 + rationale]
115
-
116
- ## Tech Choices
117
- | Component | Choice | Reason |
118
- |-----------|--------|--------|
119
- | [Layer] | [Tech] | [Why] |
120
-
121
- ## Data Flow
122
- [How data flows through the system]
123
-
124
- ## Open Questions
125
- - [ ] [Question to resolve later]
126
- ```
127
-
128
- ---
129
-
130
- ## Template 4: Session (brain/session.json)
131
-
132
- **Auto-updated by ambient-brain skill.**
133
-
134
- ```json
135
- {
136
- "last_updated": "2026-02-22T16:56:00+07:00",
137
- "working_on": {
138
- "project": "main-awf",
139
- "feature": "neural-brain + ambient-brain skill",
140
- "phase": "implementation",
141
- "current_task_id": null,
142
- "current_files": ["skills/ambient-brain/SKILL.md"]
143
- },
144
- "recent_decisions": [
145
- {
146
- "ref": "decisions/2026-02-22-use-better-sqlite3.md",
147
- "summary": "Use better-sqlite3 for neural brain storage"
148
- }
149
- ],
150
- "recent_solutions": [],
151
- "active_context": {
152
- "neural_brain_port": "Planning phase - studying Python source",
153
- "ambient_brain": "Implementing skill files"
154
- },
155
- "completed_milestones": [],
156
- "context_checkpoints": []
157
- }
158
- ```
159
-
160
- ---
161
-
162
- ## Template 5: Active Plans (brain/active_plans.json)
163
-
164
- ```json
165
- {
166
- "plans": [
167
- {
168
- "id": "neural-brain-nodejs-port",
169
- "title": "Port neural-memory to Node.js for main-awf",
170
- "status": "planning",
171
- "phases": [
172
- { "id": "p1", "name": "Study Python source", "status": "done" },
173
- { "id": "p2", "name": "Build SQLite schema", "status": "next" },
174
- { "id": "p3", "name": "Core data structures", "status": "pending" },
175
- { "id": "p4", "name": "Spreading activation engine", "status": "pending" },
176
- { "id": "p5", "name": "Public API integration", "status": "pending" }
177
- ],
178
- "created": "2026-02-22",
179
- "last_updated": "2026-02-22"
180
- },
181
- {
182
- "id": "ambient-brain-skill",
183
- "title": "Ambient Brain Sync skill for AWF",
184
- "status": "implementing",
185
- "phases": [
186
- { "id": "p1", "name": "Design & brainstorm", "status": "done" },
187
- { "id": "p2", "name": "Create skill files", "status": "in_progress" },
188
- { "id": "p3", "name": "Update GEMINI.md", "status": "next" },
189
- { "id": "p4", "name": "Deploy to antigravity", "status": "pending" },
190
- { "id": "p5", "name": "Test with real workflow", "status": "pending" }
191
- ],
192
- "created": "2026-02-22",
193
- "last_updated": "2026-02-22"
194
- }
195
- ]
196
- }
197
- ```
198
-
199
- ---
200
-
201
- *brain-templates v1.0.0 — Standard formats for consistent brain storage*