capyai 0.5.0 → 0.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capyai",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "type": "module",
5
5
  "description": "Unofficial Capy.ai CLI for agent orchestration with quality gates",
6
6
  "bin": {
@@ -257,17 +257,26 @@ capy pool [status|set|test|instances|instance|clear] # → warm pool management
257
257
 
258
258
  ## Prompting tips
259
259
 
260
- When writing prompts for `capy captain` or `capy build`, be specific. The Capy agent is another AI. Vague prompts produce vague results.
260
+ Captain and Build need different prompting styles.
261
261
 
262
- Bad: `"Fix the CI issue"`
262
+ **Captain** has full codebase context and plans its own approach. Tell it WHAT to accomplish, not HOW. Link the issue, set the quality bar, get out of its way.
263
263
 
264
- Good: `"Fix CI for crypto-trading pack. The changeset file is missing. Add a changeset entry for @veto/crypto-trading with patch bump. Run 'npx changeset status' to validate. Files: packages/crypto-trading/. Reference: PLW-201."`
264
+ Bad: `"Fix CI for crypto-trading pack. The changeset file is missing. Add a changeset entry for @veto/crypto-trading with patch bump. Run 'npx changeset status' to validate. Files: packages/crypto-trading/."`
265
+
266
+ Good: `"We have a CI failure on the crypto-trading pack — missing changeset. Fix it. Reference: PLW-201. Don't finish until CI is green and tests pass."`
267
+
268
+ Good: `"https://linear.app/plaw/issue/PLW-201 — get this done. Make sure all tests pass, CI is green, and code review comes back clean."`
269
+
270
+ Captain prompts should include:
271
+ - What the problem or goal is (natural language)
272
+ - A link to the issue if one exists (GitHub, Linear)
273
+ - The quality bar ("tests pass", "CI green", "code review clean")
265
274
 
266
- Always include:
267
- - Which files to touch
268
- - What the acceptance criteria are
269
- - What commands to run to verify
270
- - References to related issues or tasks
275
+ Do NOT include specific files, specific commands, or implementation details. Captain figures that out.
276
+
277
+ **Build** is isolated and has no codebase context. Be specific. Name the files, the commands, the acceptance criteria.
278
+
279
+ Good: `"Fix CI for crypto-trading pack. The changeset file is missing. Add a changeset entry for @veto/crypto-trading with patch bump. Run 'npx changeset status' to validate. Files: packages/crypto-trading/. Reference: PLW-201."`
271
280
 
272
281
  ## Triggers
273
282