@punks/cli 2.5.2 → 2.5.4
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/dist/BASELINE_CHANGELOG.md +48 -0
- package/dist/CHANGELOG.md +60 -0
- package/dist/index.js +100 -7
- package/dist/skills/agnostic/backend/backend-domain-structure/SKILL.md +18 -6
- package/dist/skills/agnostic/backend/backend-domain-structure/references/layout.md +61 -3
- package/dist/skills/frameworks/pulumi/package-usage/SKILL.md +49 -0
- package/dist/skills/frameworks/pulumi/package-usage/agents/openai.yaml +4 -0
- package/dist/skills/frameworks/pulumi/package-usage/use_cases.yaml +15 -0
- package/dist/skills/frameworks/pulumi/provider-upgrade/SKILL.md +332 -0
- package/dist/skills/frameworks/pulumi/provider-upgrade/agents/openai.yaml +4 -0
- package/dist/skills/frameworks/pulumi/provider-upgrade/references/diagnostic-toolbox.md +131 -0
- package/dist/skills/frameworks/pulumi/provider-upgrade/use_cases.yaml +28 -0
- package/dist/skills/frameworks/pulumi/pulumi-automation-api/SKILL.md +320 -0
- package/dist/skills/frameworks/pulumi/pulumi-automation-api/agents/openai.yaml +4 -0
- package/dist/skills/frameworks/pulumi/pulumi-automation-api/use_cases.yaml +7 -0
- package/dist/skills/frameworks/pulumi/pulumi-best-practices/SKILL.md +501 -0
- package/dist/skills/frameworks/pulumi/pulumi-best-practices/agents/openai.yaml +4 -0
- package/dist/skills/frameworks/pulumi/pulumi-best-practices/use_cases.yaml +7 -0
- package/dist/skills/frameworks/pulumi/pulumi-component/SKILL.md +830 -0
- package/dist/skills/frameworks/pulumi/pulumi-component/agents/openai.yaml +4 -0
- package/dist/skills/frameworks/pulumi/pulumi-component/use_cases.yaml +19 -0
- package/dist/skills/frameworks/pulumi/pulumi-esc/SKILL.md +281 -0
- package/dist/skills/frameworks/pulumi/pulumi-esc/agents/openai.yaml +4 -0
- package/dist/skills/frameworks/pulumi/pulumi-esc/use_cases.yaml +30 -0
- package/dist/skills/frameworks/pulumi/pulumi-overview/SKILL.md +289 -0
- package/dist/skills/frameworks/pulumi/pulumi-overview/use_cases.yaml +50 -0
- package/dist/skills/phases/bug-discovery-phase/SKILL.md +1 -0
- package/dist/skills/phases/bug-discovery-phase/agents/openai.yaml +2 -0
- package/dist/skills/phases/bug-resolution-phase/SKILL.md +1 -0
- package/dist/skills/phases/bug-resolution-phase/agents/openai.yaml +2 -0
- package/dist/skills/phases/delivery-phase/SKILL.md +1 -0
- package/dist/skills/phases/delivery-phase/agents/openai.yaml +2 -0
- package/dist/skills/phases/design-phase/SKILL.md +3 -2
- package/dist/skills/phases/design-phase/agents/openai.yaml +2 -0
- package/dist/skills/phases/design-phase/phases/delivery-handoff.md +5 -5
- package/dist/skills/phases/finder-phase/SKILL.md +1 -0
- package/dist/skills/phases/finder-phase/agents/openai.yaml +2 -0
- package/dist/skills/phases/goalify/SKILL.md +18 -54
- package/dist/skills/phases/requirements-phase/SKILL.md +1 -0
- package/dist/skills/phases/requirements-phase/agents/openai.yaml +2 -0
- package/dist/skills/phases/resolve-debt-phase/SKILL.md +7 -5
- package/dist/skills/phases/resolve-debt-phase/agents/openai.yaml +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Queries that should activate the pulumi-overview skill.
|
|
2
|
+
#
|
|
3
|
+
# This skill is the entry-point router across the three Pulumi surfaces:
|
|
4
|
+
# L1 - ad-hoc, single-resource operations from the CLI (no project)
|
|
5
|
+
# L2 - Pulumi projects in a language
|
|
6
|
+
# L3 - Pulumi Cloud (ESC, policy, deployments, drift, schedules)
|
|
7
|
+
#
|
|
8
|
+
# L1 queries below are mostly plain infrastructure requests, the way a user
|
|
9
|
+
# (or non-Pulumi-aware agent) would naturally phrase them. Two L1 queries
|
|
10
|
+
# explicitly mention `pulumi do` to confirm that phrasing also routes here.
|
|
11
|
+
queries:
|
|
12
|
+
# L1 - ad-hoc single-resource infrastructure
|
|
13
|
+
- "Use pulumi do to create a Cloudflare DNS record"
|
|
14
|
+
- "Provision a one-off Auth0 application"
|
|
15
|
+
- "Register a Vercel deployment's domain in Cloudflare"
|
|
16
|
+
- "Set up a Datadog monitor"
|
|
17
|
+
- "Delete the S3 bucket I created earlier with pulumi do"
|
|
18
|
+
- "Provision an Azure virtual machine"
|
|
19
|
+
- "Create a Kubernetes namespace"
|
|
20
|
+
- "Spin up a single S3 bucket"
|
|
21
|
+
|
|
22
|
+
# L1 - multi-provider bootstrapping in one place
|
|
23
|
+
- "I need to provision an S3 bucket and point a Cloudflare DNS record at it"
|
|
24
|
+
- "Stand up a GCP storage bucket and a Datadog monitor for it in one go"
|
|
25
|
+
- "Bootstrap infrastructure across AWS, Cloudflare, and Auth0 from one CLI"
|
|
26
|
+
- "Set up infrastructure that spans AWS, GCP, and Cloudflare in one workflow"
|
|
27
|
+
- "Ad-hoc cloud resource CRUD across multiple providers without writing code"
|
|
28
|
+
|
|
29
|
+
# L2 - new project, picking the right level
|
|
30
|
+
- "Start a new Pulumi project in TypeScript for our AWS infrastructure"
|
|
31
|
+
- "Bootstrap a Pulumi project that provisions a VPC, subnets, and an EKS cluster"
|
|
32
|
+
- "Set up a Pulumi program for a multi-region application"
|
|
33
|
+
|
|
34
|
+
# L2 - graduating from L1 ad-hoc work
|
|
35
|
+
- "Move resources from a default stack into a named Pulumi project"
|
|
36
|
+
- "I've been creating resources with pulumi do, now I want to move them into a real Pulumi project"
|
|
37
|
+
|
|
38
|
+
# L3 - drift, policy, hosted runs
|
|
39
|
+
- "Set up nightly drift detection on my Pulumi production stack"
|
|
40
|
+
- "Add policy enforcement to our Pulumi previews"
|
|
41
|
+
- "Run my Pulumi updates in Pulumi Cloud instead of on a CI runner"
|
|
42
|
+
|
|
43
|
+
# Lifecycle - tear-down
|
|
44
|
+
- "Tear down our staging environment in Pulumi"
|
|
45
|
+
- "Destroy the dev stack and all the resources it created"
|
|
46
|
+
|
|
47
|
+
# Onboarding / first contact
|
|
48
|
+
- "I'm an agent that needs to use Pulumi -- where do I start?"
|
|
49
|
+
- "I'm an AI coding agent setting up Pulumi for the first time, what do I need to know?"
|
|
50
|
+
- "I'm new to Pulumi -- how do I structure a project for dev, staging, and prod stacks?"
|
|
@@ -4,6 +4,7 @@ description: >-
|
|
|
4
4
|
Runs AFK ClawPatch bug discovery, reporting, and triage without source
|
|
5
5
|
mutation. Use for ClawPatch discovery, broad bug discovery, bug lifecycle
|
|
6
6
|
triage, finding ledgers, AFK bug review, or durable bug reports.
|
|
7
|
+
disable-model-invocation: true
|
|
7
8
|
---
|
|
8
9
|
|
|
9
10
|
# Bug Discovery Phase
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: delivery-phase
|
|
3
3
|
description: Routes a scoped delivery goal to the next lifecycle phase from current artifacts and evidence. Use when delivering, resuming, or closing a goal that may pass through spec, plan, implementation, review, debugging, docs ingest, and closeout.
|
|
4
|
+
disable-model-invocation: true
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Delivery Phase
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: design-phase
|
|
3
3
|
description: Routes product design work through evidence intake, lean grill, prototype, approval, backlog, and delivery handoff.
|
|
4
|
+
disable-model-invocation: true
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Design Phase
|
|
@@ -24,7 +25,7 @@ Completion of one phase does not imply loading the rest.
|
|
|
24
25
|
- **Prototype:** produce the requested image reference or prototype artifact.
|
|
25
26
|
- **Approval:** record accepted artifacts per user-visible scope unit.
|
|
26
27
|
- **Backlog:** convert approved artifacts into backlog context.
|
|
27
|
-
- **Delivery handoff:**
|
|
28
|
+
- **Delivery handoff:** prepare the approved brief for explicit user invocation of `$delivery-phase`.
|
|
28
29
|
|
|
29
30
|
Direct entry into any mode still starts at the router.
|
|
30
31
|
|
|
@@ -36,7 +37,7 @@ Direct entry into any mode still starts at the router.
|
|
|
36
37
|
- [phases/prototype.md](phases/prototype.md): delegate artifact production.
|
|
37
38
|
- [phases/approval.md](phases/approval.md): record approved artifact sets.
|
|
38
39
|
- [phases/backlog.md](phases/backlog.md): call `write-backlog` with artifact context.
|
|
39
|
-
- [phases/delivery-handoff.md](phases/delivery-handoff.md):
|
|
40
|
+
- [phases/delivery-handoff.md](phases/delivery-handoff.md): present the brief and stop for explicit user invocation of `$delivery-phase`.
|
|
40
41
|
|
|
41
42
|
## Rules
|
|
42
43
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Delivery Handoff Phase
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Prepare approved design context for explicit user invocation of `$delivery-phase`.
|
|
4
4
|
|
|
5
5
|
## Prerequisite
|
|
6
6
|
|
|
@@ -12,18 +12,18 @@ Fresh backlog ids plus approved artifact set links.
|
|
|
12
12
|
2. Include frontend taste skills expected during implementation: `design-taste-frontend`, `gpt-taste`, and relevant web/mobile image or prototype context.
|
|
13
13
|
3. Include browser or screenshot validation expectations.
|
|
14
14
|
4. Include before/after PR evidence guidance and require durable links through `repo-asset-management`.
|
|
15
|
-
5.
|
|
15
|
+
5. Present the delivery brief, tell the user to invoke `$delivery-phase` explicitly with it, and stop.
|
|
16
16
|
|
|
17
17
|
## Rules
|
|
18
18
|
|
|
19
|
-
- `delivery-handoff`
|
|
19
|
+
- `delivery-handoff` does not load or start `delivery-phase`; only the user can invoke it explicitly.
|
|
20
20
|
- Do not re-open design approval during delivery unless artifacts are stale or contradicted.
|
|
21
21
|
- Local temp files and transient browser URLs are not final evidence.
|
|
22
22
|
|
|
23
23
|
## Output
|
|
24
24
|
|
|
25
|
-
- Delivery
|
|
25
|
+
- Delivery handoff brief.
|
|
26
26
|
- Backlog ids.
|
|
27
27
|
- Approved artifact links.
|
|
28
28
|
- Before/after evidence expectations.
|
|
29
|
-
- Phase handoff with next
|
|
29
|
+
- Phase handoff with next action: explicit user invocation of `$delivery-phase`.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: finder-phase
|
|
3
3
|
description: Route loose oversized foggy work before requirements or delivery. Use when an idea is too large for one agent session, wrapped in fog, or needs backlog-native frontier shaping before requirements-phase.
|
|
4
|
+
disable-model-invocation: true
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Finder Phase
|
|
@@ -1,68 +1,32 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: goalify
|
|
3
|
-
description: Goalify messy intent by
|
|
3
|
+
description: Goalify messy intent by generating and activating one lean goal immediately, then continuing work under it.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Goalify
|
|
7
7
|
|
|
8
|
-
`goalify`
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Invocation is permission to activate now. Do not stop at printing a `/goal`
|
|
13
|
-
prompt or reporting the contract when a goal tool is available.
|
|
14
|
-
|
|
15
|
-
Be very lean. Target the shortest contract that can run without re-asking.
|
|
16
|
-
Hard limit: text after `/goal` must be non-empty and <= 4,000 characters. If
|
|
17
|
-
detail will not fit, point at a file instead of pasting overflow.
|
|
18
|
-
|
|
19
|
-
## Activation
|
|
20
|
-
|
|
21
|
-
- Always activate spot on: write the goal, call the available goal activation
|
|
22
|
-
tool immediately, then continue the user's task under that active goal.
|
|
23
|
-
- If the task is tiny, unresolved, or lacks one objective, proof signal, and
|
|
24
|
-
stop condition, ask one clarifying question.
|
|
25
|
-
- If activation is unavailable, return the ready `/goal ...` prompt and name
|
|
26
|
-
that blocker.
|
|
27
|
-
|
|
28
|
-
## Goal Contract
|
|
29
|
-
|
|
30
|
-
Include only what the runner needs:
|
|
31
|
-
|
|
32
|
-
- one durable objective
|
|
33
|
-
- read-first refs: exact paths, issues, URLs, logs, artifacts
|
|
34
|
-
- boundaries: scope, non-goals, constraints, guardrails
|
|
35
|
-
- terse workflow checkpoints with named skills/tools/phases from context
|
|
36
|
-
- proof: commands, scenarios, artifacts, logs, or other done evidence
|
|
37
|
-
- stop: done condition, early-stop blocker, final report expectation
|
|
38
|
-
|
|
39
|
-
Cut background, section catalogs, and repeated rationale. Preserve concrete
|
|
40
|
-
paths, commands, ids, URLs, artifacts, and invariants.
|
|
8
|
+
`goalify` generates and activates the goal in one move, immediately. Invocation
|
|
9
|
+
is permission to create the active goal now and continue the user's task under
|
|
10
|
+
it.
|
|
41
11
|
|
|
42
12
|
## Workflow
|
|
43
13
|
|
|
44
14
|
1. Read supplied handoffs, specs, issues, logs, examples, and scoped repo
|
|
45
|
-
guidance.
|
|
46
|
-
2. Reduce to one objective
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
4. Check: one objective, explicit proof, stop/blocker conditions, no secrets, no
|
|
51
|
-
vague "make it work", <= 4,000 characters.
|
|
52
|
-
5. Activate immediately. After activation succeeds, continue execution; report
|
|
53
|
-
only what helps the active task move forward.
|
|
15
|
+
guidance.
|
|
16
|
+
2. Reduce the request to one durable objective with proof and stop conditions.
|
|
17
|
+
3. Write the smallest `/goal` contract that can run without re-asking.
|
|
18
|
+
4. Activate that goal immediately, then keep working under the active goal.
|
|
19
|
+
5. Report only progress, blockers, and final proof relevant to that active goal.
|
|
54
20
|
|
|
55
|
-
##
|
|
21
|
+
## Contract
|
|
56
22
|
|
|
57
|
-
|
|
23
|
+
Include only:
|
|
58
24
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
25
|
+
- objective: one outcome
|
|
26
|
+
- context: exact paths, issues, URLs, logs, artifacts, and constraints
|
|
27
|
+
- workflow: terse checkpoints with named skills, tools, or phases from context
|
|
28
|
+
- proof: commands, scenarios, artifacts, logs, or other done evidence
|
|
29
|
+
- stop: done condition, early-stop blocker, and final report expectation
|
|
64
30
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
- Do not tell the runner to mutate fixtures, recordings, handoffs, or test
|
|
68
|
-
inputs unless the user explicitly asks.
|
|
31
|
+
Keep it pointer-heavy, no secrets, no vague "make it work", and <= 4,000
|
|
32
|
+
characters after `/goal`.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: requirements-phase
|
|
3
3
|
description: Orchestrates the human-centric requirements phase from ambiguity through requirements-grill artifacts into backlog shape. Use when the user asks to run a requirements phase, move from discovery to backlog, close requirement branches, decide whether backlog writing is ready, or coordinate requirements-grill with write-backlog.
|
|
4
|
+
disable-model-invocation: true
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Requirements Phase
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: resolve-debt-phase
|
|
3
3
|
description: Resolves one candidate or accepted tech debt item through validation, resolution spec creation, delivery, and closeout. Use when the user asks to resolve a tech debt entry, process a debt candidate, or continue from a canonical `docs/reference/tech-debt/<domain>/<spec>/<debt-slug>.md` artifact.
|
|
4
|
+
disable-model-invocation: true
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Resolve Debt Phase
|
|
@@ -11,8 +12,9 @@ description: Resolves one candidate or accepted tech debt item through validatio
|
|
|
11
12
|
- **Scope:** one candidate or accepted debt item, never generic debt management
|
|
12
13
|
- **Canonical input:** `docs/reference/tech-debt/<domain>/<spec>/<debt-slug>.md`
|
|
13
14
|
- **Source of truth:** debt file; backlog mirrors are secondary and may be stale
|
|
14
|
-
- **Delegates to:** `$parallel-research` for independent readonly checks; `$create-spec` or equivalent spec workflow for accepted debt
|
|
15
|
-
- **
|
|
15
|
+
- **Delegates to:** `$parallel-research` for independent readonly checks; `$create-spec` or equivalent spec workflow for accepted debt
|
|
16
|
+
- **Manual delivery handoff:** accepted debt presents a bounded brief for explicit user invocation of `$delivery-phase`
|
|
17
|
+
- **Stop conditions:** draft decision requested, accepted item waiting for explicit user `$delivery-phase` invocation, resolved item no-oped, or completed item marked resolved with links
|
|
16
18
|
|
|
17
19
|
## Use When
|
|
18
20
|
|
|
@@ -54,8 +56,8 @@ Move the one accepted item toward delivery.
|
|
|
54
56
|
|
|
55
57
|
1. Create or update a debt-resolution spec tied to the original domain/spec and debt slug.
|
|
56
58
|
2. The resolution spec must state the initial debt, why it matters, the bounded fix, non-goals, acceptance checks, and closeout requirements.
|
|
57
|
-
3.
|
|
58
|
-
4.
|
|
59
|
+
3. Build and present a delivery brief naming the resolution spec, bounded fix, acceptance checks, closeout requirements, and implementation scope.
|
|
60
|
+
4. Tell the user to invoke `$delivery-phase` explicitly with that brief, then stop without loading or running it.
|
|
59
61
|
|
|
60
62
|
### `resolved`
|
|
61
63
|
|
|
@@ -82,6 +84,6 @@ Always report:
|
|
|
82
84
|
|
|
83
85
|
- debt file path and status before/after
|
|
84
86
|
- evidence inspected or validation performed
|
|
85
|
-
- decision requested for `draft`, handoff
|
|
87
|
+
- decision requested for `draft`, manual `$delivery-phase` handoff or returned delivery result for `accepted`, or no-op reason for `resolved`
|
|
86
88
|
- resolution spec and implementation notes links when present
|
|
87
89
|
- backlog mirror sync outcome when available
|