@mr.dj2u/cli 0.1.0 → 0.1.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.
Files changed (125) hide show
  1. package/bundles/claude-code/.claude-plugin/plugin.json +12 -0
  2. package/bundles/claude-code/.mcp.json +8 -0
  3. package/bundles/claude-code/CLAUDE.md +59 -0
  4. package/bundles/claude-code/README.md +51 -0
  5. package/bundles/claude-code/agents/mds.md +35 -0
  6. package/bundles/claude-code/commands/continue-development.md +27 -0
  7. package/bundles/claude-code/commands/create-expo-super-stack.md +30 -0
  8. package/bundles/claude-code/commands/fix-seo.md +29 -0
  9. package/bundles/claude-code/commands/prepare-deploy.md +31 -0
  10. package/bundles/claude-code/commands/project-research-plan.md +29 -0
  11. package/bundles/claude-code/commands/review-expo-project.md +32 -0
  12. package/bundles/claude-code/commands/run-doctor.md +32 -0
  13. package/bundles/claude-code/settings.json +3 -0
  14. package/bundles/claude-code/skills/api-routes/SKILL.md +37 -0
  15. package/bundles/claude-code/skills/continue-development/SKILL.md +32 -0
  16. package/bundles/claude-code/skills/create-expo-super-stack/SKILL.md +35 -0
  17. package/bundles/claude-code/skills/debugging/SKILL.md +36 -0
  18. package/bundles/claude-code/skills/deployment/SKILL.md +36 -0
  19. package/bundles/claude-code/skills/dev-server-management/SKILL.md +36 -0
  20. package/bundles/claude-code/skills/env-vars/SKILL.md +36 -0
  21. package/bundles/claude-code/skills/expo-router-architecture/SKILL.md +37 -0
  22. package/bundles/claude-code/skills/expo-ssr-safety/SKILL.md +36 -0
  23. package/bundles/claude-code/skills/fix-seo/SKILL.md +34 -0
  24. package/bundles/claude-code/skills/plugin-creation/SKILL.md +45 -0
  25. package/bundles/claude-code/skills/prepare-deploy/SKILL.md +36 -0
  26. package/bundles/claude-code/skills/production-server-patterns/SKILL.md +35 -0
  27. package/bundles/claude-code/skills/project-onboarding/SKILL.md +35 -0
  28. package/bundles/claude-code/skills/project-research-plan/SKILL.md +34 -0
  29. package/bundles/claude-code/skills/research-plan-intake/SKILL.md +36 -0
  30. package/bundles/claude-code/skills/review-expo-project/SKILL.md +37 -0
  31. package/bundles/claude-code/skills/run-doctor/SKILL.md +37 -0
  32. package/bundles/claude-code/skills/seo-metadata/SKILL.md +35 -0
  33. package/bundles/claude-code/skills/super-stack-startup/SKILL.md +38 -0
  34. package/bundles/claude-code/skills/uniwind-theming/SKILL.md +36 -0
  35. package/bundles/codex/.codex-plugin/plugin.json +42 -0
  36. package/bundles/codex/.mcp.json +11 -0
  37. package/bundles/codex/README.md +47 -0
  38. package/bundles/codex/commands/continue-development.md +27 -0
  39. package/bundles/codex/commands/create-expo-super-stack.md +30 -0
  40. package/bundles/codex/commands/fix-seo.md +29 -0
  41. package/bundles/codex/commands/prepare-deploy.md +31 -0
  42. package/bundles/codex/commands/project-research-plan.md +29 -0
  43. package/bundles/codex/commands/review-expo-project.md +32 -0
  44. package/bundles/codex/commands/run-doctor.md +32 -0
  45. package/bundles/codex/skills/api-routes/SKILL.md +32 -0
  46. package/bundles/codex/skills/continue-development/SKILL.md +32 -0
  47. package/bundles/codex/skills/debugging/SKILL.md +32 -0
  48. package/bundles/codex/skills/deployment/SKILL.md +31 -0
  49. package/bundles/codex/skills/dev-server-management/SKILL.md +32 -0
  50. package/bundles/codex/skills/env-vars/SKILL.md +31 -0
  51. package/bundles/codex/skills/expo-router-architecture/SKILL.md +32 -0
  52. package/bundles/codex/skills/expo-ssr-safety/SKILL.md +31 -0
  53. package/bundles/codex/skills/plugin-creation/SKILL.md +41 -0
  54. package/bundles/codex/skills/production-server-patterns/SKILL.md +31 -0
  55. package/bundles/codex/skills/project-onboarding/SKILL.md +31 -0
  56. package/bundles/codex/skills/research-plan-intake/SKILL.md +32 -0
  57. package/bundles/codex/skills/seo-metadata/SKILL.md +31 -0
  58. package/bundles/codex/skills/super-stack-startup/SKILL.md +34 -0
  59. package/bundles/codex/skills/uniwind-theming/SKILL.md +31 -0
  60. package/bundles/vscode-copilot/.github/agents/mds.agent.md +22 -0
  61. package/bundles/vscode-copilot/.github/copilot-instructions.md +8 -0
  62. package/bundles/vscode-copilot/.github/prompts/continue-development.prompt.md +32 -0
  63. package/bundles/vscode-copilot/.github/prompts/create-expo-super-stack.prompt.md +35 -0
  64. package/bundles/vscode-copilot/.github/prompts/fix-seo.prompt.md +34 -0
  65. package/bundles/vscode-copilot/.github/prompts/prepare-deploy.prompt.md +36 -0
  66. package/bundles/vscode-copilot/.github/prompts/project-research-plan.prompt.md +34 -0
  67. package/bundles/vscode-copilot/.github/prompts/review-expo-project.prompt.md +37 -0
  68. package/bundles/vscode-copilot/.github/prompts/run-doctor.prompt.md +37 -0
  69. package/bundles/vscode-copilot/.github/skills/api-routes/SKILL.md +38 -0
  70. package/bundles/vscode-copilot/.github/skills/continue-development/SKILL.md +37 -0
  71. package/bundles/vscode-copilot/.github/skills/debugging/SKILL.md +37 -0
  72. package/bundles/vscode-copilot/.github/skills/deployment/SKILL.md +37 -0
  73. package/bundles/vscode-copilot/.github/skills/dev-server-management/SKILL.md +37 -0
  74. package/bundles/vscode-copilot/.github/skills/env-vars/SKILL.md +37 -0
  75. package/bundles/vscode-copilot/.github/skills/expo-router-architecture/SKILL.md +38 -0
  76. package/bundles/vscode-copilot/.github/skills/expo-ssr-safety/SKILL.md +37 -0
  77. package/bundles/vscode-copilot/.github/skills/plugin-creation/SKILL.md +46 -0
  78. package/bundles/vscode-copilot/.github/skills/production-server-patterns/SKILL.md +36 -0
  79. package/bundles/vscode-copilot/.github/skills/project-onboarding/SKILL.md +36 -0
  80. package/bundles/vscode-copilot/.github/skills/research-plan-intake/SKILL.md +37 -0
  81. package/bundles/vscode-copilot/.github/skills/seo-metadata/SKILL.md +36 -0
  82. package/bundles/vscode-copilot/.github/skills/super-stack-startup/SKILL.md +39 -0
  83. package/bundles/vscode-copilot/.github/skills/uniwind-theming/SKILL.md +37 -0
  84. package/bundles/vscode-copilot/.vscode/mcp.json +11 -0
  85. package/bundles/vscode-copilot/.vscode/settings.json +14 -0
  86. package/bundles/vscode-copilot/README.md +32 -0
  87. package/bundles/vscode-copilot/user/.copilot/agents/mds.agent.md +22 -0
  88. package/bundles/vscode-copilot/user/.copilot/instructions.md +8 -0
  89. package/bundles/vscode-copilot/user/.copilot/skills/api-routes/SKILL.md +38 -0
  90. package/bundles/vscode-copilot/user/.copilot/skills/continue-development/SKILL.md +37 -0
  91. package/bundles/vscode-copilot/user/.copilot/skills/debugging/SKILL.md +37 -0
  92. package/bundles/vscode-copilot/user/.copilot/skills/deployment/SKILL.md +37 -0
  93. package/bundles/vscode-copilot/user/.copilot/skills/dev-server-management/SKILL.md +37 -0
  94. package/bundles/vscode-copilot/user/.copilot/skills/env-vars/SKILL.md +37 -0
  95. package/bundles/vscode-copilot/user/.copilot/skills/expo-router-architecture/SKILL.md +38 -0
  96. package/bundles/vscode-copilot/user/.copilot/skills/expo-ssr-safety/SKILL.md +37 -0
  97. package/bundles/vscode-copilot/user/.copilot/skills/plugin-creation/SKILL.md +46 -0
  98. package/bundles/vscode-copilot/user/.copilot/skills/production-server-patterns/SKILL.md +36 -0
  99. package/bundles/vscode-copilot/user/.copilot/skills/project-onboarding/SKILL.md +36 -0
  100. package/bundles/vscode-copilot/user/.copilot/skills/research-plan-intake/SKILL.md +37 -0
  101. package/bundles/vscode-copilot/user/.copilot/skills/seo-metadata/SKILL.md +36 -0
  102. package/bundles/vscode-copilot/user/.copilot/skills/super-stack-startup/SKILL.md +39 -0
  103. package/bundles/vscode-copilot/user/.copilot/skills/uniwind-theming/SKILL.md +37 -0
  104. package/bundles/vscode-copilot/user/.copilot/skills/workflow-continue-development/SKILL.md +32 -0
  105. package/bundles/vscode-copilot/user/.copilot/skills/workflow-create-expo-super-stack/SKILL.md +35 -0
  106. package/bundles/vscode-copilot/user/.copilot/skills/workflow-fix-seo/SKILL.md +34 -0
  107. package/bundles/vscode-copilot/user/.copilot/skills/workflow-prepare-deploy/SKILL.md +36 -0
  108. package/bundles/vscode-copilot/user/.copilot/skills/workflow-project-research-plan/SKILL.md +34 -0
  109. package/bundles/vscode-copilot/user/.copilot/skills/workflow-review-expo-project/SKILL.md +37 -0
  110. package/bundles/vscode-copilot/user/.copilot/skills/workflow-run-doctor/SKILL.md +37 -0
  111. package/dist/cli.js +2 -2
  112. package/dist/cli.js.map +1 -1
  113. package/dist/commands/agent.d.ts.map +1 -1
  114. package/dist/commands/agent.js +26 -12
  115. package/dist/commands/agent.js.map +1 -1
  116. package/dist/commands/mcp-install.d.ts +2 -2
  117. package/dist/commands/mcp-install.d.ts.map +1 -1
  118. package/dist/commands/mcp-install.js +7 -7
  119. package/dist/commands/mcp-install.js.map +1 -1
  120. package/dist/commands/onboard.d.ts +2 -2
  121. package/dist/commands/onboard.d.ts.map +1 -1
  122. package/dist/commands/onboard.js +4 -4
  123. package/dist/commands/onboard.js.map +1 -1
  124. package/package.json +66 -64
  125. package/templates/project/guidelines.md +88 -88
package/package.json CHANGED
@@ -1,64 +1,66 @@
1
- {
2
- "name": "@mr.dj2u/cli",
3
- "version": "0.1.0",
4
- "description": "CLI entry point for mds commands (doctor, onboard, test-and-iterate)",
5
- "type": "module",
6
- "bin": {
7
- "mds": "./dist/cli.js"
8
- },
9
- "files": [
10
- "dist",
11
- "templates"
12
- ],
13
- "exports": {
14
- ".": {
15
- "import": "./dist/cli.js",
16
- "types": "./dist/cli.d.ts"
17
- },
18
- "./project-memory": {
19
- "import": "./dist/project-memory.js",
20
- "types": "./dist/project-memory.d.ts"
21
- },
22
- "./onboarding": {
23
- "import": "./dist/commands/onboard.js",
24
- "types": "./dist/commands/onboard.d.ts"
25
- },
26
- "./continue": {
27
- "import": "./dist/continue.js",
28
- "types": "./dist/continue.d.ts"
29
- }
30
- },
31
- "main": "./dist/cli.js",
32
- "scripts": {
33
- "build": "tsc",
34
- "type-check": "tsc --noEmit",
35
- "lint": "eslint src",
36
- "lint:fix": "eslint src --fix",
37
- "test": "vitest run --passWithNoTests",
38
- "dev": "tsc --watch",
39
- "clean": "node -e \"const fs=require('node:fs'); for (const p of ['dist','tsconfig.tsbuildinfo']) fs.rmSync(p,{recursive:true,force:true});\""
40
- },
41
- "dependencies": {
42
- "@clack/prompts": "^0.11.0",
43
- "@mr.dj2u/doctor": "workspace:*",
44
- "@mr.dj2u/knowledge": "workspace:*",
45
- "chalk": "^5.3.0",
46
- "yargs": "^17.7.2"
47
- },
48
- "devDependencies": {
49
- "@types/node": "^20.10.0",
50
- "@types/yargs": "^17.0.24",
51
- "typescript": "^5.9.0"
52
- },
53
- "keywords": [
54
- "expo",
55
- "cli",
56
- "doctor",
57
- "onboarding"
58
- ],
59
- "author": "DJ",
60
- "license": "MIT",
61
- "publishConfig": {
62
- "access": "public"
63
- }
64
- }
1
+ {
2
+ "name": "@mr.dj2u/cli",
3
+ "version": "0.1.2",
4
+ "description": "CLI entry point for mds commands (doctor, onboard, test-and-iterate)",
5
+ "type": "module",
6
+ "bin": {
7
+ "mds": "dist/cli.js"
8
+ },
9
+ "files": [
10
+ "dist",
11
+ "templates",
12
+ "bundles"
13
+ ],
14
+ "exports": {
15
+ ".": {
16
+ "import": "./dist/cli.js",
17
+ "types": "./dist/cli.d.ts"
18
+ },
19
+ "./project-memory": {
20
+ "import": "./dist/project-memory.js",
21
+ "types": "./dist/project-memory.d.ts"
22
+ },
23
+ "./onboarding": {
24
+ "import": "./dist/commands/onboard.js",
25
+ "types": "./dist/commands/onboard.d.ts"
26
+ },
27
+ "./continue": {
28
+ "import": "./dist/continue.js",
29
+ "types": "./dist/continue.d.ts"
30
+ }
31
+ },
32
+ "main": "./dist/cli.js",
33
+ "scripts": {
34
+ "build": "tsc",
35
+ "type-check": "tsc --noEmit",
36
+ "lint": "eslint src",
37
+ "lint:fix": "eslint src --fix",
38
+ "test": "vitest run --passWithNoTests",
39
+ "prepack": "node ./scripts/copy-agent-bundles.mjs && node ../../scripts/verify-publish-manifest.mjs .",
40
+ "dev": "tsc --watch",
41
+ "clean": "node -e \"const fs=require('node:fs'); for (const p of ['dist','tsconfig.tsbuildinfo']) fs.rmSync(p,{recursive:true,force:true});\""
42
+ },
43
+ "dependencies": {
44
+ "@clack/prompts": "^0.11.0",
45
+ "@mr.dj2u/doctor": "^0.1.1",
46
+ "@mr.dj2u/knowledge": "^0.1.1",
47
+ "chalk": "^5.3.0",
48
+ "yargs": "^17.7.2"
49
+ },
50
+ "devDependencies": {
51
+ "@types/node": "^20.10.0",
52
+ "@types/yargs": "^17.0.24",
53
+ "typescript": "^5.9.0"
54
+ },
55
+ "keywords": [
56
+ "expo",
57
+ "cli",
58
+ "doctor",
59
+ "onboarding"
60
+ ],
61
+ "author": "DJ",
62
+ "license": "MIT",
63
+ "publishConfig": {
64
+ "access": "public"
65
+ }
66
+ }
@@ -1,88 +1,88 @@
1
- # {{appName}} Guidelines
2
-
3
- ## MDS Template Baseline
4
-
5
- This file was copied from the bundled MDS `guidelines.md` template. Customize
6
- it for the app before treating it as final.
7
-
8
- ## Source Of Truth
9
-
10
- - The `project/` folder is the golden source of truth for product intent,
11
- roadmap, visual style, and technical rules.
12
- - Agents and contributors must read `project/info.md`, `project/todo.md`,
13
- `project/style.md`, and this file before making product or architecture
14
- changes.
15
- - Never make a change that conflicts with the project memory files unless the
16
- user explicitly updates them first.
17
-
18
- ## TodoForContext Markers Block Onboarding
19
-
20
- - The string `# TodoForContext(optional):` marks sections the user has not
21
- yet decided about.
22
- - Before agentic intake, planning, or scaffolding, scan every `project/`
23
- file for this marker.
24
- - If any marker is present: stop, list each file and line, and tell the
25
- user to fill the section underneath OR delete the marker line to
26
- acknowledge they do not want to add that context.
27
- - Only proceed when zero markers remain. `mds doctor` also surfaces this
28
- as a warning.
29
-
30
- ## Product Context
31
-
32
- - Audience: {{audience}}
33
- - Core flows: {{coreFlows}}
34
- - Data needs: {{dataNeeds}}
35
- - Deployment target: {{deploymentTarget}}
36
- - Target platforms:
37
- {{targetPlatforms}}
38
- - First MVP platform: {{firstTargetPlatform}}
39
- - Expo Router app directory: {{appDirectory}}
40
- - Platform-specific organization: {{platformFileStrategy}}
41
- - Platform layout mode: {{platformLayoutMode}}
42
- - Web output: {{webOutput}}
43
- - Deployed server: {{deployedServer}}
44
- - Latest Expo SDK preference: {{useLatestExpoSdk}}
45
- - Advanced package setup: {{advancedPackageSetup}}
46
- - Create Expo starter components: {{includeCreateExpoComponents}}
47
- - Expo UI: {{usesExpoUi}}
48
- - Expo Native Tabs: {{usesExpoNativeTabs}}
49
- - Data start: {{dataStart}}
50
- - Test-to-main safeguards: {{testToMainSafeguards}}
51
- - EAS usage:
52
- {{easUses}}
53
-
54
- ## Expo Architecture
55
-
56
- - Keep Expo Router route files thin; route files should import feature screens
57
- or layouts.
58
- - Put reusable business logic in `src/features`, `src/services`, `src/data`, or
59
- shared hooks.
60
- - Keep Expo Router routes in {{appDirectory}} unless project memory changes.
61
- - Use {{platformLayoutMode}} for selected platform shells.
62
- - Prefer Uniwind with Tailwind v4 for new styling work.
63
- - Use Zustand only when state is shared across screens or features.
64
- - Keep private environment variables server-side and never expose secrets with
65
- `EXPO_PUBLIC_`.
66
-
67
- ## Default Package Support
68
-
69
- - Software Mansion core support starts with Reanimated/Worklets, Gesture
70
- Handler, Screens, SVG, and Keyboard Controller.
71
- - Use the temporary `/exposition` pages to decide which package examples should
72
- stay, be replaced, or be removed.
73
- - Use `react-native-keyboard-controller` for real keyboard-heavy flows instead
74
- of piling up manual keyboard offsets.
75
- - Use Reanimated for meaningful motion, but avoid expensive animation loops in
76
- long lists.
77
-
78
- ## Workflow
79
-
80
- - Run `mds doctor --ci` before pushing.
81
- - Use `mds clear-expo-start` when Metro or server ports get wedged.
82
- - When enabled, develop through feature branches into `test`, then promote
83
- validated work from `test` to `main`.
84
- - Treat monorepo scaffolding as future work until the single-app MVP is stable.
85
-
86
- ## Selected Defaults
87
-
88
- {{defaults}}
1
+ # {{appName}} Guidelines
2
+
3
+ ## MDS Template Baseline
4
+
5
+ This file was copied from the bundled MDS `guidelines.md` template. Customize
6
+ it for the app before treating it as final.
7
+
8
+ ## Source Of Truth
9
+
10
+ - The `project/` folder is the golden source of truth for product intent,
11
+ roadmap, visual style, and technical rules.
12
+ - Agents and contributors must read `project/info.md`, `project/todo.md`,
13
+ `project/style.md`, and this file before making product or architecture
14
+ changes.
15
+ - Never make a change that conflicts with the project memory files unless the
16
+ user explicitly updates them first.
17
+
18
+ ## TodoForContext Markers Block Onboarding
19
+
20
+ - The string `# TodoForContext(optional):` marks sections the user has not
21
+ yet decided about.
22
+ - Before agentic intake, planning, or scaffolding, scan every `project/`
23
+ file for this marker.
24
+ - If any marker is present: stop, list each file and line, and tell the
25
+ user to fill the section underneath OR delete the marker line to
26
+ acknowledge they do not want to add that context.
27
+ - Only proceed when zero markers remain. `mds doctor` also surfaces this
28
+ as an error that blocks CI.
29
+
30
+ ## Product Context
31
+
32
+ - Audience: {{audience}}
33
+ - Core flows: {{coreFlows}}
34
+ - Data needs: {{dataNeeds}}
35
+ - Deployment target: {{deploymentTarget}}
36
+ - Target platforms:
37
+ {{targetPlatforms}}
38
+ - First MVP platform: {{firstTargetPlatform}}
39
+ - Expo Router app directory: {{appDirectory}}
40
+ - Platform-specific organization: {{platformFileStrategy}}
41
+ - Platform layout mode: {{platformLayoutMode}}
42
+ - Web output: {{webOutput}}
43
+ - Deployed server: {{deployedServer}}
44
+ - Latest Expo SDK preference: {{useLatestExpoSdk}}
45
+ - Advanced package setup: {{advancedPackageSetup}}
46
+ - Create Expo starter components: {{includeCreateExpoComponents}}
47
+ - Expo UI: {{usesExpoUi}}
48
+ - Expo Native Tabs: {{usesExpoNativeTabs}}
49
+ - Data start: {{dataStart}}
50
+ - Test-to-main safeguards: {{testToMainSafeguards}}
51
+ - EAS usage:
52
+ {{easUses}}
53
+
54
+ ## Expo Architecture
55
+
56
+ - Keep Expo Router route files thin; route files should import feature screens
57
+ or layouts.
58
+ - Put reusable business logic in `src/features`, `src/services`, `src/data`, or
59
+ shared hooks.
60
+ - Keep Expo Router routes in {{appDirectory}} unless project memory changes.
61
+ - Use {{platformLayoutMode}} for selected platform shells.
62
+ - Prefer Uniwind with Tailwind v4 for new styling work.
63
+ - Use Zustand only when state is shared across screens or features.
64
+ - Keep private environment variables server-side and never expose secrets with
65
+ `EXPO_PUBLIC_`.
66
+
67
+ ## Default Package Support
68
+
69
+ - Software Mansion core support starts with Reanimated/Worklets, Gesture
70
+ Handler, Screens, SVG, and Keyboard Controller.
71
+ - Use the temporary `/exposition` pages to decide which package examples should
72
+ stay, be replaced, or be removed.
73
+ - Use `react-native-keyboard-controller` for real keyboard-heavy flows instead
74
+ of piling up manual keyboard offsets.
75
+ - Use Reanimated for meaningful motion, but avoid expensive animation loops in
76
+ long lists.
77
+
78
+ ## Workflow
79
+
80
+ - Run `mds doctor --ci` before pushing.
81
+ - Use `mds clear-expo-start` when Metro or server ports get wedged.
82
+ - When enabled, develop through feature branches into `test`, then promote
83
+ validated work from `test` to `main`.
84
+ - Treat monorepo scaffolding as future work until the single-app MVP is stable.
85
+
86
+ ## Selected Defaults
87
+
88
+ {{defaults}}