thomas-agentkit 0.9.0-alpha.0 → 0.9.0-alpha.1
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/README.md +8 -7
- package/dist/cli.js +21 -12
- package/package.json +1 -1
- package/templates/.cursor/rules/agentkit.md +1 -1
- package/templates/.github/copilot-instructions.md +1 -1
- package/templates/AGENTS.md +1 -1
- package/templates/WORKFLOWS.md +1 -1
- package/templates/design-systems/apple.md +74 -209
- package/templates/design-systems/cursor.md +95 -0
- package/templates/design-systems/framer.md +95 -0
- package/templates/design-systems/linear.md +95 -207
- package/templates/design-systems/notion.md +94 -0
- package/templates/design-systems/warp.md +89 -0
- package/templates/skills/agentkit/SKILL.md +12 -5
- package/templates/skills/agentkit/references/design-baselines/apple.md +101 -0
- package/templates/skills/agentkit/references/design-baselines/cursor.md +95 -0
- package/templates/skills/agentkit/references/design-baselines/framer.md +95 -0
- package/templates/skills/agentkit/references/design-baselines/linear.md +117 -0
- package/templates/skills/agentkit/references/design-baselines/notion.md +94 -0
- package/templates/skills/agentkit/references/design-baselines/warp.md +89 -0
- package/templates/skills/agentkit/references/design.md +100 -0
- package/templates/skills/agentkit/references/file-contract.md +6 -5
- package/templates/skills/agentkit/references/init.md +5 -4
- package/templates/skills/agentkit/references/update.md +4 -3
|
@@ -15,7 +15,7 @@ Read `agentkit.config.json` from the repository root when present:
|
|
|
15
15
|
| `templateSet` | `minimal`, `standard`, or `full`; determines configured guidance inventory |
|
|
16
16
|
| `preset` | Stack preset (`next`, `sveltekit`, `express`, `convex`, `fullstack`) used for `STACK.md` |
|
|
17
17
|
| `aiTools` | Which thin adapter files to create (`codex`, `cursor`, `claude`, `copilot`) |
|
|
18
|
-
| `designSystem` | `linear` or `
|
|
18
|
+
| `designSystem` | `linear`, `apple`, `cursor`, `framer`, `notion`, or `warp`; baseline for `DESIGN.md` |
|
|
19
19
|
| `personalization` | Fallback defaults for project name, commands, and paths; repo facts win when available |
|
|
20
20
|
|
|
21
21
|
Prefer repository facts over config personalization. Use config values as defaults, not as a reason to ignore visible codebase reality.
|
|
@@ -26,6 +26,7 @@ Prefer repository facts over config personalization. Use config values as defaul
|
|
|
26
26
|
- `agentkit update`: refresh valid AgentKit managed blocks and create missing configured files; skip unmanaged files by default.
|
|
27
27
|
- `agentkit doctor`: audit guidance quality and report findings; do not edit by default.
|
|
28
28
|
- `agentkit learn`: teach recent codebase changes; do not edit or create files by default.
|
|
29
|
+
- `agentkit design`: create or refresh `DESIGN.md` from a bundled baseline; skip existing file unless user asks to refresh.
|
|
29
30
|
- Refresh, conversion, repair, or wholesale regeneration requires an explicit user request.
|
|
30
31
|
|
|
31
32
|
## File Inventory
|
|
@@ -41,7 +42,7 @@ Prefer repository facts over config personalization. Use config values as defaul
|
|
|
41
42
|
- `AGENTS.md`
|
|
42
43
|
- `CHANGE-EXPLANATION.md`
|
|
43
44
|
- `CODE-QUALITY.md`
|
|
44
|
-
- `DESIGN
|
|
45
|
+
- `DESIGN.md`
|
|
45
46
|
- `.github/pull_request_template.md`
|
|
46
47
|
|
|
47
48
|
`full`:
|
|
@@ -82,7 +83,7 @@ When `STACK.md` exists or will be created, `AGENTS.md` should tell agents to rea
|
|
|
82
83
|
- `STACK.md`: stack-specific guidance based on repo facts and configured or inferred preset.
|
|
83
84
|
- `CHANGE-EXPLANATION.md`: handoff, summary, and change-explanation expectations.
|
|
84
85
|
- `CODE-QUALITY.md`: review, refactor, and maintainability guidance; reference commands from `AGENTS.md`.
|
|
85
|
-
- `DESIGN
|
|
86
|
+
- `DESIGN.md`: UI/design spec from configured or chosen baseline; map semantic tokens to project theme.
|
|
86
87
|
- `.github/pull_request_template.md`: concise PR checklist; do not over-personalize per-work-item templates.
|
|
87
88
|
- `TESTING.md`: detected test tools, test locations, and real test commands.
|
|
88
89
|
- `SECURITY-CHECKLIST.md`: project-relevant security boundaries such as auth, secrets, API inputs, and data access.
|
|
@@ -103,7 +104,7 @@ Generated content
|
|
|
103
104
|
|
|
104
105
|
Rules:
|
|
105
106
|
|
|
106
|
-
- Use stable ids, such as `agents`, `stack`, `design
|
|
107
|
+
- Use stable ids, such as `agents`, `stack`, `design`, `testing`, or `security-checklist`.
|
|
107
108
|
- For new files, usually wrap the full AgentKit-generated body in one top-level managed block.
|
|
108
109
|
- Adapters can be fully managed because they should only point to `AGENTS.md`.
|
|
109
110
|
- Preserve all user edits before and after managed blocks.
|
|
@@ -135,7 +136,7 @@ Replace bracket placeholders with real values from the repo or omit the placehol
|
|
|
135
136
|
| `[Project Name]` | `package.json` name or directory name |
|
|
136
137
|
| `[short project description]` | `package.json` description or README first paragraph |
|
|
137
138
|
| `[issue tracker, e.g. Linear or GitHub Issues]` | `personalization.issueTracker` or infer from `.github/` |
|
|
138
|
-
| `[design system path, e.g. docs/design-system.md]` | `personalization.designSystemPath`, existing design docs, or `DESIGN
|
|
139
|
+
| `[design system path, e.g. docs/design-system.md]` | `personalization.designSystemPath`, existing design docs, or `DESIGN.md` |
|
|
139
140
|
| `[briefs path, e.g. docs/briefs]` | `personalization.briefsPath`, existing docs path, or omit |
|
|
140
141
|
| Project commands | Real scripts from `package.json` or explicit user/config personalization |
|
|
141
142
|
|
|
@@ -81,7 +81,7 @@ Inventory rules:
|
|
|
81
81
|
- `AGENTS.md`
|
|
82
82
|
- `CHANGE-EXPLANATION.md`
|
|
83
83
|
- `CODE-QUALITY.md`
|
|
84
|
-
- `DESIGN
|
|
84
|
+
- `DESIGN.md`
|
|
85
85
|
- `.github/pull_request_template.md`
|
|
86
86
|
|
|
87
87
|
- `full`
|
|
@@ -138,10 +138,11 @@ File roles:
|
|
|
138
138
|
- Reference real project commands from `AGENTS.md`
|
|
139
139
|
- Avoid duplicating large command tables
|
|
140
140
|
|
|
141
|
-
- `DESIGN
|
|
142
|
-
- Only include design
|
|
143
|
-
-
|
|
141
|
+
- `DESIGN.md`
|
|
142
|
+
- Only include when UI/design surfaces exist or user requests design guidance
|
|
143
|
+
- Start from configured `designSystem` baseline when set; map tokens to project theme
|
|
144
144
|
- Mention real component/style paths when visible
|
|
145
|
+
- Prefer `/agentkit design` when user wants baseline selection or customization
|
|
145
146
|
|
|
146
147
|
- `.github/pull_request_template.md`
|
|
147
148
|
- Keep concise and generally useful
|
|
@@ -112,10 +112,11 @@ File roles:
|
|
|
112
112
|
- Reference real project commands from `AGENTS.md`
|
|
113
113
|
- Avoid duplicating large command tables
|
|
114
114
|
|
|
115
|
-
- `DESIGN
|
|
116
|
-
- Refresh UI
|
|
117
|
-
- Use configured `designSystem`
|
|
115
|
+
- `DESIGN.md`
|
|
116
|
+
- Refresh UI design spec only when a UI/design surface exists or the file is configured
|
|
117
|
+
- Use configured `designSystem` baseline; map tokens to project theme
|
|
118
118
|
- Mention current component/style paths when visible
|
|
119
|
+
- Prefer `/agentkit design` when user wants baseline selection or customization
|
|
119
120
|
|
|
120
121
|
- `.github/pull_request_template.md`
|
|
121
122
|
- Keep concise and generally useful
|