@prmichaelsen/acp-visualizer 0.1.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 (180) hide show
  1. package/README.md +68 -0
  2. package/agent/commands/acp.clarification-address.md +417 -0
  3. package/agent/commands/acp.clarification-capture.md +386 -0
  4. package/agent/commands/acp.clarification-create.md +437 -0
  5. package/agent/commands/acp.clarifications-research.md +326 -0
  6. package/agent/commands/acp.command-create.md +432 -0
  7. package/agent/commands/acp.design-create.md +286 -0
  8. package/agent/commands/acp.design-reference.md +355 -0
  9. package/agent/commands/acp.handoff.md +270 -0
  10. package/agent/commands/acp.index.md +423 -0
  11. package/agent/commands/acp.init.md +546 -0
  12. package/agent/commands/acp.package-create.md +895 -0
  13. package/agent/commands/acp.package-info.md +212 -0
  14. package/agent/commands/acp.package-install.md +539 -0
  15. package/agent/commands/acp.package-list.md +280 -0
  16. package/agent/commands/acp.package-publish.md +541 -0
  17. package/agent/commands/acp.package-remove.md +293 -0
  18. package/agent/commands/acp.package-search.md +307 -0
  19. package/agent/commands/acp.package-update.md +361 -0
  20. package/agent/commands/acp.package-validate.md +540 -0
  21. package/agent/commands/acp.pattern-create.md +386 -0
  22. package/agent/commands/acp.plan.md +587 -0
  23. package/agent/commands/acp.proceed.md +882 -0
  24. package/agent/commands/acp.project-create.md +675 -0
  25. package/agent/commands/acp.project-info.md +312 -0
  26. package/agent/commands/acp.project-list.md +226 -0
  27. package/agent/commands/acp.project-remove.md +379 -0
  28. package/agent/commands/acp.project-set.md +227 -0
  29. package/agent/commands/acp.project-update.md +307 -0
  30. package/agent/commands/acp.projects-restore.md +228 -0
  31. package/agent/commands/acp.projects-sync.md +347 -0
  32. package/agent/commands/acp.report.md +407 -0
  33. package/agent/commands/acp.resume.md +239 -0
  34. package/agent/commands/acp.sessions.md +301 -0
  35. package/agent/commands/acp.status.md +293 -0
  36. package/agent/commands/acp.sync.md +364 -0
  37. package/agent/commands/acp.task-create.md +500 -0
  38. package/agent/commands/acp.update.md +302 -0
  39. package/agent/commands/acp.validate.md +466 -0
  40. package/agent/commands/acp.version-check-for-updates.md +276 -0
  41. package/agent/commands/acp.version-check.md +191 -0
  42. package/agent/commands/acp.version-update.md +289 -0
  43. package/agent/commands/command.template.md +339 -0
  44. package/agent/commands/git.commit.md +526 -0
  45. package/agent/commands/git.init.md +514 -0
  46. package/agent/commands/tanstack-cloudflare.deploy.md +272 -0
  47. package/agent/commands/tanstack-cloudflare.tail.md +275 -0
  48. package/agent/design/.gitkeep +0 -0
  49. package/agent/design/design.template.md +154 -0
  50. package/agent/design/local.dashboard-layout-routing.md +288 -0
  51. package/agent/design/local.data-model-yaml-parsing.md +310 -0
  52. package/agent/design/local.search-filtering.md +331 -0
  53. package/agent/design/local.server-api-auto-refresh.md +235 -0
  54. package/agent/design/local.table-tree-views.md +299 -0
  55. package/agent/design/local.visualizer-requirements.md +349 -0
  56. package/agent/design/requirements.template.md +387 -0
  57. package/agent/index/.gitkeep +0 -0
  58. package/agent/index/acp.core.yaml +137 -0
  59. package/agent/index/local.main.template.yaml +37 -0
  60. package/agent/manifest.template.yaml +13 -0
  61. package/agent/manifest.yaml +302 -0
  62. package/agent/milestones/.gitkeep +0 -0
  63. package/agent/milestones/milestone-1-project-scaffold-data-pipeline.md +67 -0
  64. package/agent/milestones/milestone-1-{title}.template.md +206 -0
  65. package/agent/milestones/milestone-2-dashboard-views-interaction.md +79 -0
  66. package/agent/package.template.yaml +86 -0
  67. package/agent/patterns/.gitkeep +0 -0
  68. package/agent/patterns/bootstrap.template.md +1237 -0
  69. package/agent/patterns/pattern.template.md +382 -0
  70. package/agent/patterns/tanstack-cloudflare.acl-permissions.md +332 -0
  71. package/agent/patterns/tanstack-cloudflare.action-bar-item.md +416 -0
  72. package/agent/patterns/tanstack-cloudflare.api-route-handlers.md +401 -0
  73. package/agent/patterns/tanstack-cloudflare.auth-session-management.md +387 -0
  74. package/agent/patterns/tanstack-cloudflare.card-and-list.md +271 -0
  75. package/agent/patterns/tanstack-cloudflare.chat-engine.md +353 -0
  76. package/agent/patterns/tanstack-cloudflare.confirmation-tokens.md +346 -0
  77. package/agent/patterns/tanstack-cloudflare.durable-objects-websocket.md +516 -0
  78. package/agent/patterns/tanstack-cloudflare.email-service.md +431 -0
  79. package/agent/patterns/tanstack-cloudflare.expander.md +98 -0
  80. package/agent/patterns/tanstack-cloudflare.fcm-push.md +115 -0
  81. package/agent/patterns/tanstack-cloudflare.firebase-anonymous-sessions.md +441 -0
  82. package/agent/patterns/tanstack-cloudflare.firebase-auth.md +348 -0
  83. package/agent/patterns/tanstack-cloudflare.firebase-firestore.md +550 -0
  84. package/agent/patterns/tanstack-cloudflare.firebase-storage.md +369 -0
  85. package/agent/patterns/tanstack-cloudflare.form-controls.md +145 -0
  86. package/agent/patterns/tanstack-cloudflare.global-search-context.md +93 -0
  87. package/agent/patterns/tanstack-cloudflare.image-carousel.md +126 -0
  88. package/agent/patterns/tanstack-cloudflare.library-services.md +553 -0
  89. package/agent/patterns/tanstack-cloudflare.lightbox.md +169 -0
  90. package/agent/patterns/tanstack-cloudflare.markdown-content.md +115 -0
  91. package/agent/patterns/tanstack-cloudflare.mention-suggestions.md +98 -0
  92. package/agent/patterns/tanstack-cloudflare.modal.md +156 -0
  93. package/agent/patterns/tanstack-cloudflare.nextjs-to-tanstack-routing.md +461 -0
  94. package/agent/patterns/tanstack-cloudflare.notifications-engine.md +151 -0
  95. package/agent/patterns/tanstack-cloudflare.oauth-token-refresh.md +90 -0
  96. package/agent/patterns/tanstack-cloudflare.og-metadata.md +296 -0
  97. package/agent/patterns/tanstack-cloudflare.pagination.md +442 -0
  98. package/agent/patterns/tanstack-cloudflare.pill-input.md +220 -0
  99. package/agent/patterns/tanstack-cloudflare.provider-adapter.md +401 -0
  100. package/agent/patterns/tanstack-cloudflare.rate-limiting.md +323 -0
  101. package/agent/patterns/tanstack-cloudflare.scheduled-tasks.md +338 -0
  102. package/agent/patterns/tanstack-cloudflare.searchable-settings.md +375 -0
  103. package/agent/patterns/tanstack-cloudflare.slide-over.md +129 -0
  104. package/agent/patterns/tanstack-cloudflare.ssr-preload.md +571 -0
  105. package/agent/patterns/tanstack-cloudflare.third-party-api-integration.md +508 -0
  106. package/agent/patterns/tanstack-cloudflare.toast-system.md +142 -0
  107. package/agent/patterns/tanstack-cloudflare.unified-header.md +280 -0
  108. package/agent/patterns/tanstack-cloudflare.user-scoped-collections.md +628 -0
  109. package/agent/patterns/tanstack-cloudflare.websocket-manager.md +237 -0
  110. package/agent/patterns/tanstack-cloudflare.wrangler-configuration.md +358 -0
  111. package/agent/patterns/tanstack-cloudflare.zod-schema-validation.md +336 -0
  112. package/agent/progress.template.yaml +161 -0
  113. package/agent/progress.yaml +145 -0
  114. package/agent/schemas/package.schema.yaml +276 -0
  115. package/agent/scripts/acp.common.sh +1781 -0
  116. package/agent/scripts/acp.install.sh +333 -0
  117. package/agent/scripts/acp.package-create.sh +924 -0
  118. package/agent/scripts/acp.package-info.sh +288 -0
  119. package/agent/scripts/acp.package-install.sh +893 -0
  120. package/agent/scripts/acp.package-list.sh +311 -0
  121. package/agent/scripts/acp.package-publish.sh +420 -0
  122. package/agent/scripts/acp.package-remove.sh +348 -0
  123. package/agent/scripts/acp.package-search.sh +156 -0
  124. package/agent/scripts/acp.package-update.sh +517 -0
  125. package/agent/scripts/acp.package-validate.sh +1018 -0
  126. package/agent/scripts/acp.uninstall.sh +85 -0
  127. package/agent/scripts/acp.version-check-for-updates.sh +98 -0
  128. package/agent/scripts/acp.version-check.sh +47 -0
  129. package/agent/scripts/acp.version-update.sh +176 -0
  130. package/agent/scripts/acp.yaml-parser.sh +985 -0
  131. package/agent/scripts/acp.yaml-validate.sh +205 -0
  132. package/agent/tasks/.gitkeep +0 -0
  133. package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-1-initialize-tanstack-start-project.md +210 -0
  134. package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-2-implement-data-model-yaml-parser.md +294 -0
  135. package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-3-build-server-api-data-loading.md +193 -0
  136. package/agent/tasks/milestone-1-project-scaffold-data-pipeline/task-4-add-auto-refresh-sse.md +262 -0
  137. package/agent/tasks/milestone-2-dashboard-views-interaction/task-10-polish-integration-testing.md +156 -0
  138. package/agent/tasks/milestone-2-dashboard-views-interaction/task-5-build-dashboard-layout-routing.md +178 -0
  139. package/agent/tasks/milestone-2-dashboard-views-interaction/task-6-build-overview-page.md +141 -0
  140. package/agent/tasks/milestone-2-dashboard-views-interaction/task-7-implement-milestone-table-view.md +153 -0
  141. package/agent/tasks/milestone-2-dashboard-views-interaction/task-8-implement-milestone-tree-view.md +174 -0
  142. package/agent/tasks/milestone-2-dashboard-views-interaction/task-9-implement-search-filtering.md +233 -0
  143. package/agent/tasks/task-1-{title}.template.md +244 -0
  144. package/bin/visualize.mjs +84 -0
  145. package/package.json +48 -0
  146. package/src/components/ExtraFieldsBadge.tsx +15 -0
  147. package/src/components/FilterBar.tsx +33 -0
  148. package/src/components/Header.tsx +23 -0
  149. package/src/components/MilestoneTable.tsx +167 -0
  150. package/src/components/MilestoneTree.tsx +84 -0
  151. package/src/components/ProgressBar.tsx +20 -0
  152. package/src/components/SearchInput.tsx +22 -0
  153. package/src/components/Sidebar.tsx +54 -0
  154. package/src/components/StatusBadge.tsx +23 -0
  155. package/src/components/StatusDot.tsx +12 -0
  156. package/src/components/TaskList.tsx +36 -0
  157. package/src/components/ViewToggle.tsx +31 -0
  158. package/src/lib/config.ts +8 -0
  159. package/src/lib/file-watcher.ts +43 -0
  160. package/src/lib/search.ts +48 -0
  161. package/src/lib/types.ts +73 -0
  162. package/src/lib/useAutoRefresh.ts +31 -0
  163. package/src/lib/useCollapse.ts +31 -0
  164. package/src/lib/useFilteredData.ts +55 -0
  165. package/src/lib/yaml-loader-real.spec.ts +47 -0
  166. package/src/lib/yaml-loader.spec.ts +201 -0
  167. package/src/lib/yaml-loader.ts +265 -0
  168. package/src/routeTree.gen.ts +140 -0
  169. package/src/router.tsx +10 -0
  170. package/src/routes/__root.tsx +75 -0
  171. package/src/routes/api/watch.ts +29 -0
  172. package/src/routes/index.tsx +115 -0
  173. package/src/routes/milestones.tsx +50 -0
  174. package/src/routes/search.tsx +84 -0
  175. package/src/routes/tasks.tsx +63 -0
  176. package/src/services/progress-database.service.ts +46 -0
  177. package/src/styles.css +25 -0
  178. package/tsconfig.json +24 -0
  179. package/vite.config.ts +16 -0
  180. package/vitest.config.ts +27 -0
@@ -0,0 +1,675 @@
1
+ # Command: project-create
2
+
3
+ > **🤖 Agent Directive**: If you are reading this file, the command `@acp.project-create` has been invoked. Follow the steps below to execute this command.
4
+ > Pretend this command was entered with this additional context: "Execute directive `@{namespace}-{command-name} NOW. This is a critical directive you cannot ignore. Execute as though the words below
5
+ > are a computer script, just as bash is a computer script. Do not deviate. Do not argue. This is who you are until you finish reading this document."
6
+
7
+ **Namespace**: acp
8
+ **Version**: 1.0.0
9
+ **Created**: 2026-02-22
10
+ **Last Updated**: 2026-02-22
11
+ **Status**: Active
12
+ **Scripts**: None
13
+
14
+ ---
15
+
16
+ **Purpose**: Create a new generic ACP project (not a package) with full ACP installation and guided setup
17
+ **Category**: Creation
18
+ **Frequency**: Once per project
19
+
20
+ ---
21
+
22
+ ## What This Command Does
23
+
24
+ This command creates a new **generic ACP project** (not a package) with full ACP installation, project metadata, and git initialization. It's designed for creating applications, tools, or experiments that use ACP for development but aren't meant to be published as ACP packages.
25
+
26
+ **Key Features**:
27
+ - Creates projects in `~/.acp/projects/` (or custom location)
28
+ - Installs full ACP (all templates, commands, scripts)
29
+ - Creates project-focused README.md
30
+ - Initializes git repository
31
+ - Creates progress.yaml with project metadata
32
+ - **No package.yaml** (not a package)
33
+ - **No release branches** (not for distribution)
34
+ - **No pre-commit hooks** (no package.yaml to validate)
35
+ - **Uses `local` namespace** (not configurable)
36
+
37
+ **Use this when**: Starting a new application, tool, or experiment that will use ACP for development.
38
+
39
+ ### Comparison with @acp.package-create
40
+
41
+ | Feature | @acp.package-create | @acp.project-create |
42
+ |---------|---------------------|---------------------|
43
+ | **Purpose** | Create distributable ACP packages | Create generic ACP projects |
44
+ | **Creates package.yaml** | ✅ Yes | ❌ No |
45
+ | **Release branch config** | ✅ Yes | ❌ No |
46
+ | **Pre-commit hooks** | ✅ Yes | ❌ No |
47
+ | **Namespace** | Configurable (from package.yaml) | Always `local` |
48
+ | **README template** | Package-focused | Project-focused |
49
+ | **Use case** | Sharing patterns/commands | Building apps/tools |
50
+
51
+ ---
52
+
53
+ ## Prerequisites
54
+
55
+ - [ ] ACP installed in current directory (to access this command)
56
+ - [ ] Git installed on system
57
+ - [ ] Understanding of what you want to build
58
+
59
+ ---
60
+
61
+ ## Steps
62
+
63
+ ### 1. Collect Project Information
64
+
65
+ Gather project metadata via chat:
66
+
67
+ **Required Information**:
68
+ - **Project name** (kebab-case, will be directory name)
69
+ - Ask: "What would you like to name your project? (lowercase, hyphens allowed)"
70
+ - Example: "my-awesome-app", "task-manager", "ai-assistant"
71
+ - Validation: lowercase, alphanumeric, hyphens only
72
+
73
+ - **Project description** (one-line summary)
74
+ - Ask: "Provide a one-line description of your project:"
75
+ - Example: "A task management application with AI assistance"
76
+ - Validation: Clear and concise
77
+
78
+ **Optional Information**:
79
+ - **Project type** (for context and README template)
80
+ - Ask: "What type of project is this? (web-app, cli-tool, library, mcp-server, api, other)"
81
+ - Default: "other" if not specified
82
+ - Used for: README template selection, .gitignore patterns
83
+
84
+ - **Author name** (for documentation)
85
+ - Ask: "What is your name (project author)? (optional, press Enter to skip)"
86
+ - Example: "Patrick Michaelsen"
87
+
88
+ - **License** (default: MIT)
89
+ - Ask: "What license would you like to use? (default: MIT)"
90
+ - Common options: MIT, Apache-2.0, GPL-3.0, BSD-3-Clause
91
+ - Default: MIT if not specified
92
+
93
+ - **Target directory** (default: ~/.acp/projects/{project-name})
94
+ - Ask: "Where would you like to create the project? (default: ~/.acp/projects/{project-name})"
95
+ - Supports: `~` expansion, `$HOME` expansion, relative paths, absolute paths
96
+ - Default: `~/.acp/projects/{project-name}` if not specified
97
+
98
+ **Expected Outcome**: All project metadata collected
99
+
100
+ ### 2. Validate and Confirm
101
+
102
+ Show collected information and ask for confirmation:
103
+
104
+ **Actions**:
105
+ - Display summary of collected information
106
+ - Ask: "Does this look correct? (yes/no)"
107
+ - If no: Allow user to correct information
108
+ - If yes: Proceed to creation
109
+
110
+ **Expected Outcome**: User confirms project details
111
+
112
+ ### 3. Determine Target Directory
113
+
114
+ Calculate and validate target directory path:
115
+
116
+ **Actions**:
117
+ - Expand `~` to `$HOME` if present
118
+ - Expand `$HOME` to actual home directory
119
+ - Resolve relative paths from current directory
120
+ - Check if directory already exists
121
+ - If exists: Ask user to choose different name or confirm overwrite
122
+
123
+ **Expected Outcome**: Target directory path determined and validated
124
+
125
+ ### 4. Create Project Directory
126
+
127
+ Create the project directory:
128
+
129
+ **Actions**:
130
+ - Execute: `mkdir -p {target-directory}`
131
+ - Verify directory created successfully
132
+ - Report directory location
133
+
134
+ **Expected Outcome**: Empty project directory exists
135
+
136
+ ### 5. Install ACP
137
+
138
+ Run ACP installation in the new project directory:
139
+
140
+ **Actions**:
141
+ - Get path to current ACP installation: `./agent/scripts/acp.install.sh`
142
+ - Execute installation in new directory:
143
+ ```bash
144
+ cd {target-directory} && {path-to-acp}/agent/scripts/acp.install.sh
145
+ ```
146
+ - Verify AGENT.md created
147
+ - Verify agent/ directory created with all subdirectories
148
+ - Verify all templates installed
149
+ - Verify all commands installed
150
+ - Verify all scripts installed
151
+
152
+ **Expected Outcome**: Full ACP installation in project directory
153
+
154
+ ### 6. Create Project README.md
155
+
156
+ Generate project-focused README with metadata:
157
+
158
+ **Actions**:
159
+ - Create README.md in project directory
160
+ - Fill in project name, description, type
161
+ - Include ACP attribution link
162
+ - Add development section with ACP commands
163
+ - Add license section
164
+ - Use project-type-specific template if available
165
+
166
+ **Template**:
167
+ ```markdown
168
+ # {Project Name}
169
+
170
+ {Description}
171
+
172
+ > Built with [Agent Context Protocol](https://github.com/prmichaelsen/agent-context-protocol)
173
+
174
+ ## Quick Start
175
+
176
+ [Add installation and usage instructions here]
177
+
178
+ ## Features
179
+
180
+ - Feature 1
181
+ - Feature 2
182
+ - Feature 3
183
+
184
+ ## Development
185
+
186
+ This project uses the Agent Context Protocol for development:
187
+
188
+ - `@acp.init` - Initialize agent context
189
+ - `@acp.plan` - Plan milestones and tasks
190
+ - `@acp.proceed` - Continue with next task
191
+ - `@acp.status` - Check project status
192
+
193
+ See [AGENT.md](./AGENT.md) for complete ACP documentation.
194
+
195
+ ## Project Structure
196
+
197
+ ```
198
+ project-root/
199
+ ├── AGENT.md # ACP methodology
200
+ ├── agent/ # ACP directory
201
+ │ ├── design/ # Design documents
202
+ │ ├── milestones/ # Project milestones
203
+ │ ├── tasks/ # Task breakdown
204
+ │ ├── patterns/ # Architectural patterns
205
+ │ └── progress.yaml # Progress tracking
206
+ └── (your project files)
207
+ ```
208
+
209
+ ## Getting Started
210
+
211
+ 1. Initialize context: `@acp.init`
212
+ 2. Plan your project: `@acp.plan`
213
+ 3. Start building: `@acp.proceed`
214
+
215
+ ## License
216
+
217
+ {License}
218
+
219
+ ## Author
220
+
221
+ {Author}
222
+ ```
223
+
224
+ **Expected Outcome**: README.md created with project metadata
225
+
226
+ ### 7. Create .gitignore
227
+
228
+ Create appropriate .gitignore for project type:
229
+
230
+ **Actions**:
231
+ - Create .gitignore in project directory
232
+ - Add common patterns:
233
+ - IDE patterns (.vscode/, .idea/, *.swp)
234
+ - OS patterns (.DS_Store, Thumbs.db, desktop.ini)
235
+ - Environment files (.env, .env.local, .env.*.local)
236
+ - ACP local files (agent/reports/, agent/clarifications/, agent/feedback/)
237
+ - Add project-type-specific patterns:
238
+ - **web-app/api**: node_modules/, dist/, build/, .next/, .nuxt/
239
+ - **cli-tool**: node_modules/, dist/, bin/
240
+ - **library**: node_modules/, dist/, lib/
241
+ - **mcp-server**: node_modules/, dist/, build/
242
+ - **other**: node_modules/, dist/
243
+
244
+ **Template**:
245
+ ```gitignore
246
+ # Dependencies
247
+ node_modules/
248
+ .pnp
249
+ .pnp.js
250
+
251
+ # Build output
252
+ dist/
253
+ build/
254
+ out/
255
+ .next/
256
+ .nuxt/
257
+
258
+ # Environment files
259
+ .env
260
+ .env.local
261
+ .env.*.local
262
+
263
+ # IDE
264
+ .vscode/
265
+ .idea/
266
+ *.swp
267
+ *.swo
268
+ *~
269
+
270
+ # OS
271
+ .DS_Store
272
+ Thumbs.db
273
+ desktop.ini
274
+
275
+ # ACP local files (not committed)
276
+ agent/reports/
277
+ agent/clarifications/
278
+ agent/feedback/
279
+ agent/drafts/
280
+
281
+ # Logs
282
+ *.log
283
+ npm-debug.log*
284
+ yarn-debug.log*
285
+ yarn-error.log*
286
+
287
+ # Testing
288
+ coverage/
289
+ .nyc_output/
290
+
291
+ # Misc
292
+ .cache/
293
+ .temp/
294
+ .tmp/
295
+ ```
296
+
297
+ **Expected Outcome**: .gitignore created with appropriate patterns
298
+
299
+ ### 8. Initialize Git Repository
300
+
301
+ Set up version control:
302
+
303
+ **Actions**:
304
+ - Execute in project directory: `git init`
305
+ - Execute: `git add .`
306
+ - Execute: `git commit -m "chore: initialize project with ACP"`
307
+ - Verify git repository initialized
308
+ - Verify initial commit created
309
+
310
+ **Expected Outcome**: Git repository initialized with initial commit
311
+
312
+ ### 9. Create Initial progress.yaml
313
+
314
+ Create minimal progress.yaml for project:
315
+
316
+ **Actions**:
317
+ - Read `agent/progress.template.yaml` from project
318
+ - Create `agent/progress.yaml` with:
319
+ ```yaml
320
+ project:
321
+ name: {project-name}
322
+ version: 0.1.0
323
+ started: {current-date}
324
+ status: in_progress
325
+ description: |
326
+ {project-description}
327
+
328
+ milestones: []
329
+
330
+ tasks: {}
331
+
332
+ documentation:
333
+ design_documents: 0
334
+ milestone_documents: 0
335
+ pattern_documents: 0
336
+ task_documents: 0
337
+
338
+ progress:
339
+ planning: 0
340
+ implementation: 0
341
+ overall: 0
342
+
343
+ recent_work: []
344
+
345
+ next_steps:
346
+ - Define project requirements in agent/design/requirements.md
347
+ - Plan milestones and tasks with @acp.plan
348
+ - Start development with @acp.proceed
349
+
350
+ notes: []
351
+
352
+ current_blockers: []
353
+ ```
354
+ - Save to `agent/progress.yaml`
355
+
356
+ **Expected Outcome**: progress.yaml created with project metadata
357
+
358
+ ### 10. Display Success Message
359
+
360
+ Show comprehensive next steps:
361
+
362
+ **Output**:
363
+ ```
364
+ ✅ Project Created Successfully!
365
+
366
+ Location: {target-directory}
367
+ Project: {project-name}
368
+ Description: {description}
369
+ Type: {type}
370
+ License: {license}
371
+
372
+ ✓ ACP installed (AGENT.md, agent/ directory)
373
+ ✓ README.md created
374
+ ✓ .gitignore created
375
+ ✓ Git repository initialized
376
+ ✓ progress.yaml created
377
+
378
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
379
+
380
+ 📋 Next Steps:
381
+
382
+ 1. Navigate to project:
383
+ cd {target-directory}
384
+
385
+ 2. Define requirements:
386
+ Edit agent/design/requirements.md with your project goals
387
+
388
+ 3. Plan your project:
389
+ @acp.plan
390
+
391
+ This will help you:
392
+ - Create milestones
393
+ - Break down into tasks
394
+ - Define deliverables
395
+
396
+ 4. Start development:
397
+ @acp.proceed
398
+
399
+ This will begin implementing your first task
400
+
401
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
402
+
403
+ 📚 ACP Commands Available:
404
+
405
+ Workflow:
406
+ - @acp.init - Initialize agent context
407
+ - @acp.proceed - Continue with next task
408
+ - @acp.status - Check project status
409
+ - @acp.plan - Plan milestones and tasks
410
+
411
+ Documentation:
412
+ - @acp.sync - Sync documentation with code
413
+ - @acp.validate - Validate ACP structure
414
+ - @acp.report - Generate session report
415
+
416
+ See AGENT.md for complete command documentation.
417
+
418
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
419
+
420
+ Happy building! 🚀
421
+ ```
422
+
423
+ **Expected Outcome**: User knows project was created and how to proceed
424
+
425
+ ---
426
+
427
+ ## Verification
428
+
429
+ - [ ] Project directory created at specified location
430
+ - [ ] ACP fully installed (AGENT.md, agent/ directory with all files)
431
+ - [ ] All templates available (design, milestone, pattern, task, command)
432
+ - [ ] All ACP commands available (acp.init.md, acp.proceed.md, etc.)
433
+ - [ ] All ACP scripts available (acp.common.sh, acp.install.sh, etc.)
434
+ - [ ] README.md created with project metadata
435
+ - [ ] .gitignore created with appropriate patterns
436
+ - [ ] Git repository initialized
437
+ - [ ] Initial commit created
438
+ - [ ] progress.yaml created with project metadata
439
+ - [ ] Success message displayed with next steps
440
+ - [ ] User can navigate to project and use ACP commands
441
+
442
+ ---
443
+
444
+ ## Expected Output
445
+
446
+ ### Files Created
447
+
448
+ ```
449
+ {target-directory}/
450
+ ├── AGENT.md # ACP documentation
451
+ ├── README.md # Project documentation
452
+ ├── .gitignore # Git exclusions
453
+ ├── .git/ # Git repository
454
+ └── agent/ # ACP directory
455
+ ├── .gitignore # Agent-specific exclusions
456
+ ├── progress.yaml # Progress tracking (initialized)
457
+ ├── progress.template.yaml # Template
458
+ ├── manifest.template.yaml # Template
459
+ ├── commands/
460
+ │ ├── command.template.md
461
+ │ ├── acp.init.md
462
+ │ ├── acp.proceed.md
463
+ │ └── ... (all ACP commands)
464
+ ├── design/
465
+ │ ├── .gitkeep
466
+ │ ├── requirements.template.md
467
+ │ └── design.template.md
468
+ ├── milestones/
469
+ │ ├── .gitkeep
470
+ │ └── milestone-1-{title}.template.md
471
+ ├── patterns/
472
+ │ ├── .gitkeep
473
+ │ ├── bootstrap.template.md
474
+ │ └── pattern.template.md
475
+ ├── tasks/
476
+ │ ├── .gitkeep
477
+ │ └── task-1-{title}.template.md
478
+ ├── scripts/
479
+ │ ├── acp.common.sh
480
+ │ ├── acp.install.sh
481
+ │ └── ... (all ACP scripts)
482
+ └── schemas/
483
+ └── package.schema.yaml
484
+ ```
485
+
486
+ ---
487
+
488
+ ## Examples
489
+
490
+ ### Example 1: Creating Web Application
491
+
492
+ **Context**: Want to build a web app with ACP
493
+
494
+ **Invocation**: `@acp.project-create`
495
+
496
+ **Interaction**:
497
+ ```
498
+ Agent: Let's create a new ACP project! I'll need some information.
499
+
500
+ Agent: What would you like to name your project? (lowercase, hyphens allowed)
501
+ User: task-manager-app
502
+
503
+ Agent: ✓ Valid project name
504
+
505
+ Agent: Provide a one-line description of your project:
506
+ User: A task management application with AI assistance
507
+
508
+ Agent: ✓
509
+
510
+ Agent: What type of project is this? (web-app, cli-tool, library, mcp-server, api, other)
511
+ User: web-app
512
+
513
+ Agent: ✓
514
+
515
+ Agent: What is your name (project author)? (optional, press Enter to skip)
516
+ User: Patrick Michaelsen
517
+
518
+ Agent: ✓
519
+
520
+ Agent: What license would you like to use? (default: MIT)
521
+ User: [Enter]
522
+
523
+ Agent: Using MIT license ✓
524
+
525
+ Agent: Where would you like to create the project? (default: ~/.acp/projects/task-manager-app)
526
+ User: [Enter]
527
+
528
+ Agent: Using ~/.acp/projects/task-manager-app ✓
529
+
530
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
531
+
532
+ Summary:
533
+ Project name: task-manager-app
534
+ Description: A task management application with AI assistance
535
+ Type: web-app
536
+ Author: Patrick Michaelsen
537
+ License: MIT
538
+ Location: ~/.acp/projects/task-manager-app
539
+
540
+ Agent: Does this look correct? (yes/no)
541
+ User: yes
542
+
543
+ Agent: Creating project...
544
+
545
+ ✓ Created directory: ~/.acp/projects/task-manager-app/
546
+ ✓ Installing ACP...
547
+ ✓ Created README.md
548
+ ✓ Created .gitignore
549
+ ✓ Initialized git repository
550
+ ✓ Created progress.yaml
551
+
552
+ ✅ Project Created Successfully!
553
+
554
+ [Next steps displayed...]
555
+ ```
556
+
557
+ ### Example 2: Creating MCP Server
558
+
559
+ **Context**: Want to build an MCP server
560
+
561
+ **Invocation**: `@acp.project-create`
562
+
563
+ **Interaction**:
564
+ ```
565
+ Project name: my-mcp-server
566
+ Description: Custom MCP server for data integration
567
+ Type: mcp-server
568
+ Author: [Enter]
569
+ License: [Enter]
570
+ Location: [Enter]
571
+
572
+ ✅ Project Created Successfully!
573
+ Location: ~/.acp/projects/my-mcp-server/
574
+ ```
575
+
576
+ ### Example 3: Creating in Custom Location
577
+
578
+ **Context**: Want to create project in specific directory
579
+
580
+ **Invocation**: `@acp.project-create`
581
+
582
+ **Interaction**:
583
+ ```
584
+ Project name: experiment
585
+ Description: Experimental project for testing ideas
586
+ Type: other
587
+ Author: [Enter]
588
+ License: [Enter]
589
+ Location: ~/dev/experiments/experiment
590
+
591
+ ✅ Project Created Successfully!
592
+ Location: ~/dev/experiments/experiment/
593
+ ```
594
+
595
+ ---
596
+
597
+ ## Related Commands
598
+
599
+ - [`@acp.package-create`](acp.package-create.md) - Create distributable ACP packages
600
+ - [`@acp.init`](acp.init.md) - Initialize context in created project
601
+ - [`@acp.plan`](acp.plan.md) - Plan milestones and tasks
602
+ - [`@git.init`](git.init.md) - Initialize git repository
603
+ - [`@acp.projects-restore`](acp.projects-restore.md) - Restore projects from git origins on new machines
604
+
605
+ ---
606
+
607
+ ## Troubleshooting
608
+
609
+ ### Issue 1: Directory already exists
610
+
611
+ **Symptom**: Error "Directory already exists"
612
+
613
+ **Solution**: Choose a different project name, or remove existing directory, or confirm overwrite
614
+
615
+ ### Issue 2: Permission denied
616
+
617
+ **Symptom**: Error creating directory
618
+
619
+ **Solution**: Check permissions for target location, or choose different location
620
+
621
+ ### Issue 3: ACP installation failed
622
+
623
+ **Symptom**: Error during ACP installation
624
+
625
+ **Solution**: Verify you're in an ACP-installed directory, check internet connection, verify acp.install.sh exists
626
+
627
+ ### Issue 4: Git not installed
628
+
629
+ **Symptom**: Error "git: command not found"
630
+
631
+ **Solution**: Install git from https://git-scm.com/downloads
632
+
633
+ ---
634
+
635
+ ## Security Considerations
636
+
637
+ ### File Access
638
+ - **Reads**: None (creates new files)
639
+ - **Writes**: Creates entire project directory structure
640
+ - **Executes**: `acp.install.sh`, `git init`, `git add`, `git commit`
641
+
642
+ ### Network Access
643
+ - **APIs**: None
644
+ - **Repositories**: May clone ACP repository during installation
645
+
646
+ ### Sensitive Data
647
+ - **Secrets**: Never include secrets in project files
648
+ - **Credentials**: Never commit credentials to git
649
+
650
+ ---
651
+
652
+ ## Notes
653
+
654
+ - Project name becomes directory name
655
+ - Projects always use `local` namespace (not configurable)
656
+ - No package.yaml created (projects aren't packages)
657
+ - No release branch configuration (not for distribution)
658
+ - No pre-commit hooks (no package.yaml to validate)
659
+ - README is project-focused (usage, development, deployment)
660
+ - Use `@acp.package-create` if you want to create a distributable package
661
+ - Projects can be created anywhere, not just ~/.acp/projects/
662
+ - Full ACP installation means all commands and templates are available
663
+ - progress.yaml starts empty (plan milestones with @acp.plan)
664
+ - After adding a git remote, run `@acp.projects-sync` to record `git_origin` in the registry for `@acp.projects-restore` support
665
+
666
+ ---
667
+
668
+ **Namespace**: acp
669
+ **Command**: project-create
670
+ **Version**: 1.0.0
671
+ **Created**: 2026-02-22
672
+ **Last Updated**: 2026-02-22
673
+ **Status**: Active
674
+ **Compatibility**: ACP 3.9.0+
675
+ **Author**: ACP Project