@mr.dj2u/cli 0.1.3 → 0.1.7

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 (84) hide show
  1. package/bundles/claude-code/.claude-plugin/plugin.json +20 -12
  2. package/bundles/claude-code/.mcp.json +11 -8
  3. package/bundles/claude-code/README.md +31 -11
  4. package/bundles/claude-code/commands/continue-development.md +9 -1
  5. package/bundles/claude-code/commands/create-expo-super-stack.md +1 -1
  6. package/bundles/claude-code/commands/fix-seo.md +1 -1
  7. package/bundles/claude-code/commands/prepare-deploy.md +2 -4
  8. package/bundles/claude-code/commands/project-research-plan.md +1 -1
  9. package/bundles/claude-code/commands/push-merge-loop.md +25 -0
  10. package/bundles/claude-code/commands/review-expo-project.md +3 -6
  11. package/bundles/claude-code/commands/run-doctor.md +10 -4
  12. package/bundles/claude-code/commands/wrap-up.md +67 -0
  13. package/bundles/claude-code/skills/continue-development/SKILL.md +9 -1
  14. package/bundles/claude-code/skills/create-expo-super-stack/SKILL.md +1 -1
  15. package/bundles/claude-code/skills/dev-server-management/SKILL.md +1 -1
  16. package/bundles/claude-code/skills/fix-seo/SKILL.md +1 -1
  17. package/bundles/claude-code/skills/prepare-deploy/SKILL.md +2 -4
  18. package/bundles/claude-code/skills/project-research-plan/SKILL.md +1 -1
  19. package/bundles/claude-code/skills/push-merge-loop/SKILL.md +30 -0
  20. package/bundles/claude-code/skills/review-expo-project/SKILL.md +3 -6
  21. package/bundles/claude-code/skills/run-doctor/SKILL.md +10 -4
  22. package/bundles/claude-code/skills/wrap-up/SKILL.md +72 -0
  23. package/bundles/codex/.codex-plugin/plugin.json +4 -4
  24. package/bundles/codex/.mcp.json +1 -1
  25. package/bundles/codex/README.md +1 -1
  26. package/bundles/codex/commands/continue-development.md +9 -1
  27. package/bundles/codex/commands/create-expo-super-stack.md +1 -1
  28. package/bundles/codex/commands/fix-seo.md +1 -1
  29. package/bundles/codex/commands/prepare-deploy.md +2 -4
  30. package/bundles/codex/commands/project-research-plan.md +1 -1
  31. package/bundles/codex/commands/push-merge-loop.md +24 -0
  32. package/bundles/codex/commands/review-expo-project.md +3 -6
  33. package/bundles/codex/commands/run-doctor.md +10 -4
  34. package/bundles/codex/commands/wrap-up.md +67 -0
  35. package/bundles/codex/skills/workflow-continue-development/SKILL.md +47 -0
  36. package/bundles/codex/skills/workflow-create-expo-super-stack/SKILL.md +42 -0
  37. package/bundles/codex/skills/workflow-fix-seo/SKILL.md +41 -0
  38. package/bundles/codex/skills/workflow-prepare-deploy/SKILL.md +41 -0
  39. package/bundles/codex/skills/workflow-project-research-plan/SKILL.md +41 -0
  40. package/bundles/codex/skills/workflow-push-merge-loop/SKILL.md +36 -0
  41. package/bundles/codex/skills/workflow-review-expo-project/SKILL.md +41 -0
  42. package/bundles/codex/skills/workflow-run-doctor/SKILL.md +50 -0
  43. package/bundles/codex/skills/workflow-wrap-up/SKILL.md +79 -0
  44. package/bundles/vscode-copilot/.github/prompts/continue-development.prompt.md +9 -1
  45. package/bundles/vscode-copilot/.github/prompts/create-expo-super-stack.prompt.md +1 -1
  46. package/bundles/vscode-copilot/.github/prompts/fix-seo.prompt.md +1 -1
  47. package/bundles/vscode-copilot/.github/prompts/prepare-deploy.prompt.md +2 -4
  48. package/bundles/vscode-copilot/.github/prompts/project-research-plan.prompt.md +1 -1
  49. package/bundles/vscode-copilot/.github/prompts/push-merge-loop.prompt.md +30 -0
  50. package/bundles/vscode-copilot/.github/prompts/review-expo-project.prompt.md +3 -6
  51. package/bundles/vscode-copilot/.github/prompts/run-doctor.prompt.md +10 -4
  52. package/bundles/vscode-copilot/.github/prompts/wrap-up.prompt.md +72 -0
  53. package/bundles/vscode-copilot/.vscode/mcp.json +1 -1
  54. package/bundles/vscode-copilot/user/.copilot/skills/workflow-continue-development/SKILL.md +9 -1
  55. package/bundles/vscode-copilot/user/.copilot/skills/workflow-create-expo-super-stack/SKILL.md +1 -1
  56. package/bundles/vscode-copilot/user/.copilot/skills/workflow-fix-seo/SKILL.md +1 -1
  57. package/bundles/vscode-copilot/user/.copilot/skills/workflow-prepare-deploy/SKILL.md +2 -4
  58. package/bundles/vscode-copilot/user/.copilot/skills/workflow-project-research-plan/SKILL.md +1 -1
  59. package/bundles/vscode-copilot/user/.copilot/skills/workflow-push-merge-loop/SKILL.md +30 -0
  60. package/bundles/vscode-copilot/user/.copilot/skills/workflow-review-expo-project/SKILL.md +3 -6
  61. package/bundles/vscode-copilot/user/.copilot/skills/workflow-run-doctor/SKILL.md +10 -4
  62. package/bundles/vscode-copilot/user/.copilot/skills/workflow-wrap-up/SKILL.md +72 -0
  63. package/dist/cli.js +9 -1
  64. package/dist/cli.js.map +1 -1
  65. package/dist/commands/agent.d.ts.map +1 -1
  66. package/dist/commands/agent.js +77 -11
  67. package/dist/commands/agent.js.map +1 -1
  68. package/dist/commands/continue.d.ts +1 -1
  69. package/dist/commands/continue.d.ts.map +1 -1
  70. package/dist/commands/continue.js +21 -0
  71. package/dist/commands/continue.js.map +1 -1
  72. package/dist/commands/mcp-install.d.ts +7 -0
  73. package/dist/commands/mcp-install.d.ts.map +1 -1
  74. package/dist/commands/mcp-install.js +13 -1
  75. package/dist/commands/mcp-install.js.map +1 -1
  76. package/dist/commands/onboard.d.ts +27 -1
  77. package/dist/commands/onboard.d.ts.map +1 -1
  78. package/dist/commands/onboard.js +214 -23
  79. package/dist/commands/onboard.js.map +1 -1
  80. package/dist/project-memory.d.ts +1 -0
  81. package/dist/project-memory.d.ts.map +1 -1
  82. package/dist/project-memory.js +35 -26
  83. package/dist/project-memory.js.map +1 -1
  84. package/package.json +65 -66
@@ -4,7 +4,7 @@
4
4
  "command": "npx",
5
5
  "args": [
6
6
  "-y",
7
- "@mr.dj2u/mcp-server"
7
+ "@mr.dj2u/mcp-server@0.1.2"
8
8
  ]
9
9
  }
10
10
  }
@@ -28,7 +28,7 @@ mds agent verify --client codex --scope user
28
28
  mds agent install --client codex --scope user --dry-run
29
29
  ```
30
30
 
31
- After install, restart Codex if needed so it picks up `mr-djs-dev-suite@mds-local`.
31
+ After install, restart Codex so it picks up the local marketplace. Then type `@Mr. DJ's Dev Suite` in chat to get the install pop-up, hit Install, and use `@Mr. DJ's Dev Suite` in Codex Desktop or the Codex extension for VS Code.
32
32
 
33
33
  ## MCP-Only Fallback
34
34
 
@@ -13,13 +13,21 @@ Resume work on an onboarded project by following MDS phase order from `project/t
13
13
  3. Pull `get_skill` for `continue-development` to enforce phase-first sequencing.
14
14
  4. If blockers appear, use `doctor_scan_project` and `doctor_explain_result` for targeted remediation before feature work.
15
15
 
16
+ ## MDS Routing Guardrails
17
+
18
+ - Treat a request to continue development with MDS as a request for the MDS MCP tool and phase rules first.
19
+ - Do not jump directly into app edits until `continue_project` or the CLI fallback has identified the active phase and blockers.
20
+ - Never invoke `@mrdj/cli`; that package name is wrong. The published CLI package is `@mr.dj2u/cli` and its executable is `mds`.
21
+
16
22
  ## CLI / Manual Fallback
17
23
 
18
24
  1. If MCP is not configured, install it manually:
19
- - `mds mcp install --client codex --scope project`
25
+ - `mds mcp install --client <client> --scope project`
20
26
  2. Direct CLI flow:
21
27
  - `mds continue <projectPath>`
22
28
  - `mds doctor <projectPath>` when blockers are unclear.
29
+ 3. If `mds` is not on PATH, invoke the published CLI by binary name:
30
+ - `npx -y -p @mr.dj2u/cli@latest mds continue <projectPath>`
23
31
 
24
32
  ## Verification And Output
25
33
 
@@ -18,7 +18,7 @@ Create a new Expo app with the MDS Super Stack flow, using this knowledge packag
18
18
  ## CLI / Manual Fallback
19
19
 
20
20
  1. If MCP is not configured, install it manually:
21
- - `mds mcp install --client codex --scope project`
21
+ - `mds mcp install --client <client> --scope project`
22
22
  2. Direct CLI generation:
23
23
  - `npx -y create-expo-super-stack <appName>`
24
24
  3. Then onboard/continue from inside the generated app using the current CLI behavior:
@@ -18,7 +18,7 @@ Apply SEO metadata fixes for Expo web routes with MCP guidance and post-fix veri
18
18
  ## CLI / Manual Fallback
19
19
 
20
20
  1. If MCP is not configured, install it manually:
21
- - `mds mcp install --client codex --scope project`
21
+ - `mds mcp install --client <client> --scope project`
22
22
  2. Direct CLI checks:
23
23
  - `mds doctor <projectPath> --ci`
24
24
  - Run project-specific web build/preview commands to verify metadata output.
@@ -13,13 +13,12 @@ Prepare an Expo project for release using deployment-focused skills plus Doctor
13
13
  2. Run `doctor_scan_project` in `ci` mode for release parity.
14
14
  3. Pull `get_skill` for `deployment`; if web is involved also pull `seo-metadata`.
15
15
  4. Use `knowledge_list_resources` (`kind: "rule"`) to confirm env hygiene, SSR safety, and metadata requirements.
16
- 5. Call `generate_deploy_checklist` so SEO, scripts, and release-readiness gaps are reflected in the next steps.
17
- 6. Produce a release checklist mapped to current failing checks.
16
+ 5. Produce a release checklist mapped to current failing checks.
18
17
 
19
18
  ## CLI / Manual Fallback
20
19
 
21
20
  1. If MCP is not configured, install it manually:
22
- - `mds mcp install --client codex --scope project`
21
+ - `mds mcp install --client <client> --scope project`
23
22
  2. Direct CLI path:
24
23
  - `mds doctor <projectPath> --ci`
25
24
  - Run project scripts: `lint`, `type-check`, `test`, and production build/profile scripts.
@@ -27,5 +26,4 @@ Prepare an Expo project for release using deployment-focused skills plus Doctor
27
26
  ## Verification And Output
28
27
 
29
28
  - Re-run `doctor_scan_project` (or CLI equivalent) until blockers are cleared.
30
- - Keep the response user-facing and checklist-driven; avoid internal tool chatter and avoid asking for a PR unless the user requested GitHub workflow.
31
29
  - Output: release readiness status, unresolved blockers, and rollback/readiness notes.
@@ -18,7 +18,7 @@ Turn rough product notes/research into actionable MDS project memory and next-ph
18
18
  ## CLI / Manual Fallback
19
19
 
20
20
  1. If MCP is not configured, install it manually:
21
- - `mds mcp install --client codex --scope project`
21
+ - `mds mcp install --client <client> --scope project`
22
22
  2. Direct CLI fallback:
23
23
  - Use `mds onboard <projectPath>` for structured intake when memory files are missing.
24
24
  - Use `mds continue <projectPath>` after memory normalization to select the next task.
@@ -0,0 +1,24 @@
1
+ # /push-merge-loop
2
+
3
+ Execute the short PR iteration loop for the test branch with strict quality gates.
4
+
5
+ ## Goal
6
+
7
+ Push intentional changes with a meaningful commit message, open/update a PR to `test`, poll for feedback and failed checks, fix issues, and merge to `test` once all checks are green.
8
+
9
+ ## Loop Rules
10
+
11
+ 1. Run `mds doctor --ci` before any git mutation.
12
+ 2. Stage only intentional files and create a meaningful commit message.
13
+ 3. Push branch and open or update a PR targeting `test`.
14
+ 4. Wait about 2 minutes, then poll PR comments, review threads, and failed checks.
15
+ 5. Fix issues locally, rerun Doctor, push updates, and poll again.
16
+ 6. Repeat polling/fix cycles up to 5 total iterations.
17
+ 7. Merge to `test` only when all required checks are green and no unresolved blocking feedback remains.
18
+
19
+ ## Guardrails
20
+
21
+ - Do not merge when required checks are failing.
22
+ - Do not skip Doctor between fix cycles.
23
+ - Keep a concise changelog per iteration: what failed, what was changed, what passed.
24
+ - If still failing after 5 cycles, stop and summarize remaining blockers with concrete next actions.
@@ -13,20 +13,17 @@ Review an Expo project with MCP-first diagnostics and skill-guided remediation.
13
13
  2. Call `continue_project` to summarize current project state and blockers.
14
14
  3. Call `doctor_scan_project` with `projectPath` and `mode`.
15
15
  4. For each warning/error, call `doctor_explain_result`, then pull targeted guidance with `get_skill` (for example: `project-onboarding`, `debugging`, `deployment`).
16
- 5. If the findings affect release readiness, call `generate_deploy_checklist` so the next steps stay checklist-driven instead of PR-driven.
17
- 6. Call `knowledge_list_resources` with `kind: "guide"` if extra reference context is needed.
16
+ 5. Call `knowledge_list_resources` with `kind: "guide"` if extra reference context is needed.
18
17
 
19
18
  ## CLI / Manual Fallback
20
19
 
21
20
  1. If MCP is not configured, install it manually:
22
- - `mds mcp install --client codex --scope project`
21
+ - `mds mcp install --client <client> --scope project`
23
22
  2. If MCP still cannot run, use direct CLI flows:
24
23
  - `mds continue <projectPath>`
25
24
  - `mds doctor <projectPath> --ci`
26
25
 
27
26
  ## Verification And Output
28
27
 
29
- - Keep the response user-facing: summarize findings and next steps without echoing internal tool chatter or file-read noise.
30
28
  - Re-run `doctor_scan_project` (or `mds doctor --ci`) after fixes.
31
- - If the user is validating an installed agent bundle, include `mds agent verify --client <client> --target <path>` in the follow-up commands.
32
- - Output: blocker summary, failing checks, recommended next task, and concrete follow-up commands. Avoid proposing a PR unless the user explicitly asks for a GitHub workflow.
29
+ - Output: blocker summary, failing checks, recommended next task, and concrete follow-up commands.
@@ -13,20 +13,26 @@ Run MDS Doctor as the primary health check for an Expo project.
13
13
  1. Confirm the `mr-djs-dev-suite` MCP server is available.
14
14
  2. Call `doctor_scan_project` with selected arguments.
15
15
  3. For each non-pass result, call `doctor_explain_result`.
16
- 4. If the check is release-related or web-facing, call `generate_deploy_checklist` before giving next steps.
17
- 5. Pull targeted implementation guidance with `get_skill` (typically `deployment`, `debugging`, or `dev-server-management`).
16
+ 4. Pull targeted implementation guidance with `get_skill` (typically `deployment`, `debugging`, or `dev-server-management`).
17
+
18
+ ## MDS Routing Guardrails
19
+
20
+ - Treat a request to run MDS Doctor as a request for the MDS MCP tool, not as a request to run app-local npm scripts.
21
+ - Do not run `npm run mds:doctor`, `npm run doctor`, or other project package scripts as the MDS Doctor path unless the user explicitly asks for app scripts.
22
+ - Never invoke `@mrdj/cli`; that package name is wrong. The published CLI package is `@mr.dj2u/cli` and its executable is `mds`.
18
23
 
19
24
  ## CLI / Manual Fallback
20
25
 
21
26
  1. If MCP is not configured, install it manually:
22
- - `mds mcp install --client codex --scope project`
27
+ - `mds mcp install --client <client> --scope project`
23
28
  2. Direct CLI alternatives:
24
29
  - `mds doctor <projectPath>`
25
30
  - `mds doctor <projectPath> --ci`
26
31
  - `mds doctor <projectPath> --json`
32
+ 3. If `mds` is not on PATH, invoke the published CLI by binary name:
33
+ - `npx -y -p @mr.dj2u/cli@latest mds doctor <projectPath> --ci`
27
34
 
28
35
  ## Verification And Output
29
36
 
30
37
  - Re-run Doctor after each fix batch.
31
- - Keep the response concise and user-facing; do not surface internal tool chatter or intermediate file reads.
32
38
  - Output: check summary, blocking errors first, and the exact command used for re-check.
@@ -0,0 +1,67 @@
1
+ # /wrap-up
2
+
3
+ Run the post-testing release wrap-up flow: final local checks, git inclusion confirmation, PR loop, and merge handling.
4
+
5
+ ## Goal
6
+
7
+ When the developer says testing is complete, finish the handoff safely by:
8
+
9
+ 1. Marking completed todo items.
10
+ 2. Running `mds doctor --ci`.
11
+ 3. Reviewing `git status` and confirming intentionally excluded files.
12
+ 4. Running the publish/PR/check loop.
13
+ 5. Handling merge according to policy defaults and repo overrides.
14
+
15
+ ## Required Flow Order
16
+
17
+ 1. Update `project/todo.md` only for tasks clearly completed in this session.
18
+ 2. Run `mds doctor --ci` before any git mutation.
19
+ 3. Review `git status --short` and list changed files.
20
+ 4. Confirm any intentionally omitted files with the developer before staging.
21
+ 5. Publish through GitHub flow (branch push + PR).
22
+ 6. Poll checks and unresolved feedback.
23
+ 7. Fix failures locally, rerun Doctor, push updates, and poll again.
24
+ 8. Repeat up to 5 cycles total.
25
+
26
+ ## GitHub Skill Routing
27
+
28
+ Use GitHub workflows in this order when available:
29
+
30
+ 1. `github` for repo/PR context and routing.
31
+ 2. `yeet` for commit/push/open-or-update PR flow.
32
+ 3. `gh-fix-ci` for failed checks/log inspection and CI-driven fix loops.
33
+ 4. `gh-address-comments` when unresolved review threads are blocking merge.
34
+
35
+ ## Merge Policy
36
+
37
+ Evaluate policy in this order:
38
+
39
+ 1. Explicit user instruction in the current session.
40
+ 2. Optional repo config at `project/release-policy.json`.
41
+ 3. Defaults if config is absent.
42
+
43
+ Supported repo config shape:
44
+
45
+ ```json
46
+ {
47
+ "wrapUp": {
48
+ "autoMergeTest": true,
49
+ "autoMergeMain": false
50
+ }
51
+ }
52
+ ```
53
+
54
+ Default behavior:
55
+
56
+ - Auto-merge to `test`: enabled.
57
+ - Per-repo override: allowed.
58
+ - Auto-merge to `main`: never allowed.
59
+
60
+ If the workflow targets `main` directly (no `test` branch flow), stop before merge and tell the developer to merge manually.
61
+
62
+ ## Guardrails
63
+
64
+ - Never auto-merge to `main`.
65
+ - Do not skip `mds doctor --ci` between fix cycles.
66
+ - Do not assume omitted files are intentional; confirm them.
67
+ - If checks or blocking threads still fail after 5 cycles, stop and request human help with a concise blocker summary.
@@ -0,0 +1,47 @@
1
+ ---
2
+ name: "MDS Continue Development"
3
+ description: "Use when the user asks Mr. DJ's Dev Suite to continue development, pick the next phase task, resume work, or inspect project/todo.md."
4
+ ---
5
+
6
+ # Codex Workflow Routing
7
+
8
+ - This is a Mr. DJ's Dev Suite plugin workflow. Prefer the bundled MCP tools before terminal fallbacks.
9
+ - When an MCP tool named in this workflow is available, call that tool directly instead of running app-local npm scripts.
10
+ - Do not use stale package names such as `@mrdj/cli`. The CLI package is `@mr.dj2u/cli`; the executable is `mds`.
11
+ - If the MCP server is unavailable, prefer `mds <command>` from PATH, then `npx -y -p @mr.dj2u/cli@latest mds <command>`.
12
+
13
+ # /continue-development
14
+
15
+ Resume work on an onboarded project by following MDS phase order from `project/todo.md`.
16
+
17
+ ## Arguments
18
+
19
+ - `projectPath`: onboarded app path (default: current directory).
20
+
21
+ ## MCP-First Workflow
22
+
23
+ 1. Confirm the `mr-djs-dev-suite` MCP server is available.
24
+ 2. Call `continue_project` first to get the active-phase brief.
25
+ 3. Pull `get_skill` for `continue-development` to enforce phase-first sequencing.
26
+ 4. If blockers appear, use `doctor_scan_project` and `doctor_explain_result` for targeted remediation before feature work.
27
+
28
+ ## MDS Routing Guardrails
29
+
30
+ - Treat a request to continue development with MDS as a request for the MDS MCP tool and phase rules first.
31
+ - Do not jump directly into app edits until `continue_project` or the CLI fallback has identified the active phase and blockers.
32
+ - Never invoke `@mrdj/cli`; that package name is wrong. The published CLI package is `@mr.dj2u/cli` and its executable is `mds`.
33
+
34
+ ## CLI / Manual Fallback
35
+
36
+ 1. If MCP is not configured, install it manually:
37
+ - `mds mcp install --client <client> --scope project`
38
+ 2. Direct CLI flow:
39
+ - `mds continue <projectPath>`
40
+ - `mds doctor <projectPath>` when blockers are unclear.
41
+ 3. If `mds` is not on PATH, invoke the published CLI by binary name:
42
+ - `npx -y -p @mr.dj2u/cli@latest mds continue <projectPath>`
43
+
44
+ ## Verification And Output
45
+
46
+ - Confirm the chosen task belongs to the active phase or has an explicit deferral note.
47
+ - Output: selected next task, blockers, and validation commands to run after implementation.
@@ -0,0 +1,42 @@
1
+ ---
2
+ name: "MDS Create Expo Super Stack"
3
+ description: "Use when the user asks Mr. DJ's Dev Suite to run the Create Expo Super Stack workflow."
4
+ ---
5
+
6
+ # Codex Workflow Routing
7
+
8
+ - This is a Mr. DJ's Dev Suite plugin workflow. Prefer the bundled MCP tools before terminal fallbacks.
9
+ - When an MCP tool named in this workflow is available, call that tool directly instead of running app-local npm scripts.
10
+ - Do not use stale package names such as `@mrdj/cli`. The CLI package is `@mr.dj2u/cli`; the executable is `mds`.
11
+ - If the MCP server is unavailable, prefer `mds <command>` from PATH, then `npx -y -p @mr.dj2u/cli@latest mds <command>`.
12
+
13
+ # /create-expo-super-stack
14
+
15
+ Create a new Expo app with the MDS Super Stack flow, using this knowledge package as the shared source of truth for agent-facing text and the published CLI as the execution source of truth.
16
+
17
+ ## Arguments
18
+
19
+ - `parentDir`: folder where the new app directory should be created.
20
+ - `appName`: app folder name.
21
+
22
+ ## MCP-First Workflow
23
+
24
+ 1. Confirm the `mr-djs-dev-suite` MCP server is available.
25
+ 2. Invoke the MCP prompt `create_expo_super_stack` from a parent directory when you want guided intake.
26
+ 3. Keep the conversation one question per turn and summarize the captured choices before generation.
27
+ 4. Treat the MCP prompt as the intake surface and the CLI as the generator, so CLI changes are picked up automatically when the published command changes.
28
+ 5. After generation, move into the new app folder and invoke `continue_project` (or prompt `continue_mds_project`) for the first implementation session.
29
+
30
+ ## CLI / Manual Fallback
31
+
32
+ 1. If MCP is not configured, install it manually:
33
+ - `mds mcp install --client <client> --scope project`
34
+ 2. Direct CLI generation:
35
+ - `npx -y create-expo-super-stack <appName>`
36
+ 3. Then onboard/continue from inside the generated app using the current CLI behavior:
37
+ - `mds continue <new-app-path>`
38
+
39
+ ## Verification And Output
40
+
41
+ - Confirm generated app has `project/info.md`, `project/todo.md`, `project/style.md`, and `project/guidelines.md`.
42
+ - Output: generated app path, onboarding status, and immediate next command.
@@ -0,0 +1,41 @@
1
+ ---
2
+ name: "MDS Fix Seo"
3
+ description: "Use when the user asks Mr. DJ's Dev Suite to run the Fix Seo workflow."
4
+ ---
5
+
6
+ # Codex Workflow Routing
7
+
8
+ - This is a Mr. DJ's Dev Suite plugin workflow. Prefer the bundled MCP tools before terminal fallbacks.
9
+ - When an MCP tool named in this workflow is available, call that tool directly instead of running app-local npm scripts.
10
+ - Do not use stale package names such as `@mrdj/cli`. The CLI package is `@mr.dj2u/cli`; the executable is `mds`.
11
+ - If the MCP server is unavailable, prefer `mds <command>` from PATH, then `npx -y -p @mr.dj2u/cli@latest mds <command>`.
12
+
13
+ # /fix-seo
14
+
15
+ Apply SEO metadata fixes for Expo web routes with MCP guidance and post-fix verification.
16
+
17
+ ## Arguments
18
+
19
+ - `projectPath`: Expo project path (default: current directory).
20
+ - `routeOrFile`: optional route/file focus for targeted checks.
21
+
22
+ ## MCP-First Workflow
23
+
24
+ 1. Confirm the `mr-djs-dev-suite` MCP server is available.
25
+ 2. Pull `get_skill` for `seo-metadata`.
26
+ 3. Optionally run `doctor_scan_file` for focused route files, then `doctor_scan_project` for full checks.
27
+ 4. Use `knowledge_list_resources` (`kind: "rule"`) to ensure canonical/indexing strategy is complete.
28
+ 5. Implement metadata, canonical, robots, and sitemap corrections in route ownership boundaries.
29
+
30
+ ## CLI / Manual Fallback
31
+
32
+ 1. If MCP is not configured, install it manually:
33
+ - `mds mcp install --client <client> --scope project`
34
+ 2. Direct CLI checks:
35
+ - `mds doctor <projectPath> --ci`
36
+ - Run project-specific web build/preview commands to verify metadata output.
37
+
38
+ ## Verification And Output
39
+
40
+ - Confirm canonical tags, social metadata, and sitemap/robots behavior on affected routes.
41
+ - Output: changed files, resolved SEO gaps, and any remaining manual verification steps.
@@ -0,0 +1,41 @@
1
+ ---
2
+ name: "MDS Prepare Deploy"
3
+ description: "Use when the user asks Mr. DJ's Dev Suite to run the Prepare Deploy workflow."
4
+ ---
5
+
6
+ # Codex Workflow Routing
7
+
8
+ - This is a Mr. DJ's Dev Suite plugin workflow. Prefer the bundled MCP tools before terminal fallbacks.
9
+ - When an MCP tool named in this workflow is available, call that tool directly instead of running app-local npm scripts.
10
+ - Do not use stale package names such as `@mrdj/cli`. The CLI package is `@mr.dj2u/cli`; the executable is `mds`.
11
+ - If the MCP server is unavailable, prefer `mds <command>` from PATH, then `npx -y -p @mr.dj2u/cli@latest mds <command>`.
12
+
13
+ # /prepare-deploy
14
+
15
+ Prepare an Expo project for release using deployment-focused skills plus Doctor parity checks.
16
+
17
+ ## Arguments
18
+
19
+ - `projectPath`: release candidate project path (default: current directory).
20
+ - `includeSeo`: whether to include web metadata/indexing checks (default: `true` when web is targeted).
21
+
22
+ ## MCP-First Workflow
23
+
24
+ 1. Confirm the `mr-djs-dev-suite` MCP server is available.
25
+ 2. Run `doctor_scan_project` in `ci` mode for release parity.
26
+ 3. Pull `get_skill` for `deployment`; if web is involved also pull `seo-metadata`.
27
+ 4. Use `knowledge_list_resources` (`kind: "rule"`) to confirm env hygiene, SSR safety, and metadata requirements.
28
+ 5. Produce a release checklist mapped to current failing checks.
29
+
30
+ ## CLI / Manual Fallback
31
+
32
+ 1. If MCP is not configured, install it manually:
33
+ - `mds mcp install --client <client> --scope project`
34
+ 2. Direct CLI path:
35
+ - `mds doctor <projectPath> --ci`
36
+ - Run project scripts: `lint`, `type-check`, `test`, and production build/profile scripts.
37
+
38
+ ## Verification And Output
39
+
40
+ - Re-run `doctor_scan_project` (or CLI equivalent) until blockers are cleared.
41
+ - Output: release readiness status, unresolved blockers, and rollback/readiness notes.
@@ -0,0 +1,41 @@
1
+ ---
2
+ name: "MDS Project Research Plan"
3
+ description: "Use when the user asks Mr. DJ's Dev Suite to run the Project Research Plan workflow."
4
+ ---
5
+
6
+ # Codex Workflow Routing
7
+
8
+ - This is a Mr. DJ's Dev Suite plugin workflow. Prefer the bundled MCP tools before terminal fallbacks.
9
+ - When an MCP tool named in this workflow is available, call that tool directly instead of running app-local npm scripts.
10
+ - Do not use stale package names such as `@mrdj/cli`. The CLI package is `@mr.dj2u/cli`; the executable is `mds`.
11
+ - If the MCP server is unavailable, prefer `mds <command>` from PATH, then `npx -y -p @mr.dj2u/cli@latest mds <command>`.
12
+
13
+ # /project-research-plan
14
+
15
+ Turn rough product notes/research into actionable MDS project memory and next-phase plan.
16
+
17
+ ## Arguments
18
+
19
+ - `projectPath`: target project path (default: current directory).
20
+ - `inputs`: attached notes/docs to normalize into canonical memory files.
21
+
22
+ ## MCP-First Workflow
23
+
24
+ 1. Confirm the `mr-djs-dev-suite` MCP server is available.
25
+ 2. Pull `get_skill` for `research-plan-intake` (and `project-onboarding` when onboarding context is mixed in).
26
+ 3. Call `knowledge_list_resources` for `guide` and `reference` resources as needed for structure and validation.
27
+ 4. Normalize clear context directly; ask focused follow-up only where ambiguity changes implementation direction.
28
+ 5. Update project memory files and produce an implementation-ready next-phase plan.
29
+
30
+ ## CLI / Manual Fallback
31
+
32
+ 1. If MCP is not configured, install it manually:
33
+ - `mds mcp install --client <client> --scope project`
34
+ 2. Direct CLI fallback:
35
+ - Use `mds onboard <projectPath>` for structured intake when memory files are missing.
36
+ - Use `mds continue <projectPath>` after memory normalization to select the next task.
37
+
38
+ ## Verification And Output
39
+
40
+ - Confirm `project/info.md`, `project/style.md`, and `project/todo.md` align with extracted research context.
41
+ - Output: resolved unknowns, outstanding questions, and the recommended next implementation slice.
@@ -0,0 +1,36 @@
1
+ ---
2
+ name: "MDS Push Merge Loop"
3
+ description: "Use when the user asks Mr. DJ's Dev Suite to run the PR iteration loop: doctor, commit, push, poll checks, fix, and merge to test."
4
+ ---
5
+
6
+ # Codex Workflow Routing
7
+
8
+ - This is a Mr. DJ's Dev Suite plugin workflow. Prefer the bundled MCP tools before terminal fallbacks.
9
+ - When an MCP tool named in this workflow is available, call that tool directly instead of running app-local npm scripts.
10
+ - Do not use stale package names such as `@mrdj/cli`. The CLI package is `@mr.dj2u/cli`; the executable is `mds`.
11
+ - If the MCP server is unavailable, prefer `mds <command>` from PATH, then `npx -y -p @mr.dj2u/cli@latest mds <command>`.
12
+
13
+ # /push-merge-loop
14
+
15
+ Execute the short PR iteration loop for the test branch with strict quality gates.
16
+
17
+ ## Goal
18
+
19
+ Push intentional changes with a meaningful commit message, open/update a PR to `test`, poll for feedback and failed checks, fix issues, and merge to `test` once all checks are green.
20
+
21
+ ## Loop Rules
22
+
23
+ 1. Run `mds doctor --ci` before any git mutation.
24
+ 2. Stage only intentional files and create a meaningful commit message.
25
+ 3. Push branch and open or update a PR targeting `test`.
26
+ 4. Wait about 2 minutes, then poll PR comments, review threads, and failed checks.
27
+ 5. Fix issues locally, rerun Doctor, push updates, and poll again.
28
+ 6. Repeat polling/fix cycles up to 5 total iterations.
29
+ 7. Merge to `test` only when all required checks are green and no unresolved blocking feedback remains.
30
+
31
+ ## Guardrails
32
+
33
+ - Do not merge when required checks are failing.
34
+ - Do not skip Doctor between fix cycles.
35
+ - Keep a concise changelog per iteration: what failed, what was changed, what passed.
36
+ - If still failing after 5 cycles, stop and summarize remaining blockers with concrete next actions.
@@ -0,0 +1,41 @@
1
+ ---
2
+ name: "MDS Review Expo Project"
3
+ description: "Use when the user asks Mr. DJ's Dev Suite to run the Review Expo Project workflow."
4
+ ---
5
+
6
+ # Codex Workflow Routing
7
+
8
+ - This is a Mr. DJ's Dev Suite plugin workflow. Prefer the bundled MCP tools before terminal fallbacks.
9
+ - When an MCP tool named in this workflow is available, call that tool directly instead of running app-local npm scripts.
10
+ - Do not use stale package names such as `@mrdj/cli`. The CLI package is `@mr.dj2u/cli`; the executable is `mds`.
11
+ - If the MCP server is unavailable, prefer `mds <command>` from PATH, then `npx -y -p @mr.dj2u/cli@latest mds <command>`.
12
+
13
+ # /review-expo-project
14
+
15
+ Review an Expo project with MCP-first diagnostics and skill-guided remediation.
16
+
17
+ ## Arguments
18
+
19
+ - `projectPath`: absolute or relative project path (default: current directory).
20
+ - `mode`: Doctor mode (`fast`, `ci`, or `full`; default: `ci`).
21
+
22
+ ## MCP-First Workflow
23
+
24
+ 1. Confirm the `mr-djs-dev-suite` MCP server is available.
25
+ 2. Call `continue_project` to summarize current project state and blockers.
26
+ 3. Call `doctor_scan_project` with `projectPath` and `mode`.
27
+ 4. For each warning/error, call `doctor_explain_result`, then pull targeted guidance with `get_skill` (for example: `project-onboarding`, `debugging`, `deployment`).
28
+ 5. Call `knowledge_list_resources` with `kind: "guide"` if extra reference context is needed.
29
+
30
+ ## CLI / Manual Fallback
31
+
32
+ 1. If MCP is not configured, install it manually:
33
+ - `mds mcp install --client <client> --scope project`
34
+ 2. If MCP still cannot run, use direct CLI flows:
35
+ - `mds continue <projectPath>`
36
+ - `mds doctor <projectPath> --ci`
37
+
38
+ ## Verification And Output
39
+
40
+ - Re-run `doctor_scan_project` (or `mds doctor --ci`) after fixes.
41
+ - Output: blocker summary, failing checks, recommended next task, and concrete follow-up commands.
@@ -0,0 +1,50 @@
1
+ ---
2
+ name: "MDS Run Doctor"
3
+ description: "Use when the user asks Mr. DJ's Dev Suite to run Doctor, run a health check, run CI checks, diagnose project status, or explain MDS Doctor findings."
4
+ ---
5
+
6
+ # Codex Workflow Routing
7
+
8
+ - This is a Mr. DJ's Dev Suite plugin workflow. Prefer the bundled MCP tools before terminal fallbacks.
9
+ - When an MCP tool named in this workflow is available, call that tool directly instead of running app-local npm scripts.
10
+ - Do not use stale package names such as `@mrdj/cli`. The CLI package is `@mr.dj2u/cli`; the executable is `mds`.
11
+ - If the MCP server is unavailable, prefer `mds <command>` from PATH, then `npx -y -p @mr.dj2u/cli@latest mds <command>`.
12
+
13
+ # /run-doctor
14
+
15
+ Run MDS Doctor as the primary health check for an Expo project.
16
+
17
+ ## Arguments
18
+
19
+ - `projectPath`: project root path (default: current directory).
20
+ - `mode`: `fast`, `ci`, or `full` (default: `ci`).
21
+ - `runScripts`: whether Doctor should execute project scripts (default: `true` for `ci` mode).
22
+
23
+ ## MCP-First Workflow
24
+
25
+ 1. Confirm the `mr-djs-dev-suite` MCP server is available.
26
+ 2. Call `doctor_scan_project` with selected arguments.
27
+ 3. For each non-pass result, call `doctor_explain_result`.
28
+ 4. Pull targeted implementation guidance with `get_skill` (typically `deployment`, `debugging`, or `dev-server-management`).
29
+
30
+ ## MDS Routing Guardrails
31
+
32
+ - Treat a request to run MDS Doctor as a request for the MDS MCP tool, not as a request to run app-local npm scripts.
33
+ - Do not run `npm run mds:doctor`, `npm run doctor`, or other project package scripts as the MDS Doctor path unless the user explicitly asks for app scripts.
34
+ - Never invoke `@mrdj/cli`; that package name is wrong. The published CLI package is `@mr.dj2u/cli` and its executable is `mds`.
35
+
36
+ ## CLI / Manual Fallback
37
+
38
+ 1. If MCP is not configured, install it manually:
39
+ - `mds mcp install --client <client> --scope project`
40
+ 2. Direct CLI alternatives:
41
+ - `mds doctor <projectPath>`
42
+ - `mds doctor <projectPath> --ci`
43
+ - `mds doctor <projectPath> --json`
44
+ 3. If `mds` is not on PATH, invoke the published CLI by binary name:
45
+ - `npx -y -p @mr.dj2u/cli@latest mds doctor <projectPath> --ci`
46
+
47
+ ## Verification And Output
48
+
49
+ - Re-run Doctor after each fix batch.
50
+ - Output: check summary, blocking errors first, and the exact command used for re-check.