@punks/cli 2.5.2 → 2.5.3

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 (28) hide show
  1. package/dist/BASELINE_CHANGELOG.md +24 -0
  2. package/dist/CHANGELOG.md +31 -0
  3. package/dist/index.js +95 -6
  4. package/dist/skills/agnostic/backend/backend-domain-structure/SKILL.md +18 -6
  5. package/dist/skills/agnostic/backend/backend-domain-structure/references/layout.md +61 -3
  6. package/dist/skills/frameworks/pulumi/package-usage/SKILL.md +49 -0
  7. package/dist/skills/frameworks/pulumi/package-usage/agents/openai.yaml +4 -0
  8. package/dist/skills/frameworks/pulumi/package-usage/use_cases.yaml +15 -0
  9. package/dist/skills/frameworks/pulumi/provider-upgrade/SKILL.md +332 -0
  10. package/dist/skills/frameworks/pulumi/provider-upgrade/agents/openai.yaml +4 -0
  11. package/dist/skills/frameworks/pulumi/provider-upgrade/references/diagnostic-toolbox.md +131 -0
  12. package/dist/skills/frameworks/pulumi/provider-upgrade/use_cases.yaml +28 -0
  13. package/dist/skills/frameworks/pulumi/pulumi-automation-api/SKILL.md +320 -0
  14. package/dist/skills/frameworks/pulumi/pulumi-automation-api/agents/openai.yaml +4 -0
  15. package/dist/skills/frameworks/pulumi/pulumi-automation-api/use_cases.yaml +7 -0
  16. package/dist/skills/frameworks/pulumi/pulumi-best-practices/SKILL.md +501 -0
  17. package/dist/skills/frameworks/pulumi/pulumi-best-practices/agents/openai.yaml +4 -0
  18. package/dist/skills/frameworks/pulumi/pulumi-best-practices/use_cases.yaml +7 -0
  19. package/dist/skills/frameworks/pulumi/pulumi-component/SKILL.md +830 -0
  20. package/dist/skills/frameworks/pulumi/pulumi-component/agents/openai.yaml +4 -0
  21. package/dist/skills/frameworks/pulumi/pulumi-component/use_cases.yaml +19 -0
  22. package/dist/skills/frameworks/pulumi/pulumi-esc/SKILL.md +281 -0
  23. package/dist/skills/frameworks/pulumi/pulumi-esc/agents/openai.yaml +4 -0
  24. package/dist/skills/frameworks/pulumi/pulumi-esc/use_cases.yaml +30 -0
  25. package/dist/skills/frameworks/pulumi/pulumi-overview/SKILL.md +289 -0
  26. package/dist/skills/frameworks/pulumi/pulumi-overview/use_cases.yaml +50 -0
  27. package/dist/skills/phases/goalify/SKILL.md +18 -54
  28. 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?"
@@ -1,68 +1,32 @@
1
1
  ---
2
2
  name: goalify
3
- description: Goalify messy intent by writing a very lean `/goal`, activating it immediately with the available goal tool, and continuing the user's task under that active goal.
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` writes the smallest operating contract a goal-running Codex can adopt,
9
- activates it immediately, then keeps working. It is a compiler, not a spec,
10
- handoff, or plan dump.
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. Prefer current repo/spec/log evidence over summaries.
46
- 2. Reduce to one objective. Move adjacent wishes to boundaries, follow-ups, or
47
- blockers.
48
- 3. Write a direct, pointer-heavy `/goal` contract. Use [EXAMPLES.md](EXAMPLES.md)
49
- only if structure is needed.
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
- ## Fallback Output
21
+ ## Contract
56
22
 
57
- Use only when activation cannot run:
23
+ Include only:
58
24
 
59
- 1. fenced `text` block with the ready `/goal ...` prompt
60
- 2. character count
61
- 3. activation blocker
62
-
63
- ## Gotchas
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
- - Do not turn a backlog grab bag into one goal; split or ask.
66
- - Do not hardcode project-specific phase families; use the context provided.
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`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punks/cli",
3
- "version": "2.5.2",
3
+ "version": "2.5.3",
4
4
  "description": "Harness Intelligence scaffolding CLI",
5
5
  "bin": {
6
6
  "hi": "dist/index.js",