@triclaps/cli 0.0.4 → 0.0.6

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 (46) hide show
  1. package/index.js +12085 -9067
  2. package/package.json +1 -2
  3. package/skills/assignment-kickoff-orchestration/SKILL.md +0 -53
  4. package/skills/assignment-kickoff-orchestration/agents/openai.yaml +0 -4
  5. package/skills/assignment-kickoff-orchestration/references/kickoff-checklist.md +0 -23
  6. package/skills/chat-task-delivery/SKILL.md +0 -33
  7. package/skills/chat-task-delivery/agents/openai.yaml +0 -4
  8. package/skills/claps-cli/SKILL.md +0 -203
  9. package/skills/claps-cli/agents/openai.yaml +0 -4
  10. package/skills/claps-cli/references/capabilities.md +0 -96
  11. package/skills/execution-context-recovery/SKILL.md +0 -51
  12. package/skills/execution-context-recovery/agents/openai.yaml +0 -4
  13. package/skills/git-delivery/SKILL.md +0 -41
  14. package/skills/git-delivery/agents/openai.yaml +0 -4
  15. package/skills/manifest.json +0 -324
  16. package/skills/merge-closeout/SKILL.md +0 -46
  17. package/skills/merge-closeout/agents/openai.yaml +0 -4
  18. package/skills/planning-baseline/SKILL.md +0 -43
  19. package/skills/planning-baseline/agents/openai.yaml +0 -4
  20. package/skills/planning-baseline/references/state-examples.md +0 -75
  21. package/skills/planning-session-convergence/SKILL.md +0 -50
  22. package/skills/planning-session-convergence/agents/openai.yaml +0 -4
  23. package/skills/preview-gateway/SKILL.md +0 -58
  24. package/skills/preview-gateway/agents/openai.yaml +0 -4
  25. package/skills/project-admin/SKILL.md +0 -44
  26. package/skills/project-admin/agents/openai.yaml +0 -4
  27. package/skills/repo-binding-closure/SKILL.md +0 -54
  28. package/skills/repo-binding-closure/agents/openai.yaml +0 -4
  29. package/skills/repo-binding-closure/references/execution-lane-checklist.md +0 -27
  30. package/skills/review-handoff/SKILL.md +0 -40
  31. package/skills/review-handoff/agents/openai.yaml +0 -4
  32. package/skills/roadmap.json +0 -127
  33. package/skills/task-admin/SKILL.md +0 -59
  34. package/skills/task-admin/agents/openai.yaml +0 -4
  35. package/skills/task-contract-draft/SKILL.md +0 -80
  36. package/skills/task-contract-draft/agents/openai.yaml +0 -4
  37. package/skills/task-detail-lookup/SKILL.md +0 -51
  38. package/skills/task-detail-lookup/agents/openai.yaml +0 -4
  39. package/skills/task-pool-triage/SKILL.md +0 -56
  40. package/skills/task-pool-triage/agents/openai.yaml +0 -4
  41. package/skills/task-stage-summary-backfill/SKILL.md +0 -75
  42. package/skills/task-stage-summary-backfill/agents/openai.yaml +0 -4
  43. package/skills/user-story-delivery/SKILL.md +0 -76
  44. package/skills/user-story-delivery/agents/openai.yaml +0 -4
  45. package/skills/workspace-bootstrap/SKILL.md +0 -41
  46. package/skills/workspace-bootstrap/agents/openai.yaml +0 -4
@@ -1,324 +0,0 @@
1
- {
2
- "skills": [
3
- {
4
- "name": "claps-cli",
5
- "assetDirName": "claps-cli",
6
- "category": "runtime",
7
- "tags": ["delivery", "onboarding", "runtime"],
8
- "triggers": [
9
- "agent runtime setup or registration",
10
- "chat-to-task execution behavior",
11
- "CLI health checks or runtime sync"
12
- ],
13
- "summary": "Run CLAPS chat-to-task delivery, repo execution, and review handoff flows."
14
- },
15
- {
16
- "name": "chat-task-delivery",
17
- "assetDirName": "chat-task-delivery",
18
- "category": "workflow",
19
- "aliases": ["claps-execution"],
20
- "tags": ["chat", "delivery", "task"],
21
- "triggers": [
22
- "conversation should become tracked work",
23
- "chat clarification before execution",
24
- "task creation plus repo delivery handoff"
25
- ],
26
- "summary": "Drive CLAPS work from chat clarification through repo delivery."
27
- },
28
- {
29
- "name": "user-story-delivery",
30
- "assetDirName": "user-story-delivery",
31
- "category": "workflow",
32
- "tags": ["delivery", "planning", "story"],
33
- "triggers": [
34
- "story-first product work",
35
- "acceptance criteria or validation planning",
36
- "execution after story confirmation"
37
- ],
38
- "summary": "Confirm a user story, then turn it into tracked CLAPS delivery."
39
- },
40
- {
41
- "name": "planning-baseline",
42
- "assetDirName": "planning-baseline",
43
- "category": "workflow",
44
- "tags": ["chat", "convergence", "planning"],
45
- "triggers": [
46
- "project chat needs a planning baseline",
47
- "main-agent selection or draft convergence",
48
- "turning discussion into an executable plan"
49
- ],
50
- "summary": "Create or refine a CLAPS planning baseline from ongoing project chat."
51
- },
52
- {
53
- "name": "preview-gateway",
54
- "assetDirName": "preview-gateway",
55
- "category": "workflow",
56
- "tags": ["frontend", "preview", "qa"],
57
- "triggers": [
58
- "local UI needs a shareable URL",
59
- "browser QA or design review",
60
- "remote debugging through CLAPS preview"
61
- ],
62
- "summary": "Expose a local app through the CLAPS preview gateway."
63
- },
64
- {
65
- "name": "project-admin",
66
- "assetDirName": "project-admin",
67
- "category": "workflow",
68
- "tags": ["admin", "project", "repo"],
69
- "triggers": [
70
- "explicit project CRUD from the CLI",
71
- "project archive or repo-binding edits",
72
- "human session driven project administration"
73
- ],
74
- "summary": "List, inspect, create, archive, and bind projects through explicit CLAPS CLI commands."
75
- },
76
- {
77
- "name": "task-detail-lookup",
78
- "assetDirName": "task-detail-lookup",
79
- "category": "workflow",
80
- "tags": ["inspection", "lookup", "task"],
81
- "triggers": [
82
- "known task id needs current detail",
83
- "task status or workflow cross-check",
84
- "project and repo binding lookup for one task"
85
- ],
86
- "summary": "Fetch current CLAPS task detail, project metadata, and linked repo binding for a known task id."
87
- },
88
- {
89
- "name": "task-admin",
90
- "assetDirName": "task-admin",
91
- "category": "workflow",
92
- "tags": ["admin", "task", "workflow"],
93
- "triggers": [
94
- "explicit task CRUD from the CLI",
95
- "task transition or review outside chat control lines",
96
- "human session driven task administration"
97
- ],
98
- "summary": "Create, inspect, soft-delete, transition, and review CLAPS tasks through explicit CLI commands."
99
- },
100
- {
101
- "name": "task-contract-draft",
102
- "assetDirName": "task-contract-draft",
103
- "category": "workflow",
104
- "tags": ["contract", "draft", "task"],
105
- "triggers": [
106
- "internal CLAPS contract drafting request",
107
- "agent should write back a structured task contract draft",
108
- "task creation contract needs definition of done and acceptance criteria"
109
- ],
110
- "summary": "Draft a structured CLAPS task contract and submit it back through the explicit contract-draft CLI primitive."
111
- },
112
- {
113
- "name": "task-stage-summary-backfill",
114
- "assetDirName": "task-stage-summary-backfill",
115
- "category": "workflow",
116
- "tags": ["workflow", "stage", "backfill"],
117
- "triggers": [
118
- "internal CLAPS stage summary backfill request",
119
- "agent should reconstruct missing completed-stage summaries",
120
- "task detail asks the agent to backfill missing stage summaries"
121
- ],
122
- "summary": "Reconstruct missing completed-stage summaries from recorded task history and submit them back through the explicit stage-summary-backfill CLI primitive."
123
- },
124
- {
125
- "name": "workspace-bootstrap",
126
- "assetDirName": "workspace-bootstrap",
127
- "category": "workflow",
128
- "tags": ["execution", "repo", "workspace"],
129
- "triggers": [
130
- "repo binding validation",
131
- "clone or worktree preparation",
132
- "execution context setup before runtime"
133
- ],
134
- "summary": "Prepare clone, worktree, branch, and repo context before execution."
135
- },
136
- {
137
- "name": "repo-binding-closure",
138
- "assetDirName": "repo-binding-closure",
139
- "category": "workflow",
140
- "aliases": ["repo-binding"],
141
- "tags": ["execution", "repo", "setup"],
142
- "triggers": [
143
- "repo binding is missing or stale",
144
- "chat execution needs repo validation",
145
- "execution context depends on repo metadata"
146
- ],
147
- "summary": "Recover and persist the repo contract before CLAPS bootstraps execution."
148
- },
149
- {
150
- "name": "git-delivery",
151
- "assetDirName": "git-delivery",
152
- "category": "workflow",
153
- "tags": ["delivery", "git", "review"],
154
- "triggers": [
155
- "validated diff is ready to ship",
156
- "commit and push handoff",
157
- "review evidence packaging"
158
- ],
159
- "summary": "Stage, commit, push, and hand off repo changes with review evidence."
160
- },
161
- {
162
- "name": "review-handoff",
163
- "assetDirName": "review-handoff",
164
- "category": "workflow",
165
- "tags": ["delivery", "qa", "review"],
166
- "triggers": [
167
- "task needs review-gate evidence",
168
- "delivery summary back into CLAPS",
169
- "approval routing after implementation"
170
- ],
171
- "summary": "Package validation evidence, review gates, and next reviewers for CLAPS delivery."
172
- }
173
- ],
174
- "promptScopes": {
175
- "conversation_turn": {
176
- "primitives": [
177
- {
178
- "name": "no_reply",
179
- "owner": "runtime",
180
- "description": "Return the no-reply token when no response is needed so CLAPS can suppress unnecessary chat noise."
181
- },
182
- {
183
- "name": "topic_title",
184
- "owner": "runtime",
185
- "description": "Emit TOPIC_TITLE when the DM thread needs a durable conversation name."
186
- },
187
- {
188
- "name": "task_create",
189
- "owner": "runtime",
190
- "description": "Emit TASK_TITLE/TASK_SUMMARY plus optional CLAPS_WORKFLOW_JSON to create tracked work."
191
- },
192
- {
193
- "name": "workflow_patch",
194
- "owner": "runtime",
195
- "description": "Emit UPDATE_TASK_ID with CLAPS_WORKFLOW_JSON to patch an existing task workflow instead of creating a replacement task."
196
- },
197
- {
198
- "name": "task_start",
199
- "owner": "runtime",
200
- "description": "Emit START_TASK when an existing task should move into active execution now."
201
- },
202
- {
203
- "name": "task_mutation",
204
- "owner": "runtime",
205
- "description": "Emit CLAPS_TASK_ACTIONS_JSON to patch, assign, transition, or merge an existing task directly."
206
- },
207
- {
208
- "name": "follow_up_handoff",
209
- "owner": "runtime",
210
- "description": "Emit FOLLOW_UP_AGENT_IDS to hand the next turn to specific agents."
211
- }
212
- ],
213
- "skills": [
214
- {
215
- "name": "claps-cli",
216
- "reason": "This is the main CLAPS runtime playbook for turning chat into tracked delivery work.",
217
- "whenAll": ["conversation_reply_mode"]
218
- },
219
- {
220
- "name": "chat-task-delivery",
221
- "reason": "No visible workflow task is in focus yet, so the agent should move from clarification into tracked CLAPS work.",
222
- "whenAll": ["conversation_reply_mode", "conversation_missing_prompt_task"]
223
- },
224
- {
225
- "name": "user-story-delivery",
226
- "reason": "An existing task already uses the stricter story workflow and should follow that end-to-end playbook.",
227
- "whenAll": ["conversation_reply_mode", "conversation_prompt_task_user_story_workflow"]
228
- },
229
- {
230
- "name": "planning-baseline",
231
- "reason": "Project chat has repo-backed execution potential, so the next step may be converging a planning baseline before implementation.",
232
- "whenAll": [
233
- "conversation_reply_mode",
234
- "conversation_has_project",
235
- "conversation_missing_prompt_task"
236
- ]
237
- }
238
- ]
239
- },
240
- "assignment_execution": {
241
- "primitives": [
242
- {
243
- "name": "workspace_execution",
244
- "owner": "runtime",
245
- "description": "CLAPS prepares the worktree and execution context; the model should focus on repo changes inside that sandbox."
246
- },
247
- {
248
- "name": "progress_reporting",
249
- "owner": "runtime",
250
- "description": "CLAPS owns progress updates and execution-output streaming around the assignment run."
251
- },
252
- {
253
- "name": "artifact_capture",
254
- "owner": "runtime",
255
- "description": "CLAPS records artifacts and delivery evidence based on the execution result."
256
- },
257
- {
258
- "name": "task_stage_ledger",
259
- "owner": "runtime",
260
- "description": "CLAPS exposes explicit task stage primitives so the agent can create, update, complete, block, and reopen the coarse planning/execution/review/delivery ledger."
261
- },
262
- {
263
- "name": "review_result_recording",
264
- "owner": "runtime",
265
- "description": "CLAPS exposes an explicit structured review-result primitive so the agent or skill can persist pass/remediate/escalate outcomes instead of hiding that decision inside runtime flow."
266
- },
267
- {
268
- "name": "soft_guardrails",
269
- "owner": "runtime",
270
- "description": "CLAPS exposes review-readiness, delivery-readiness, and remediation-budget checks as callable primitives; the skill or agent decides when to invoke them and how to respond."
271
- },
272
- {
273
- "name": "delivery_submission",
274
- "owner": "runtime",
275
- "description": "CLAPS owns git submit, merge-request creation, and delivery-evidence capture once the repo work is ready."
276
- }
277
- ],
278
- "skills": [
279
- {
280
- "name": "claps-cli",
281
- "reason": "This is the main runtime playbook for repo-backed CLAPS execution, progress reporting, and delivery evidence."
282
- },
283
- {
284
- "name": "git-delivery",
285
- "reason": "Once implementation and minimal validation exist, the fastest path to review is staging, committing, pushing, and handing off concrete delivery evidence."
286
- },
287
- {
288
- "name": "user-story-delivery",
289
- "reason": "This assignment is still in story confirmation, so the stricter story-completion loop should finish before repo execution starts.",
290
- "whenAll": [
291
- "assignment_workflow_user_story_delivery",
292
- "assignment_workflow_story_confirmation"
293
- ]
294
- },
295
- {
296
- "name": "assignment-kickoff-orchestration",
297
- "reason": "Ownership, kickoff, and the first reporting loop must become explicit instead of staying implicit in a prepared branch/worktree.",
298
- "whenAny": [
299
- "assignment_execution_context_missing",
300
- "assignment_execution_context_prepared",
301
- "assignment_pending"
302
- ]
303
- },
304
- {
305
- "name": "execution-context-recovery",
306
- "reason": "The execution context may need repair or stabilization while work is already in flight.",
307
- "whenAny": [
308
- "assignment_execution_context_failed",
309
- "assignment_execution_context_running"
310
- ]
311
- },
312
- {
313
- "name": "planning-session-convergence",
314
- "reason": "The execution plan may still be under-specified, so the agent should converge scope and next steps instead of guessing.",
315
- "whenAny": [
316
- "assignment_workflow_story_confirmation",
317
- "assignment_workflow_plan_missing",
318
- "assignment_workflow_plan_empty"
319
- ]
320
- }
321
- ]
322
- }
323
- }
324
- }
@@ -1,46 +0,0 @@
1
- ---
2
- name: merge-closeout
3
- description: >
4
- Use this skill when CLAPS work has already reached reviewable repo state and
5
- now needs merge readiness, post-approval closeout, status sync back into the
6
- task or conversation, and explicit completion or follow-up handling.
7
- tags:
8
- - delivery
9
- - merge
10
- - review
11
- ---
12
-
13
- # merge-closeout
14
-
15
- Use this skill after implementation and review handoff are done, when the remaining risk is closing the loop cleanly instead of writing more code.
16
-
17
- ## Goals
18
-
19
- - Turn approved repo work into a completed CLAPS outcome.
20
- - Keep merge, deploy, and conversation status aligned.
21
- - Surface blockers clearly when approval, CI, or provider actions are still pending.
22
-
23
- ## Flow
24
-
25
- 1. Confirm merge readiness
26
- Check the branch, review state, required validations, and whether any blocking comments or failing checks remain.
27
-
28
- 2. Capture the landing action
29
- Record whether the change should be merged now, queued behind another dependency, or left for a human approver.
30
-
31
- 3. Sync task state
32
- Update the CLAPS task, assignment, or conversation summary with the final repo outcome:
33
- - merged
34
- - awaiting approval
35
- - blocked on CI
36
- - blocked on provider action
37
-
38
- 4. Close the loop
39
- Post the final summary with what landed, what was validated, and what remains after merge, such as deploy verification or rollout watch.
40
-
41
- ## Guidance
42
-
43
- - Do not claim the work is complete when the branch is only pushed.
44
- - Keep merge blockers explicit and actionable.
45
- - If merge automation is unavailable, still leave exact branch, MR, and next-owner context behind.
46
- - If deployment is part of done, hand off explicitly to the deploy or canary workflow instead of implying it happened automatically.
@@ -1,4 +0,0 @@
1
- interface:
2
- display_name: "merge-closeout"
3
- short_description: "Close the loop after review with merge-ready status and task sync"
4
- default_prompt: "Use merge-closeout when a CLAPS task is already reviewable and now needs merge readiness, post-approval state sync, and a clean final handoff."
@@ -1,43 +0,0 @@
1
- ---
2
- name: planning-baseline
3
- description: >
4
- Use this skill when a CLAPS project thread or execution lane needs a planning
5
- baseline, including first-pass scope capture, main-agent selection, draft
6
- convergence, and turning discussion into an executable plan.
7
- ---
8
-
9
- # planning-baseline
10
-
11
- Use this skill when project chat has enough signal to stop being vague discussion and start becoming an execution baseline.
12
-
13
- ## Goals
14
-
15
- - Turn scattered project chat into a concrete planning baseline.
16
- - Capture the minimum useful scope, constraints, and open questions before execution starts.
17
- - Surface whether a main agent should own convergence or whether more discussion is still needed.
18
-
19
- ## Flow
20
-
21
- 1. Read the current thread state
22
- Collect the problem statement, intended outcome, constraints, decisions already made, and any blocking ambiguities still visible in chat.
23
-
24
- 2. Define the baseline
25
- Write the baseline around user value, delivery boundary, validation path, and the smallest coherent execution slice.
26
-
27
- 3. Choose ownership
28
- If one agent should drive convergence, make that explicit. If the conversation still needs human input, say exactly what is missing instead of pretending the plan is ready.
29
-
30
- 4. Separate open questions from scope
31
- Do not bury unresolved decisions inside the main plan. Keep them as explicit questions, risks, or follow-up items.
32
-
33
- 5. Hand off to tracked execution
34
- Once the baseline is coherent, move the work into the relevant CLAPS task or planning session so later execution is anchored to a stable plan.
35
-
36
- ## Guidance
37
-
38
- - Prefer a narrow executable baseline over a broad aspirational outline.
39
- - If repo binding, validation strategy, or ownership is unclear, mark that explicitly.
40
- - When the project already has a planning baseline, refine it instead of replacing it wholesale.
41
- - Keep the baseline compatible with later `workspace-bootstrap`, `user-story-delivery`, and `review-handoff` steps.
42
-
43
- Read [references/state-examples.md](references/state-examples.md) when you need the current planning-session fields, commit transition, or the handoff shape into repo binding and execution context.
@@ -1,4 +0,0 @@
1
- interface:
2
- display_name: "planning-baseline"
3
- short_description: "Create or refine a CLAPS planning baseline from project chat"
4
- default_prompt: "Use planning-baseline when a CLAPS project thread needs scope capture, main-agent selection, draft convergence, and an execution-ready baseline."
@@ -1,75 +0,0 @@
1
- # Planning Baseline State Examples
2
-
3
- Use this note when `planning-baseline` needs the current CLAPS object shape instead of relying on memory.
4
-
5
- ## Planning Session Contract
6
-
7
- Current request fields:
8
-
9
- - `projectId`: nullable on create, but project chat usually passes the active project id.
10
- - `mainAgentId`: required agent that should own convergence.
11
- - `title`: short baseline title.
12
- - `goal`: nullable summary of the intended outcome.
13
-
14
- Current stored states:
15
-
16
- - `draft`: initial planning baseline.
17
- - `committed`: baseline accepted and ready to anchor later execution.
18
- - `archived`: historical baseline that should not drive new execution.
19
-
20
- Important stored fields after creation or commit:
21
-
22
- - `latestSummary`: newest committed summary.
23
- - `committedAt`: set when the session moves to `committed`.
24
- - `updatedAt`: use this to decide whether a later draft actually replaced the baseline.
25
-
26
- ## Typical Flow
27
-
28
- 1. Create a draft planning session for the active project and chosen main agent.
29
- 2. Refine the title, goal, scope boundary, validation path, and open questions.
30
- 3. Commit the session with a short summary once the baseline is executable.
31
- 4. Use the committed session as the source for repo binding and later execution-context preparation.
32
-
33
- ## API Example
34
-
35
- Create:
36
-
37
- ```json
38
- {
39
- "mainAgentId": "agent_123",
40
- "title": "Plan the repo loop",
41
- "goal": "Produce a repo-bound execution plan"
42
- }
43
- ```
44
-
45
- Commit:
46
-
47
- ```json
48
- {
49
- "summary": "Committed the first task contract draft."
50
- }
51
- ```
52
-
53
- Committed response shape to expect:
54
-
55
- ```json
56
- {
57
- "session": {
58
- "projectId": "project_123",
59
- "mainAgentId": "agent_123",
60
- "status": "committed",
61
- "latestSummary": "Committed the first task contract draft."
62
- }
63
- }
64
- ```
65
-
66
- ## Handoff Expectations
67
-
68
- Once a planning baseline is committed, the next CLAPS-native questions are usually:
69
-
70
- - Is there a `project_repo_binding` yet?
71
- - Is the default branch known?
72
- - Does the repo need a monorepo `rootPath`?
73
- - Is there already an assignment that can own the first `execution_context`?
74
-
75
- Do not pretend planning is complete if those execution handoff questions are still blockers. Keep them explicit so `workspace-bootstrap` and `execution-context-recovery` inherit a stable baseline instead of a vague conversation.
@@ -1,50 +0,0 @@
1
- ---
2
- name: planning-session-convergence
3
- description: >
4
- Use this skill when project or channel chat has already produced planning
5
- fragments, but CLAPS still lacks one converged planning_session or baseline
6
- that a main agent can execute from. This covers reconciling competing drafts,
7
- locking the execution boundary, naming the owner, and handing the result into
8
- planning-baseline or repo execution without losing the good parts of chat.
9
- tags:
10
- - chat
11
- - convergence
12
- - planning
13
- ---
14
-
15
- # planning-session-convergence
16
-
17
- Use this skill when planning is happening in public and the problem is no longer "what should we discuss?" but "which plan is now real enough to execute?"
18
-
19
- ## Goals
20
-
21
- - Collapse overlapping planning fragments into one reusable CLAPS planning contract.
22
- - Preserve the good ideas from channel discussion without leaving the operator with multiple half-valid drafts.
23
- - Hand off to `planning-baseline`, `repo-binding-closure`, or `workspace-bootstrap` with one clear owner and next step.
24
-
25
- ## Flow
26
-
27
- 1. Read the current planning state
28
- Collect the latest planning baseline, main-agent choice, open questions, repo assumptions, validation target, and any competing proposals still floating in chat.
29
-
30
- 2. Separate solved from unresolved
31
- Call out:
32
- - what the team already agrees on
33
- - which decisions are still blocking execution
34
- - where two drafts disagree on scope, ownership, repo, or validation
35
-
36
- 3. Force convergence
37
- Pick the narrowest plan that is executable now, or ask the smallest remaining questions needed to get there.
38
-
39
- 4. Write back one source of truth
40
- Update the planning baseline or planning session so later agents do not need to infer "which draft won" from chat history.
41
-
42
- 5. Route the next step explicitly
43
- Hand off to `repo-binding-closure`, `execution-context-recovery`, or the normal delivery path based on the remaining blocker.
44
-
45
- ## Guidance
46
-
47
- - Do not let multiple planning drafts coexist once execution is about to start.
48
- - Preserve strong ideas as explicit options or follow-up tasks instead of losing them in summary prose.
49
- - If ownership is still unclear, stop and resolve that before pretending the plan is converged.
50
- - If the only remaining disagreement is sequencing, choose the smallest executable slice and record the rest as follow-up.
@@ -1,4 +0,0 @@
1
- interface:
2
- display_name: "planning-session-convergence"
3
- short_description: "Converge competing planning fragments into one executable CLAPS baseline"
4
- default_prompt: "Use planning-session-convergence when project or channel chat has multiple planning fragments and CLAPS needs one converged planning baseline, owner, and next step before execution."
@@ -1,58 +0,0 @@
1
- ---
2
- name: preview-gateway
3
- description: >
4
- Use this skill when a local web app needs a shareable CLAPS preview URL for
5
- browser QA, design review, or remote debugging through the preview gateway.
6
- ---
7
-
8
- # preview-gateway
9
-
10
- Use this flow when an agent needs to expose a localhost web service through CLAPS for browser preview or design or QA review.
11
-
12
- ## Recommended flow
13
-
14
- 1. Start the local web service
15
- Run the app locally and confirm it responds before exposing it.
16
- - Typical example: `localhost:8000`
17
- - If the app is not reachable locally first, the CLAPS preview URL will not fix it.
18
-
19
- 2. Register and expose
20
- Run `claps-cli preview expose --app-slug my-app --port 8000`.
21
- - Make sure `CLAPS_AGENT_TOKEN` is present first.
22
- - Use a stable `app-slug` for repeated QA or design review runs.
23
- - If you need to override the deployed gateway host, also set `CLAPS_GATEWAY_BASE_URL`.
24
-
25
- 3. Keep the tunnel open
26
- The command registers the preview app with CLAPS, prints the public URL, and keeps the reverse tunnel alive for both HTTP and websocket traffic.
27
-
28
- 4. Share the public URL
29
- Use the returned gateway URL for browser testing, QA, or design review.
30
- - After the URL is live, hand off to the relevant playbook such as `qa`, `design-review`, or `design-consultation`.
31
- - If the preview is meant to support repo delivery, include the URL in task updates or review evidence.
32
-
33
- 5. Inspect or clean up registrations
34
- Use the lifecycle commands when you need to verify or close a preview registration.
35
- - `claps-cli preview list` shows the registered preview apps for the current actor.
36
- - `claps-cli preview status --app-id <id>` shows whether the gateway currently sees the reverse tunnel as online or offline.
37
- - `claps-cli preview remove --app-id <id>` removes a stale registration after the preview is no longer needed.
38
-
39
- 6. Stop the preview
40
- Terminate the command when you no longer want the preview to be reachable.
41
-
42
- ## Validation checklist
43
-
44
- Before treating the preview as usable, confirm all of the following:
45
-
46
- - the local app is reachable on the expected host and port
47
- - `claps-cli preview expose ...` prints a public URL without auth or registration errors
48
- - `claps-cli preview list` or `preview status` shows the registration you just created
49
- - the public URL loads the intended page, not just the tunnel landing response
50
- - websocket features still work if the app depends on them
51
-
52
- ## Common failure modes
53
-
54
- - Missing `CLAPS_AGENT_TOKEN`, which prevents preview registration entirely
55
- - Exposing the wrong port or host, especially when the app is not actually listening on `127.0.0.1`
56
- - Closing the CLI process and forgetting that the preview URL dies with it
57
- - Forgetting to remove stale preview registrations after the tunnel process is gone
58
- - Sharing the URL before checking that the tunneled page matches the local app state
@@ -1,4 +0,0 @@
1
- interface:
2
- display_name: "preview-gateway"
3
- short_description: "Expose a local app through the CLAPS preview gateway"
4
- default_prompt: "Use preview-gateway when local UI work needs a shareable CLAPS URL for browser testing, QA, or design review."
@@ -1,44 +0,0 @@
1
- ---
2
- name: project-admin
3
- description: >
4
- Use this skill when a user wants explicit CLAPS project administration from
5
- the CLI: listing projects, fetching one project, creating a project,
6
- archiving a project, or reading/updating a project repo binding with a human
7
- session token.
8
- tags:
9
- - admin
10
- - project
11
- - repo
12
- ---
13
-
14
- # project-admin
15
-
16
- Use this skill when the operator wants deterministic project commands instead of a chat-driven workflow.
17
-
18
- ## Command surface
19
-
20
- ```bash
21
- claps-cli session login [--email <email>] [--display-name <name>] [--org-id <id>] [--org-slug <slug>]
22
- claps-cli projects [--json] [--session-token <token>] [--api-base-url <url>]
23
- claps-cli project get --project-id <project-id> [--json] [--session-token <token>] [--api-base-url <url>]
24
- claps-cli project create --name <name> [--slug <slug>] [--description <text>] [--owner-member-id <member-id>] [--default-priority <critical|high|medium|low>] [--json] [--session-token <token>] [--api-base-url <url>]
25
- claps-cli project archive --project-id <project-id> [--json] [--session-token <token>] [--api-base-url <url>]
26
- claps-cli project repo-binding get --project-id <project-id> [--json] [--session-token <token>] [--api-base-url <url>]
27
- claps-cli project repo-binding set --project-id <project-id> --repo-owner <owner> --repo-name <name> --repo-url <url> [--provider <github|github_enterprise|gitlab|gitlab_selfhost>] [--default-branch <branch>] [--root-path <path>] [--is-monorepo <true|false>] [--auth-type <none|token|oauth|app>] [--json] [--session-token <token>] [--api-base-url <url>]
28
- ```
29
-
30
- ## Flow
31
-
32
- 1. If the caller does not already have a human session token, mint one first with `claps-cli session login`.
33
- 2. Use `claps-cli projects` for discovery and `claps-cli project get` when one project needs an authoritative snapshot.
34
- 3. Use `claps-cli project create` for deterministic setup instead of creating placeholder projects in chat.
35
- 4. Use `claps-cli project repo-binding get|set` when the task is explicit repo contract administration, not a broader execution rescue workflow.
36
- 5. Use `claps-cli project archive` when the caller really means soft-delete/archive. Do not describe this as a hard delete.
37
-
38
- ## Rules
39
-
40
- - Prefer this skill when the user wants a direct project mutation with known parameters.
41
- - Prefer `repo-binding-closure` when execution is blocked and the repo contract must be recovered in context, not simply edited as a project admin action.
42
- - Prefer `planning-baseline` when the real bottleneck is project shaping or planning-session convergence rather than project metadata mutation.
43
- - Be explicit that project deletion is currently archive semantics.
44
- - Do not invent a project update command; the current explicit CLI surface does not expose one yet.