@mr.dj2u/cli 0.1.11 → 0.1.12
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/bundles/claude-code/.claude-plugin/plugin.json +20 -20
- package/bundles/claude-code/.mcp.json +11 -11
- package/bundles/claude-code/agents/mds.md +36 -36
- package/bundles/claude-code/commands/create-expo-super-stack.md +32 -31
- package/bundles/claude-code/skills/create-expo-super-stack/SKILL.md +1 -0
- package/bundles/claude-code/skills/super-stack-startup/SKILL.md +4 -4
- package/bundles/codex/.codex-plugin/plugin.json +42 -42
- package/bundles/codex/.mcp.json +11 -11
- package/bundles/codex/README.md +51 -51
- package/bundles/codex/commands/create-expo-super-stack.md +32 -31
- package/bundles/codex/skills/super-stack-startup/SKILL.md +34 -34
- package/bundles/codex/skills/workflow-continue-development/SKILL.md +48 -48
- package/bundles/codex/skills/workflow-create-expo-super-stack/SKILL.md +45 -44
- package/bundles/codex/skills/workflow-fix-seo/SKILL.md +42 -42
- package/bundles/codex/skills/workflow-prepare-deploy/SKILL.md +42 -42
- package/bundles/codex/skills/workflow-project-research-plan/SKILL.md +42 -42
- package/bundles/codex/skills/workflow-push-merge-loop/SKILL.md +37 -37
- package/bundles/codex/skills/workflow-review-expo-project/SKILL.md +42 -42
- package/bundles/codex/skills/workflow-run-doctor/SKILL.md +51 -51
- package/bundles/codex/skills/workflow-wrap-up/SKILL.md +80 -80
- package/bundles/vscode-copilot/.github/agents/mds.agent.md +22 -22
- package/bundles/vscode-copilot/.github/copilot-instructions.md +8 -8
- package/bundles/vscode-copilot/.github/prompts/continue-development.prompt.md +40 -40
- package/bundles/vscode-copilot/.github/prompts/create-expo-super-stack.prompt.md +37 -36
- package/bundles/vscode-copilot/.github/prompts/fix-seo.prompt.md +34 -34
- package/bundles/vscode-copilot/.github/prompts/prepare-deploy.prompt.md +34 -34
- package/bundles/vscode-copilot/.github/prompts/project-research-plan.prompt.md +34 -34
- package/bundles/vscode-copilot/.github/prompts/push-merge-loop.prompt.md +30 -30
- package/bundles/vscode-copilot/.github/prompts/review-expo-project.prompt.md +34 -34
- package/bundles/vscode-copilot/.github/prompts/run-doctor.prompt.md +43 -43
- package/bundles/vscode-copilot/.github/prompts/wrap-up.prompt.md +72 -72
- package/bundles/vscode-copilot/.github/skills/super-stack-startup/SKILL.md +39 -39
- package/bundles/vscode-copilot/.vscode/mcp.json +11 -11
- package/bundles/vscode-copilot/user/.copilot/agents/mds.agent.md +22 -22
- package/bundles/vscode-copilot/user/.copilot/instructions.md +8 -8
- package/bundles/vscode-copilot/user/.copilot/skills/super-stack-startup/SKILL.md +39 -39
- package/bundles/vscode-copilot/user/.copilot/skills/workflow-create-expo-super-stack/SKILL.md +37 -36
- package/dist/cess-intake.d.ts +0 -1
- package/dist/cess-intake.d.ts.map +1 -1
- package/dist/cess-intake.js +0 -19
- package/dist/cess-intake.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +14 -4
- package/dist/cli.js.map +1 -1
- package/dist/commands/agent.d.ts.map +1 -1
- package/dist/commands/agent.js +3 -1
- package/dist/commands/agent.js.map +1 -1
- package/dist/commands/mcp-install.d.ts +3 -2
- package/dist/commands/mcp-install.d.ts.map +1 -1
- package/dist/commands/mcp-install.js +17 -44
- package/dist/commands/mcp-install.js.map +1 -1
- package/dist/commands/onboard.d.ts +1 -3
- package/dist/commands/onboard.d.ts.map +1 -1
- package/dist/commands/onboard.js +20 -10
- package/dist/commands/onboard.js.map +1 -1
- package/dist/commands/roadmap.d.ts +6 -0
- package/dist/commands/roadmap.d.ts.map +1 -0
- package/dist/commands/roadmap.js +54 -0
- package/dist/commands/roadmap.js.map +1 -0
- package/dist/project-memory.d.ts +0 -1
- package/dist/project-memory.d.ts.map +1 -1
- package/dist/project-memory.js +101 -89
- package/dist/project-memory.js.map +1 -1
- package/dist/roadmap.d.ts +71 -0
- package/dist/roadmap.d.ts.map +1 -0
- package/dist/roadmap.js +865 -0
- package/dist/roadmap.js.map +1 -0
- package/dist/stylist-theme.d.ts.map +1 -1
- package/dist/stylist-theme.js +1 -20
- package/dist/stylist-theme.js.map +1 -1
- package/package.json +7 -3
- package/templates/embedded-fonts.template.ts +72 -72
- package/templates/expo-sdk-56-screen-universal.template.tsx +709 -709
- package/templates/project/guidelines.md +4 -5
- package/templates/stylist-screen.template.tsx +3456 -3446
|
@@ -1,51 +1,51 @@
|
|
|
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. Plugin skills and command markdown are guidance only.
|
|
9
|
-
- Prefer callable MDS MCP tools exposed by `@mr.dj2u/mcp-server` when this workflow names them.
|
|
10
|
-
- Do not use stale package names such as `@mrdj/cli`. The CLI package is `@mr.dj2u/cli`; the executable is `mds`.
|
|
11
|
-
- If a workflow specifically requires guided MDS MCP tools and they are unavailable, stop and tell the user to refresh or reinstall the MDS plugin/MCP server instead of inventing defaults.
|
|
12
|
-
- For ordinary CLI workflows that do allow fallback, prefer `mds <command>` from PATH, then `npx -y -p @mr.dj2u/cli@latest mds <command>`.
|
|
13
|
-
|
|
14
|
-
# /run-doctor
|
|
15
|
-
|
|
16
|
-
Run MDS Doctor as the primary health check for an Expo project.
|
|
17
|
-
|
|
18
|
-
## Arguments
|
|
19
|
-
|
|
20
|
-
- `projectPath`: project root path (default: current directory).
|
|
21
|
-
- `mode`: `fast`, `ci`, or `full` (default: `ci`).
|
|
22
|
-
- `runScripts`: whether Doctor should execute project scripts (default: `true` for `ci` mode).
|
|
23
|
-
|
|
24
|
-
## MCP-First Workflow
|
|
25
|
-
|
|
26
|
-
1. Confirm the `mr-djs-dev-suite` MCP server is available.
|
|
27
|
-
2. Call `doctor_scan_project` with selected arguments.
|
|
28
|
-
3. For each non-pass result, call `doctor_explain_result`.
|
|
29
|
-
4. Pull targeted implementation guidance with `get_skill` (typically `deployment`, `debugging`, or `dev-server-management`).
|
|
30
|
-
|
|
31
|
-
## MDS Routing Guardrails
|
|
32
|
-
|
|
33
|
-
- 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.
|
|
34
|
-
- 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.
|
|
35
|
-
- Never invoke `@mrdj/cli`; that package name is wrong. The published CLI package is `@mr.dj2u/cli` and its executable is `mds`.
|
|
36
|
-
|
|
37
|
-
## CLI / Manual Fallback
|
|
38
|
-
|
|
39
|
-
1. If MCP is not configured, install it manually:
|
|
40
|
-
- `mds mcp install --client <client> --scope project`
|
|
41
|
-
2. Direct CLI alternatives:
|
|
42
|
-
- `mds doctor <projectPath>`
|
|
43
|
-
- `mds doctor <projectPath> --ci`
|
|
44
|
-
- `mds doctor <projectPath> --json`
|
|
45
|
-
3. If `mds` is not on PATH, invoke the published CLI by binary name:
|
|
46
|
-
- `npx -y -p @mr.dj2u/cli@latest mds doctor <projectPath> --ci`
|
|
47
|
-
|
|
48
|
-
## Verification And Output
|
|
49
|
-
|
|
50
|
-
- Re-run Doctor after each fix batch.
|
|
51
|
-
- Output: check summary, blocking errors first, and the exact command used for re-check.
|
|
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. Plugin skills and command markdown are guidance only.
|
|
9
|
+
- Prefer callable MDS MCP tools exposed by `@mr.dj2u/mcp-server` when this workflow names them.
|
|
10
|
+
- Do not use stale package names such as `@mrdj/cli`. The CLI package is `@mr.dj2u/cli`; the executable is `mds`.
|
|
11
|
+
- If a workflow specifically requires guided MDS MCP tools and they are unavailable, stop and tell the user to refresh or reinstall the MDS plugin/MCP server instead of inventing defaults.
|
|
12
|
+
- For ordinary CLI workflows that do allow fallback, prefer `mds <command>` from PATH, then `npx -y -p @mr.dj2u/cli@latest mds <command>`.
|
|
13
|
+
|
|
14
|
+
# /run-doctor
|
|
15
|
+
|
|
16
|
+
Run MDS Doctor as the primary health check for an Expo project.
|
|
17
|
+
|
|
18
|
+
## Arguments
|
|
19
|
+
|
|
20
|
+
- `projectPath`: project root path (default: current directory).
|
|
21
|
+
- `mode`: `fast`, `ci`, or `full` (default: `ci`).
|
|
22
|
+
- `runScripts`: whether Doctor should execute project scripts (default: `true` for `ci` mode).
|
|
23
|
+
|
|
24
|
+
## MCP-First Workflow
|
|
25
|
+
|
|
26
|
+
1. Confirm the `mr-djs-dev-suite` MCP server is available.
|
|
27
|
+
2. Call `doctor_scan_project` with selected arguments.
|
|
28
|
+
3. For each non-pass result, call `doctor_explain_result`.
|
|
29
|
+
4. Pull targeted implementation guidance with `get_skill` (typically `deployment`, `debugging`, or `dev-server-management`).
|
|
30
|
+
|
|
31
|
+
## MDS Routing Guardrails
|
|
32
|
+
|
|
33
|
+
- 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.
|
|
34
|
+
- 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.
|
|
35
|
+
- Never invoke `@mrdj/cli`; that package name is wrong. The published CLI package is `@mr.dj2u/cli` and its executable is `mds`.
|
|
36
|
+
|
|
37
|
+
## CLI / Manual Fallback
|
|
38
|
+
|
|
39
|
+
1. If MCP is not configured, install it manually:
|
|
40
|
+
- `mds mcp install --client <client> --scope project`
|
|
41
|
+
2. Direct CLI alternatives:
|
|
42
|
+
- `mds doctor <projectPath>`
|
|
43
|
+
- `mds doctor <projectPath> --ci`
|
|
44
|
+
- `mds doctor <projectPath> --json`
|
|
45
|
+
3. If `mds` is not on PATH, invoke the published CLI by binary name:
|
|
46
|
+
- `npx -y -p @mr.dj2u/cli@latest mds doctor <projectPath> --ci`
|
|
47
|
+
|
|
48
|
+
## Verification And Output
|
|
49
|
+
|
|
50
|
+
- Re-run Doctor after each fix batch.
|
|
51
|
+
- Output: check summary, blocking errors first, and the exact command used for re-check.
|
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: "MDS Wrap Up"
|
|
3
|
-
description: "Use when the user has finished testing and wants Mr. DJ's Dev Suite to run the final wrap-up workflow (Doctor, git inclusion checks, PR loop, CI fix retries, and merge policy guardrails)."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Codex Workflow Routing
|
|
7
|
-
|
|
8
|
-
- This is a Mr. DJ's Dev Suite plugin workflow. Plugin skills and command markdown are guidance only.
|
|
9
|
-
- Prefer callable MDS MCP tools exposed by `@mr.dj2u/mcp-server` when this workflow names them.
|
|
10
|
-
- Do not use stale package names such as `@mrdj/cli`. The CLI package is `@mr.dj2u/cli`; the executable is `mds`.
|
|
11
|
-
- If a workflow specifically requires guided MDS MCP tools and they are unavailable, stop and tell the user to refresh or reinstall the MDS plugin/MCP server instead of inventing defaults.
|
|
12
|
-
- For ordinary CLI workflows that do allow fallback, prefer `mds <command>` from PATH, then `npx -y -p @mr.dj2u/cli@latest mds <command>`.
|
|
13
|
-
|
|
14
|
-
# /wrap-up
|
|
15
|
-
|
|
16
|
-
Run the post-testing release wrap-up flow: final local checks, git inclusion confirmation, PR loop, and merge handling.
|
|
17
|
-
|
|
18
|
-
## Goal
|
|
19
|
-
|
|
20
|
-
When the developer says testing is complete, finish the handoff safely by:
|
|
21
|
-
|
|
22
|
-
1. Marking completed todo items.
|
|
23
|
-
2. Running `mds doctor --ci`.
|
|
24
|
-
3. Reviewing `git status` and confirming intentionally excluded files.
|
|
25
|
-
4. Running the publish/PR/check loop.
|
|
26
|
-
5. Handling merge according to policy defaults and repo overrides.
|
|
27
|
-
|
|
28
|
-
## Required Flow Order
|
|
29
|
-
|
|
30
|
-
1. Update `project/todo.md` only for tasks clearly completed in this session.
|
|
31
|
-
2. Run `mds doctor --ci` before any git mutation.
|
|
32
|
-
3. Review `git status --short` and list changed files.
|
|
33
|
-
4. Confirm any intentionally omitted files with the developer before staging.
|
|
34
|
-
5. Publish through GitHub flow (branch push + PR).
|
|
35
|
-
6. Poll checks and unresolved feedback.
|
|
36
|
-
7. Fix failures locally, rerun Doctor, push updates, and poll again.
|
|
37
|
-
8. Repeat up to 5 cycles total.
|
|
38
|
-
|
|
39
|
-
## GitHub Skill Routing
|
|
40
|
-
|
|
41
|
-
Use GitHub workflows in this order when available:
|
|
42
|
-
|
|
43
|
-
1. `github` for repo/PR context and routing.
|
|
44
|
-
2. `yeet` for commit/push/open-or-update PR flow.
|
|
45
|
-
3. `gh-fix-ci` for failed checks/log inspection and CI-driven fix loops.
|
|
46
|
-
4. `gh-address-comments` when unresolved review threads are blocking merge.
|
|
47
|
-
|
|
48
|
-
## Merge Policy
|
|
49
|
-
|
|
50
|
-
Evaluate policy in this order:
|
|
51
|
-
|
|
52
|
-
1. Explicit user instruction in the current session.
|
|
53
|
-
2. Optional repo config at `project/release-policy.json`.
|
|
54
|
-
3. Defaults if config is absent.
|
|
55
|
-
|
|
56
|
-
Supported repo config shape:
|
|
57
|
-
|
|
58
|
-
```json
|
|
59
|
-
{
|
|
60
|
-
"wrapUp": {
|
|
61
|
-
"autoMergeTest": true,
|
|
62
|
-
"autoMergeMain": false
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
Default behavior:
|
|
68
|
-
|
|
69
|
-
- Auto-merge to `test`: enabled.
|
|
70
|
-
- Per-repo override: allowed.
|
|
71
|
-
- Auto-merge to `main`: never allowed.
|
|
72
|
-
|
|
73
|
-
If the workflow targets `main` directly (no `test` branch flow), stop before merge and tell the developer to merge manually.
|
|
74
|
-
|
|
75
|
-
## Guardrails
|
|
76
|
-
|
|
77
|
-
- Never auto-merge to `main`.
|
|
78
|
-
- Do not skip `mds doctor --ci` between fix cycles.
|
|
79
|
-
- Do not assume omitted files are intentional; confirm them.
|
|
80
|
-
- If checks or blocking threads still fail after 5 cycles, stop and request human help with a concise blocker summary.
|
|
1
|
+
---
|
|
2
|
+
name: "MDS Wrap Up"
|
|
3
|
+
description: "Use when the user has finished testing and wants Mr. DJ's Dev Suite to run the final wrap-up workflow (Doctor, git inclusion checks, PR loop, CI fix retries, and merge policy guardrails)."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Codex Workflow Routing
|
|
7
|
+
|
|
8
|
+
- This is a Mr. DJ's Dev Suite plugin workflow. Plugin skills and command markdown are guidance only.
|
|
9
|
+
- Prefer callable MDS MCP tools exposed by `@mr.dj2u/mcp-server` when this workflow names them.
|
|
10
|
+
- Do not use stale package names such as `@mrdj/cli`. The CLI package is `@mr.dj2u/cli`; the executable is `mds`.
|
|
11
|
+
- If a workflow specifically requires guided MDS MCP tools and they are unavailable, stop and tell the user to refresh or reinstall the MDS plugin/MCP server instead of inventing defaults.
|
|
12
|
+
- For ordinary CLI workflows that do allow fallback, prefer `mds <command>` from PATH, then `npx -y -p @mr.dj2u/cli@latest mds <command>`.
|
|
13
|
+
|
|
14
|
+
# /wrap-up
|
|
15
|
+
|
|
16
|
+
Run the post-testing release wrap-up flow: final local checks, git inclusion confirmation, PR loop, and merge handling.
|
|
17
|
+
|
|
18
|
+
## Goal
|
|
19
|
+
|
|
20
|
+
When the developer says testing is complete, finish the handoff safely by:
|
|
21
|
+
|
|
22
|
+
1. Marking completed todo items.
|
|
23
|
+
2. Running `mds doctor --ci`.
|
|
24
|
+
3. Reviewing `git status` and confirming intentionally excluded files.
|
|
25
|
+
4. Running the publish/PR/check loop.
|
|
26
|
+
5. Handling merge according to policy defaults and repo overrides.
|
|
27
|
+
|
|
28
|
+
## Required Flow Order
|
|
29
|
+
|
|
30
|
+
1. Update `project/todo.md` only for tasks clearly completed in this session.
|
|
31
|
+
2. Run `mds doctor --ci` before any git mutation.
|
|
32
|
+
3. Review `git status --short` and list changed files.
|
|
33
|
+
4. Confirm any intentionally omitted files with the developer before staging.
|
|
34
|
+
5. Publish through GitHub flow (branch push + PR).
|
|
35
|
+
6. Poll checks and unresolved feedback.
|
|
36
|
+
7. Fix failures locally, rerun Doctor, push updates, and poll again.
|
|
37
|
+
8. Repeat up to 5 cycles total.
|
|
38
|
+
|
|
39
|
+
## GitHub Skill Routing
|
|
40
|
+
|
|
41
|
+
Use GitHub workflows in this order when available:
|
|
42
|
+
|
|
43
|
+
1. `github` for repo/PR context and routing.
|
|
44
|
+
2. `yeet` for commit/push/open-or-update PR flow.
|
|
45
|
+
3. `gh-fix-ci` for failed checks/log inspection and CI-driven fix loops.
|
|
46
|
+
4. `gh-address-comments` when unresolved review threads are blocking merge.
|
|
47
|
+
|
|
48
|
+
## Merge Policy
|
|
49
|
+
|
|
50
|
+
Evaluate policy in this order:
|
|
51
|
+
|
|
52
|
+
1. Explicit user instruction in the current session.
|
|
53
|
+
2. Optional repo config at `project/release-policy.json`.
|
|
54
|
+
3. Defaults if config is absent.
|
|
55
|
+
|
|
56
|
+
Supported repo config shape:
|
|
57
|
+
|
|
58
|
+
```json
|
|
59
|
+
{
|
|
60
|
+
"wrapUp": {
|
|
61
|
+
"autoMergeTest": true,
|
|
62
|
+
"autoMergeMain": false
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Default behavior:
|
|
68
|
+
|
|
69
|
+
- Auto-merge to `test`: enabled.
|
|
70
|
+
- Per-repo override: allowed.
|
|
71
|
+
- Auto-merge to `main`: never allowed.
|
|
72
|
+
|
|
73
|
+
If the workflow targets `main` directly (no `test` branch flow), stop before merge and tell the developer to merge manually.
|
|
74
|
+
|
|
75
|
+
## Guardrails
|
|
76
|
+
|
|
77
|
+
- Never auto-merge to `main`.
|
|
78
|
+
- Do not skip `mds doctor --ci` between fix cycles.
|
|
79
|
+
- Do not assume omitted files are intentional; confirm them.
|
|
80
|
+
- If checks or blocking threads still fail after 5 cycles, stop and request human help with a concise blocker summary.
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: "MDS"
|
|
3
|
-
description: "MDS Expo project intelligence agent for Doctor, onboarding, deploy checks, and phase continuation."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# MDS Agent
|
|
7
|
-
|
|
8
|
-
You are the Mr. DJ's Dev Suite agent for Expo projects. Treat callable MDS MCP tools as the runtime behavior surface and prompt markdown as guidance only.
|
|
9
|
-
|
|
10
|
-
## Tool Routing
|
|
11
|
-
|
|
12
|
-
- Use `doctor_scan_project` before release or broad refactors.
|
|
13
|
-
- Use `doctor_scan_file` for focused route, env, SSR, or API changes.
|
|
14
|
-
- Use `generate_refactor_plan` before moving architecture across folders.
|
|
15
|
-
- Use `generate_deploy_checklist` before release or client handoff.
|
|
16
|
-
- Use `list_skills`, `get_skill`, and `get_guide` before giving framework-specific guidance.
|
|
17
|
-
|
|
18
|
-
## Guardrails
|
|
19
|
-
|
|
20
|
-
- Keep project intent in `project/info.md` and technical rules in `project/guidelines.md`.
|
|
21
|
-
- Prefer Expo-owned guidance for framework mechanics; MDS adds project memory, checks, defaults, and workflows.
|
|
22
|
-
- Do not skip unresolved `# TodoForContext(optional):` markers before implementation.
|
|
1
|
+
---
|
|
2
|
+
name: "MDS"
|
|
3
|
+
description: "MDS Expo project intelligence agent for Doctor, onboarding, deploy checks, and phase continuation."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# MDS Agent
|
|
7
|
+
|
|
8
|
+
You are the Mr. DJ's Dev Suite agent for Expo projects. Treat callable MDS MCP tools as the runtime behavior surface and prompt markdown as guidance only.
|
|
9
|
+
|
|
10
|
+
## Tool Routing
|
|
11
|
+
|
|
12
|
+
- Use `doctor_scan_project` before release or broad refactors.
|
|
13
|
+
- Use `doctor_scan_file` for focused route, env, SSR, or API changes.
|
|
14
|
+
- Use `generate_refactor_plan` before moving architecture across folders.
|
|
15
|
+
- Use `generate_deploy_checklist` before release or client handoff.
|
|
16
|
+
- Use `list_skills`, `get_skill`, and `get_guide` before giving framework-specific guidance.
|
|
17
|
+
|
|
18
|
+
## Guardrails
|
|
19
|
+
|
|
20
|
+
- Keep project intent in `project/info.md` and technical rules in `project/guidelines.md`.
|
|
21
|
+
- Prefer Expo-owned guidance for framework mechanics; MDS adds project memory, checks, defaults, and workflows.
|
|
22
|
+
- Do not skip unresolved `# TodoForContext(optional):` markers before implementation.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<!-- BEGIN MDS COPILOT INSTRUCTIONS -->
|
|
2
|
-
# Mr. DJ's Dev Suite Copilot Instructions
|
|
3
|
-
|
|
4
|
-
- Treat `project/` as the source of truth for product intent, roadmap, style, and technical rules.
|
|
5
|
-
- Prefer callable MDS MCP tools before broad edits: `doctor_scan_project`, `doctor_scan_file`, `generate_refactor_plan`, and `generate_deploy_checklist`.
|
|
6
|
-
- Use `list_skills`, `get_skill`, and `get_guide` for MDS guidance, while delegating framework mechanics to official Expo/React Native guidance when available.
|
|
7
|
-
- Keep route files thin, env secrets server-only, and release work gated by Doctor checks.
|
|
8
|
-
<!-- END MDS COPILOT INSTRUCTIONS -->
|
|
1
|
+
<!-- BEGIN MDS COPILOT INSTRUCTIONS -->
|
|
2
|
+
# Mr. DJ's Dev Suite Copilot Instructions
|
|
3
|
+
|
|
4
|
+
- Treat `project/` as the source of truth for product intent, roadmap, style, and technical rules.
|
|
5
|
+
- Prefer callable MDS MCP tools before broad edits: `doctor_scan_project`, `doctor_scan_file`, `generate_refactor_plan`, and `generate_deploy_checklist`.
|
|
6
|
+
- Use `list_skills`, `get_skill`, and `get_guide` for MDS guidance, while delegating framework mechanics to official Expo/React Native guidance when available.
|
|
7
|
+
- Keep route files thin, env secrets server-only, and release work gated by Doctor checks.
|
|
8
|
+
<!-- END MDS COPILOT INSTRUCTIONS -->
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
---
|
|
2
|
-
mode: "agent"
|
|
3
|
-
description: "Run the MDS Continue Development workflow with callable MDS MCP diagnostics and explicit fallback rules."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# /continue-development
|
|
7
|
-
|
|
8
|
-
Resume work on an onboarded project by following MDS phase order from `project/todo.md`.
|
|
9
|
-
|
|
10
|
-
## Arguments
|
|
11
|
-
|
|
12
|
-
- `projectPath`: onboarded app path (default: current directory).
|
|
13
|
-
|
|
14
|
-
## MCP-First Workflow
|
|
15
|
-
|
|
16
|
-
1. Confirm the `mds` MCP server is available.
|
|
17
|
-
2. Call `continue_project` first to get the active-phase brief.
|
|
18
|
-
3. Pull `get_skill` for `continue-development` to enforce phase-first sequencing.
|
|
19
|
-
4. If blockers appear, use `doctor_scan_project` and `doctor_explain_result` for targeted remediation before feature work.
|
|
20
|
-
|
|
21
|
-
## MDS Routing Guardrails
|
|
22
|
-
|
|
23
|
-
- Treat a request to continue development with MDS as a request for the MDS MCP tool and phase rules first.
|
|
24
|
-
- Do not jump directly into app edits until `continue_project` or the CLI fallback has identified the active phase and blockers.
|
|
25
|
-
- Never invoke `@mrdj/cli`; that package name is wrong. The published CLI package is `@mr.dj2u/cli` and its executable is `mds`.
|
|
26
|
-
|
|
27
|
-
## CLI / Manual Fallback
|
|
28
|
-
|
|
29
|
-
1. If MCP is not configured, install it manually:
|
|
30
|
-
- `mds mcp install --client <client> --scope project`
|
|
31
|
-
2. Direct CLI flow:
|
|
32
|
-
- `mds continue <projectPath>`
|
|
33
|
-
- `mds doctor <projectPath>` when blockers are unclear.
|
|
34
|
-
3. If `mds` is not on PATH, invoke the published CLI by binary name:
|
|
35
|
-
- `npx -y -p @mr.dj2u/cli@latest mds continue <projectPath>`
|
|
36
|
-
|
|
37
|
-
## Verification And Output
|
|
38
|
-
|
|
39
|
-
- Confirm the chosen task belongs to the active phase or has an explicit deferral note.
|
|
40
|
-
- Output: selected next task, blockers, and validation commands to run after implementation.
|
|
1
|
+
---
|
|
2
|
+
mode: "agent"
|
|
3
|
+
description: "Run the MDS Continue Development workflow with callable MDS MCP diagnostics and explicit fallback rules."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /continue-development
|
|
7
|
+
|
|
8
|
+
Resume work on an onboarded project by following MDS phase order from `project/todo.md`.
|
|
9
|
+
|
|
10
|
+
## Arguments
|
|
11
|
+
|
|
12
|
+
- `projectPath`: onboarded app path (default: current directory).
|
|
13
|
+
|
|
14
|
+
## MCP-First Workflow
|
|
15
|
+
|
|
16
|
+
1. Confirm the `mds` MCP server is available.
|
|
17
|
+
2. Call `continue_project` first to get the active-phase brief.
|
|
18
|
+
3. Pull `get_skill` for `continue-development` to enforce phase-first sequencing.
|
|
19
|
+
4. If blockers appear, use `doctor_scan_project` and `doctor_explain_result` for targeted remediation before feature work.
|
|
20
|
+
|
|
21
|
+
## MDS Routing Guardrails
|
|
22
|
+
|
|
23
|
+
- Treat a request to continue development with MDS as a request for the MDS MCP tool and phase rules first.
|
|
24
|
+
- Do not jump directly into app edits until `continue_project` or the CLI fallback has identified the active phase and blockers.
|
|
25
|
+
- Never invoke `@mrdj/cli`; that package name is wrong. The published CLI package is `@mr.dj2u/cli` and its executable is `mds`.
|
|
26
|
+
|
|
27
|
+
## CLI / Manual Fallback
|
|
28
|
+
|
|
29
|
+
1. If MCP is not configured, install it manually:
|
|
30
|
+
- `mds mcp install --client <client> --scope project`
|
|
31
|
+
2. Direct CLI flow:
|
|
32
|
+
- `mds continue <projectPath>`
|
|
33
|
+
- `mds doctor <projectPath>` when blockers are unclear.
|
|
34
|
+
3. If `mds` is not on PATH, invoke the published CLI by binary name:
|
|
35
|
+
- `npx -y -p @mr.dj2u/cli@latest mds continue <projectPath>`
|
|
36
|
+
|
|
37
|
+
## Verification And Output
|
|
38
|
+
|
|
39
|
+
- Confirm the chosen task belongs to the active phase or has an explicit deferral note.
|
|
40
|
+
- Output: selected next task, blockers, and validation commands to run after implementation.
|
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
---
|
|
2
|
-
mode: "agent"
|
|
3
|
-
description: "Run the MDS Create Expo Super Stack workflow with callable MDS MCP diagnostics and explicit fallback rules."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# /create-expo-super-stack
|
|
7
|
-
|
|
8
|
-
Create a new Expo app with the MDS Super Stack flow, using the published CESS CLI as the execution source of truth and callable MDS MCP tools as the guided intake surface.
|
|
9
|
-
|
|
10
|
-
## Arguments
|
|
11
|
-
|
|
12
|
-
- `parentDir`: folder where the new app directory should be created.
|
|
13
|
-
- `appName`: app folder name.
|
|
14
|
-
|
|
15
|
-
## Required MDS MCP Tool Flow
|
|
16
|
-
|
|
17
|
-
1. Confirm the `mds` MCP server is available.
|
|
18
|
-
2. Drive intake with `create_expo_super_stack_intake_step`.
|
|
19
|
-
3. Ask exactly one question per turn.
|
|
20
|
-
4. Always show the returned default and options.
|
|
21
|
-
5. Never invent or silently accept defaults on the user's behalf.
|
|
22
|
-
6. When the intake tool returns `confirm`, summarize the returned `summaryLines` and ask the user to confirm.
|
|
23
|
-
7. After explicit confirmation, set `answers.confirmed=true`, call the intake tool again, and proceed only when it returns `ready`.
|
|
24
|
-
8. Then call `create_expo_super_stack_generate` with `confirmed: true`.
|
|
25
|
-
|
|
26
|
-
## Failure Behavior
|
|
27
|
-
|
|
28
|
-
1. If the guided intake or generate tools are unavailable, stop.
|
|
29
|
-
2. Call `mds_runtime_versions` to diagnose stale plugin or MCP installs.
|
|
30
|
-
3. Tell the user to refresh or reinstall the MDS plugin/MCP server.
|
|
31
|
-
4. Do not fall back to `--mds-yes` or direct CLI shortcuts unless the user explicitly asked for a fast non-interactive run.
|
|
32
|
-
|
|
33
|
-
## Verification And Output
|
|
34
|
-
|
|
35
|
-
- Confirm generated app has `project/info.md`, `project/todo.md`, `project/style.md`, and `project/guidelines.md`.
|
|
36
|
-
-
|
|
1
|
+
---
|
|
2
|
+
mode: "agent"
|
|
3
|
+
description: "Run the MDS Create Expo Super Stack workflow with callable MDS MCP diagnostics and explicit fallback rules."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /create-expo-super-stack
|
|
7
|
+
|
|
8
|
+
Create a new Expo app with the MDS Super Stack flow, using the published CESS CLI as the execution source of truth and callable MDS MCP tools as the guided intake surface.
|
|
9
|
+
|
|
10
|
+
## Arguments
|
|
11
|
+
|
|
12
|
+
- `parentDir`: folder where the new app directory should be created.
|
|
13
|
+
- `appName`: app folder name.
|
|
14
|
+
|
|
15
|
+
## Required MDS MCP Tool Flow
|
|
16
|
+
|
|
17
|
+
1. Confirm the `mds` MCP server is available.
|
|
18
|
+
2. Drive intake with `create_expo_super_stack_intake_step`.
|
|
19
|
+
3. Ask exactly one question per turn.
|
|
20
|
+
4. Always show the returned default and options.
|
|
21
|
+
5. Never invent or silently accept defaults on the user's behalf.
|
|
22
|
+
6. When the intake tool returns `confirm`, summarize the returned `summaryLines` and ask the user to confirm.
|
|
23
|
+
7. After explicit confirmation, set `answers.confirmed=true`, call the intake tool again, and proceed only when it returns `ready`.
|
|
24
|
+
8. Then call `create_expo_super_stack_generate` with `confirmed: true`.
|
|
25
|
+
|
|
26
|
+
## Failure Behavior
|
|
27
|
+
|
|
28
|
+
1. If the guided intake or generate tools are unavailable, stop.
|
|
29
|
+
2. Call `mds_runtime_versions` to diagnose stale plugin or MCP installs.
|
|
30
|
+
3. Tell the user to refresh or reinstall the MDS plugin/MCP server.
|
|
31
|
+
4. Do not fall back to `--mds-yes` or direct CLI shortcuts unless the user explicitly asked for a fast non-interactive run.
|
|
32
|
+
|
|
33
|
+
## Verification And Output
|
|
34
|
+
|
|
35
|
+
- Confirm generated app has `project/info.md`, `project/todo.md`, `project/style.md`, and `project/guidelines.md`.
|
|
36
|
+
- Confirm `project/todo.md` includes the auto-derived roadmap generated from normalized `project/info.md`.
|
|
37
|
+
- Output: generated app path, onboarding status, and the handoff to open a fresh agent session inside the new app folder and run `mds continue`.
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
---
|
|
2
|
-
mode: "agent"
|
|
3
|
-
description: "Run the MDS Fix Seo workflow with callable MDS MCP diagnostics and explicit fallback rules."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# /fix-seo
|
|
7
|
-
|
|
8
|
-
Apply SEO metadata fixes for Expo web routes with MCP guidance and post-fix verification.
|
|
9
|
-
|
|
10
|
-
## Arguments
|
|
11
|
-
|
|
12
|
-
- `projectPath`: Expo project path (default: current directory).
|
|
13
|
-
- `routeOrFile`: optional route/file focus for targeted checks.
|
|
14
|
-
|
|
15
|
-
## MCP-First Workflow
|
|
16
|
-
|
|
17
|
-
1. Confirm the `mds` MCP server is available.
|
|
18
|
-
2. Pull `get_skill` for `seo-metadata`.
|
|
19
|
-
3. Optionally run `doctor_scan_file` for focused route files, then `doctor_scan_project` for full checks.
|
|
20
|
-
4. Use `knowledge_list_resources` (`kind: "rule"`) to ensure canonical/indexing strategy is complete.
|
|
21
|
-
5. Implement metadata, canonical, robots, and sitemap corrections in route ownership boundaries.
|
|
22
|
-
|
|
23
|
-
## CLI / Manual Fallback
|
|
24
|
-
|
|
25
|
-
1. If MCP is not configured, install it manually:
|
|
26
|
-
- `mds mcp install --client <client> --scope project`
|
|
27
|
-
2. Direct CLI checks:
|
|
28
|
-
- `mds doctor <projectPath> --ci`
|
|
29
|
-
- Run project-specific web build/preview commands to verify metadata output.
|
|
30
|
-
|
|
31
|
-
## Verification And Output
|
|
32
|
-
|
|
33
|
-
- Confirm canonical tags, social metadata, and sitemap/robots behavior on affected routes.
|
|
34
|
-
- Output: changed files, resolved SEO gaps, and any remaining manual verification steps.
|
|
1
|
+
---
|
|
2
|
+
mode: "agent"
|
|
3
|
+
description: "Run the MDS Fix Seo workflow with callable MDS MCP diagnostics and explicit fallback rules."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /fix-seo
|
|
7
|
+
|
|
8
|
+
Apply SEO metadata fixes for Expo web routes with MCP guidance and post-fix verification.
|
|
9
|
+
|
|
10
|
+
## Arguments
|
|
11
|
+
|
|
12
|
+
- `projectPath`: Expo project path (default: current directory).
|
|
13
|
+
- `routeOrFile`: optional route/file focus for targeted checks.
|
|
14
|
+
|
|
15
|
+
## MCP-First Workflow
|
|
16
|
+
|
|
17
|
+
1. Confirm the `mds` MCP server is available.
|
|
18
|
+
2. Pull `get_skill` for `seo-metadata`.
|
|
19
|
+
3. Optionally run `doctor_scan_file` for focused route files, then `doctor_scan_project` for full checks.
|
|
20
|
+
4. Use `knowledge_list_resources` (`kind: "rule"`) to ensure canonical/indexing strategy is complete.
|
|
21
|
+
5. Implement metadata, canonical, robots, and sitemap corrections in route ownership boundaries.
|
|
22
|
+
|
|
23
|
+
## CLI / Manual Fallback
|
|
24
|
+
|
|
25
|
+
1. If MCP is not configured, install it manually:
|
|
26
|
+
- `mds mcp install --client <client> --scope project`
|
|
27
|
+
2. Direct CLI checks:
|
|
28
|
+
- `mds doctor <projectPath> --ci`
|
|
29
|
+
- Run project-specific web build/preview commands to verify metadata output.
|
|
30
|
+
|
|
31
|
+
## Verification And Output
|
|
32
|
+
|
|
33
|
+
- Confirm canonical tags, social metadata, and sitemap/robots behavior on affected routes.
|
|
34
|
+
- Output: changed files, resolved SEO gaps, and any remaining manual verification steps.
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
---
|
|
2
|
-
mode: "agent"
|
|
3
|
-
description: "Run the MDS Prepare Deploy workflow with callable MDS MCP diagnostics and explicit fallback rules."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# /prepare-deploy
|
|
7
|
-
|
|
8
|
-
Prepare an Expo project for release using deployment-focused skills plus Doctor parity checks.
|
|
9
|
-
|
|
10
|
-
## Arguments
|
|
11
|
-
|
|
12
|
-
- `projectPath`: release candidate project path (default: current directory).
|
|
13
|
-
- `includeSeo`: whether to include web metadata/indexing checks (default: `true` when web is targeted).
|
|
14
|
-
|
|
15
|
-
## MCP-First Workflow
|
|
16
|
-
|
|
17
|
-
1. Confirm the `mds` MCP server is available.
|
|
18
|
-
2. Run `doctor_scan_project` in `ci` mode for release parity.
|
|
19
|
-
3. Pull `get_skill` for `deployment`; if web is involved also pull `seo-metadata`.
|
|
20
|
-
4. Use `knowledge_list_resources` (`kind: "rule"`) to confirm env hygiene, SSR safety, and metadata requirements.
|
|
21
|
-
5. Produce a release checklist mapped to current failing checks.
|
|
22
|
-
|
|
23
|
-
## CLI / Manual Fallback
|
|
24
|
-
|
|
25
|
-
1. If MCP is not configured, install it manually:
|
|
26
|
-
- `mds mcp install --client <client> --scope project`
|
|
27
|
-
2. Direct CLI path:
|
|
28
|
-
- `mds doctor <projectPath> --ci`
|
|
29
|
-
- Run project scripts: `lint`, `type-check`, `test`, and production build/profile scripts.
|
|
30
|
-
|
|
31
|
-
## Verification And Output
|
|
32
|
-
|
|
33
|
-
- Re-run `doctor_scan_project` (or CLI equivalent) until blockers are cleared.
|
|
34
|
-
- Output: release readiness status, unresolved blockers, and rollback/readiness notes.
|
|
1
|
+
---
|
|
2
|
+
mode: "agent"
|
|
3
|
+
description: "Run the MDS Prepare Deploy workflow with callable MDS MCP diagnostics and explicit fallback rules."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /prepare-deploy
|
|
7
|
+
|
|
8
|
+
Prepare an Expo project for release using deployment-focused skills plus Doctor parity checks.
|
|
9
|
+
|
|
10
|
+
## Arguments
|
|
11
|
+
|
|
12
|
+
- `projectPath`: release candidate project path (default: current directory).
|
|
13
|
+
- `includeSeo`: whether to include web metadata/indexing checks (default: `true` when web is targeted).
|
|
14
|
+
|
|
15
|
+
## MCP-First Workflow
|
|
16
|
+
|
|
17
|
+
1. Confirm the `mds` MCP server is available.
|
|
18
|
+
2. Run `doctor_scan_project` in `ci` mode for release parity.
|
|
19
|
+
3. Pull `get_skill` for `deployment`; if web is involved also pull `seo-metadata`.
|
|
20
|
+
4. Use `knowledge_list_resources` (`kind: "rule"`) to confirm env hygiene, SSR safety, and metadata requirements.
|
|
21
|
+
5. Produce a release checklist mapped to current failing checks.
|
|
22
|
+
|
|
23
|
+
## CLI / Manual Fallback
|
|
24
|
+
|
|
25
|
+
1. If MCP is not configured, install it manually:
|
|
26
|
+
- `mds mcp install --client <client> --scope project`
|
|
27
|
+
2. Direct CLI path:
|
|
28
|
+
- `mds doctor <projectPath> --ci`
|
|
29
|
+
- Run project scripts: `lint`, `type-check`, `test`, and production build/profile scripts.
|
|
30
|
+
|
|
31
|
+
## Verification And Output
|
|
32
|
+
|
|
33
|
+
- Re-run `doctor_scan_project` (or CLI equivalent) until blockers are cleared.
|
|
34
|
+
- Output: release readiness status, unresolved blockers, and rollback/readiness notes.
|