@iamu-dev/iamu 0.0.0-stage → 0.2.0-beta.2
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/LICENSE +9 -0
- package/README.md +103 -2
- package/dist/bin.js +21026 -0
- package/dist/index.js +20873 -0
- package/dist/templates/prompts/combine.md +69 -0
- package/dist/templates/prompts/complete.md +132 -0
- package/dist/templates/prompts/evaluate.md +64 -0
- package/dist/templates/prompts/outline.md +54 -0
- package/dist/templates/prompts/persona.md +40 -0
- package/dist/templates/prompts/walk.md +167 -0
- package/dist/templates/skills/iamu-findings.md +228 -0
- package/dist/templates/skills/iamu-new.md +206 -0
- package/dist/templates/skills/iamu-propose.md +124 -0
- package/dist/templates/skills/iamu-run.md +400 -0
- package/dist/templates/skills/iamu-setup.md +184 -0
- package/dist/templates/skills/iamu-status.md +64 -0
- package/package.json +69 -3
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: iamu-status
|
|
3
|
+
description: Check project testing status, list installed personas, scenarios, outlines, capabilities, or review walkthrough coverage and findings. Use when asked "what personas do we have?", "what scenarios exist?", "what is the test status?", "list personas", "what should we test next?", or to inspect iamu assets.
|
|
4
|
+
generatedBy: __IAMU_VERSION__
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are the project's scenario-testing librarian. Your job is to give concise, structured overviews of iamu assets and testing status without dumping raw file bodies.
|
|
8
|
+
|
|
9
|
+
$ARGUMENTS
|
|
10
|
+
|
|
11
|
+
## Instructions
|
|
12
|
+
|
|
13
|
+
### 1. Always use CLI commands for inspection
|
|
14
|
+
|
|
15
|
+
- **List personas:** `iamu list personas` (or `--json`)
|
|
16
|
+
- **List scenarios:** `iamu list scenarios` (or `--json`)
|
|
17
|
+
- **List capabilities:** `iamu list capabilities`
|
|
18
|
+
- **List outlines:** `iamu list outlines`
|
|
19
|
+
- **List findings:** `iamu findings`
|
|
20
|
+
- **Project state & run status:** `iamu status`
|
|
21
|
+
|
|
22
|
+
Do NOT use `find`, `grep`, or `cat` to dump raw `.md` files in `iamu/`. The CLI outputs clean, validated data.
|
|
23
|
+
|
|
24
|
+
### 2. Format entity responses as compact tables
|
|
25
|
+
|
|
26
|
+
When the user asks for personas, scenarios, or findings, respond with a scannable Markdown table. Never dump full psychological profiles, vocabulary lists, or raw frontmatter unless the user explicitly asks for deep detail on one entity.
|
|
27
|
+
|
|
28
|
+
**Personas:**
|
|
29
|
+
| Slug | Name | Role | Status |
|
|
30
|
+
|---|---|---|---|
|
|
31
|
+
| `elin-dahl` | Elin Dahl | Architect & first-time house owner in Falun | active |
|
|
32
|
+
|
|
33
|
+
**Scenarios:**
|
|
34
|
+
| Slug | Persona | Outline | Status / Target |
|
|
35
|
+
|---|---|---|---|
|
|
36
|
+
| `replacing-windows` | `elin-dahl` | `measure-and-order` | ready |
|
|
37
|
+
|
|
38
|
+
**Findings:**
|
|
39
|
+
| # | Severity | Type | Finding | Status |
|
|
40
|
+
|---|---|---|---|---|
|
|
41
|
+
| 1 | CRITICAL | hinders | Submit fails opaquely on empty field | open |
|
|
42
|
+
|
|
43
|
+
### 3. Ignore internal templates
|
|
44
|
+
|
|
45
|
+
The directory `iamu/.prompts/` contains internal prompt templates (`persona.md`, `outline.md`, etc.). These are NOT project entities. Never list them or explain them to the user.
|
|
46
|
+
|
|
47
|
+
### 4. Cloud line
|
|
48
|
+
|
|
49
|
+
For a project-status question, add one line on the cloud from `iamu status --json` (`mode`, `sync`, `requests`) and `iamu auth status --json` (`authenticated`):
|
|
50
|
+
|
|
51
|
+
- **Linked** → `Cloud: linked — <url from iamu open --print>`, then only what needs action: unpushed changes (`sync.pending_new` + `sync.pending_updates` + `walkthroughs.pending`, and `sync.local_deletions.count`) → `iamu sync`; `requests.open` above zero → `<N> team requests — iamu-findings`.
|
|
52
|
+
- **Linked, no credentials** → `Cloud: linked, but this machine has no credentials — iamu auth login.`
|
|
53
|
+
- **Local-only** → `Cloud: local-only.` Nothing more; no upgrade pitch.
|
|
54
|
+
|
|
55
|
+
### 5. Provide clear next steps
|
|
56
|
+
|
|
57
|
+
Conclude with one concise action prompt:
|
|
58
|
+
- To run a scenario: `iamu-run <scenario-slug>`
|
|
59
|
+
- To propose new personas or scenarios: `iamu-propose`
|
|
60
|
+
- To draft a persona or scenario directly: `iamu-new`
|
|
61
|
+
- To review open findings or team requests: `iamu-findings`
|
|
62
|
+
- To inspect reports: `iamu report`, or `iamu open` for the cloud dashboard (linked projects)
|
|
63
|
+
- To share unpushed work with the team: `iamu sync` (linked projects)
|
|
64
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,72 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iamu-dev/iamu",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"description": "
|
|
3
|
+
"version": "0.2.0-beta.2",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Test your product as realistic personas — scenario-driven development CLI",
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"author": "Iamu <hello@iamu.dev>",
|
|
8
|
+
"homepage": "https://iamu.dev",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/iamu-dev/iamu.git",
|
|
12
|
+
"directory": "apps/cli"
|
|
13
|
+
},
|
|
14
|
+
"bugs": "https://github.com/iamu-dev/iamu/issues",
|
|
15
|
+
"keywords": [
|
|
16
|
+
"iamu",
|
|
17
|
+
"scenario-testing",
|
|
18
|
+
"persona-testing",
|
|
19
|
+
"walkthrough",
|
|
20
|
+
"ux-testing",
|
|
21
|
+
"devex",
|
|
22
|
+
"claude-code"
|
|
23
|
+
],
|
|
24
|
+
"bin": {
|
|
25
|
+
"iamu": "./dist/bin.js"
|
|
26
|
+
},
|
|
27
|
+
"sideEffects": true,
|
|
28
|
+
"files": [
|
|
29
|
+
"dist",
|
|
30
|
+
"README.md",
|
|
31
|
+
"LICENSE"
|
|
32
|
+
],
|
|
33
|
+
"exports": {
|
|
34
|
+
".": {
|
|
35
|
+
"types": "./dist/index.d.ts",
|
|
36
|
+
"import": "./dist/index.js"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"publishConfig": {
|
|
40
|
+
"access": "public",
|
|
41
|
+
"tag": "beta"
|
|
42
|
+
},
|
|
43
|
+
"engines": {
|
|
44
|
+
"node": ">=22"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@clack/prompts": "^1.8.1",
|
|
48
|
+
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
49
|
+
"chalk": "^5.6.2",
|
|
50
|
+
"commander": "^14.0.3",
|
|
51
|
+
"playwright-core": "^1.58.2",
|
|
52
|
+
"zod": "^3.25.0"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@types/node": "^22.0.0",
|
|
56
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
57
|
+
"tsup": "^8.5.1",
|
|
58
|
+
"typescript": "^5.8.0",
|
|
59
|
+
"vitest": "^4.1.11",
|
|
60
|
+
"@iamu-dev/local-store": "0.1.0",
|
|
61
|
+
"@iamu/tsconfig": "0.1.0",
|
|
62
|
+
"@iamu-dev/protocol": "0.1.0"
|
|
63
|
+
},
|
|
64
|
+
"scripts": {
|
|
65
|
+
"build": "tsup && tsc -b tsconfig.build.json --emitDeclarationOnly && node scripts/copy-assets.mjs",
|
|
66
|
+
"clean": "node -e \"fs.rmSync('dist', { recursive: true, force: true }); fs.rmSync('tsconfig.tsbuildinfo', { force: true }); fs.rmSync('tsconfig.build.tsbuildinfo', { force: true })\"",
|
|
67
|
+
"typecheck": "tsc --noEmit",
|
|
68
|
+
"test": "vitest run",
|
|
69
|
+
"test:coverage": "vitest run --coverage",
|
|
70
|
+
"pack:dry-run": "npm pack --dry-run"
|
|
71
|
+
}
|
|
6
72
|
}
|