@mr.dj2u/cli 0.1.1 → 0.1.3
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 +12 -0
- package/bundles/claude-code/.mcp.json +8 -0
- package/bundles/claude-code/CLAUDE.md +59 -0
- package/bundles/claude-code/README.md +51 -0
- package/bundles/claude-code/agents/mds.md +35 -0
- package/bundles/claude-code/commands/continue-development.md +27 -0
- package/bundles/claude-code/commands/create-expo-super-stack.md +30 -0
- package/bundles/claude-code/commands/fix-seo.md +29 -0
- package/bundles/claude-code/commands/prepare-deploy.md +31 -0
- package/bundles/claude-code/commands/project-research-plan.md +29 -0
- package/bundles/claude-code/commands/review-expo-project.md +32 -0
- package/bundles/claude-code/commands/run-doctor.md +32 -0
- package/bundles/claude-code/settings.json +3 -0
- package/bundles/claude-code/skills/api-routes/SKILL.md +37 -0
- package/bundles/claude-code/skills/continue-development/SKILL.md +32 -0
- package/bundles/claude-code/skills/create-expo-super-stack/SKILL.md +35 -0
- package/bundles/claude-code/skills/debugging/SKILL.md +36 -0
- package/bundles/claude-code/skills/deployment/SKILL.md +36 -0
- package/bundles/claude-code/skills/dev-server-management/SKILL.md +36 -0
- package/bundles/claude-code/skills/env-vars/SKILL.md +36 -0
- package/bundles/claude-code/skills/expo-router-architecture/SKILL.md +37 -0
- package/bundles/claude-code/skills/expo-ssr-safety/SKILL.md +36 -0
- package/bundles/claude-code/skills/fix-seo/SKILL.md +34 -0
- package/bundles/claude-code/skills/plugin-creation/SKILL.md +45 -0
- package/bundles/claude-code/skills/prepare-deploy/SKILL.md +36 -0
- package/bundles/claude-code/skills/production-server-patterns/SKILL.md +35 -0
- package/bundles/claude-code/skills/project-onboarding/SKILL.md +35 -0
- package/bundles/claude-code/skills/project-research-plan/SKILL.md +34 -0
- package/bundles/claude-code/skills/research-plan-intake/SKILL.md +36 -0
- package/bundles/claude-code/skills/review-expo-project/SKILL.md +37 -0
- package/bundles/claude-code/skills/run-doctor/SKILL.md +37 -0
- package/bundles/claude-code/skills/seo-metadata/SKILL.md +35 -0
- package/bundles/claude-code/skills/super-stack-startup/SKILL.md +38 -0
- package/bundles/claude-code/skills/uniwind-theming/SKILL.md +36 -0
- package/bundles/codex/.codex-plugin/plugin.json +42 -0
- package/bundles/codex/.mcp.json +11 -0
- package/bundles/codex/README.md +48 -0
- package/bundles/codex/commands/continue-development.md +27 -0
- package/bundles/codex/commands/create-expo-super-stack.md +30 -0
- package/bundles/codex/commands/fix-seo.md +29 -0
- package/bundles/codex/commands/prepare-deploy.md +31 -0
- package/bundles/codex/commands/project-research-plan.md +29 -0
- package/bundles/codex/commands/review-expo-project.md +32 -0
- package/bundles/codex/commands/run-doctor.md +32 -0
- package/bundles/codex/skills/api-routes/SKILL.md +32 -0
- package/bundles/codex/skills/continue-development/SKILL.md +32 -0
- package/bundles/codex/skills/debugging/SKILL.md +32 -0
- package/bundles/codex/skills/deployment/SKILL.md +31 -0
- package/bundles/codex/skills/dev-server-management/SKILL.md +32 -0
- package/bundles/codex/skills/env-vars/SKILL.md +31 -0
- package/bundles/codex/skills/expo-router-architecture/SKILL.md +32 -0
- package/bundles/codex/skills/expo-ssr-safety/SKILL.md +31 -0
- package/bundles/codex/skills/plugin-creation/SKILL.md +41 -0
- package/bundles/codex/skills/production-server-patterns/SKILL.md +31 -0
- package/bundles/codex/skills/project-onboarding/SKILL.md +31 -0
- package/bundles/codex/skills/research-plan-intake/SKILL.md +32 -0
- package/bundles/codex/skills/seo-metadata/SKILL.md +31 -0
- package/bundles/codex/skills/super-stack-startup/SKILL.md +34 -0
- package/bundles/codex/skills/uniwind-theming/SKILL.md +31 -0
- package/bundles/vscode-copilot/.github/agents/mds.agent.md +22 -0
- package/bundles/vscode-copilot/.github/copilot-instructions.md +8 -0
- package/bundles/vscode-copilot/.github/prompts/continue-development.prompt.md +32 -0
- package/bundles/vscode-copilot/.github/prompts/create-expo-super-stack.prompt.md +35 -0
- package/bundles/vscode-copilot/.github/prompts/fix-seo.prompt.md +34 -0
- package/bundles/vscode-copilot/.github/prompts/prepare-deploy.prompt.md +36 -0
- package/bundles/vscode-copilot/.github/prompts/project-research-plan.prompt.md +34 -0
- package/bundles/vscode-copilot/.github/prompts/review-expo-project.prompt.md +37 -0
- package/bundles/vscode-copilot/.github/prompts/run-doctor.prompt.md +37 -0
- package/bundles/vscode-copilot/.github/skills/api-routes/SKILL.md +38 -0
- package/bundles/vscode-copilot/.github/skills/continue-development/SKILL.md +37 -0
- package/bundles/vscode-copilot/.github/skills/debugging/SKILL.md +37 -0
- package/bundles/vscode-copilot/.github/skills/deployment/SKILL.md +37 -0
- package/bundles/vscode-copilot/.github/skills/dev-server-management/SKILL.md +37 -0
- package/bundles/vscode-copilot/.github/skills/env-vars/SKILL.md +37 -0
- package/bundles/vscode-copilot/.github/skills/expo-router-architecture/SKILL.md +38 -0
- package/bundles/vscode-copilot/.github/skills/expo-ssr-safety/SKILL.md +37 -0
- package/bundles/vscode-copilot/.github/skills/plugin-creation/SKILL.md +46 -0
- package/bundles/vscode-copilot/.github/skills/production-server-patterns/SKILL.md +36 -0
- package/bundles/vscode-copilot/.github/skills/project-onboarding/SKILL.md +36 -0
- package/bundles/vscode-copilot/.github/skills/research-plan-intake/SKILL.md +37 -0
- package/bundles/vscode-copilot/.github/skills/seo-metadata/SKILL.md +36 -0
- package/bundles/vscode-copilot/.github/skills/super-stack-startup/SKILL.md +39 -0
- package/bundles/vscode-copilot/.github/skills/uniwind-theming/SKILL.md +37 -0
- package/bundles/vscode-copilot/.vscode/mcp.json +11 -0
- package/bundles/vscode-copilot/.vscode/settings.json +14 -0
- package/bundles/vscode-copilot/README.md +32 -0
- package/bundles/vscode-copilot/user/.copilot/agents/mds.agent.md +22 -0
- package/bundles/vscode-copilot/user/.copilot/instructions.md +8 -0
- package/bundles/vscode-copilot/user/.copilot/skills/api-routes/SKILL.md +38 -0
- package/bundles/vscode-copilot/user/.copilot/skills/continue-development/SKILL.md +37 -0
- package/bundles/vscode-copilot/user/.copilot/skills/debugging/SKILL.md +37 -0
- package/bundles/vscode-copilot/user/.copilot/skills/deployment/SKILL.md +37 -0
- package/bundles/vscode-copilot/user/.copilot/skills/dev-server-management/SKILL.md +37 -0
- package/bundles/vscode-copilot/user/.copilot/skills/env-vars/SKILL.md +37 -0
- package/bundles/vscode-copilot/user/.copilot/skills/expo-router-architecture/SKILL.md +38 -0
- package/bundles/vscode-copilot/user/.copilot/skills/expo-ssr-safety/SKILL.md +37 -0
- package/bundles/vscode-copilot/user/.copilot/skills/plugin-creation/SKILL.md +46 -0
- package/bundles/vscode-copilot/user/.copilot/skills/production-server-patterns/SKILL.md +36 -0
- package/bundles/vscode-copilot/user/.copilot/skills/project-onboarding/SKILL.md +36 -0
- package/bundles/vscode-copilot/user/.copilot/skills/research-plan-intake/SKILL.md +37 -0
- package/bundles/vscode-copilot/user/.copilot/skills/seo-metadata/SKILL.md +36 -0
- package/bundles/vscode-copilot/user/.copilot/skills/super-stack-startup/SKILL.md +39 -0
- package/bundles/vscode-copilot/user/.copilot/skills/uniwind-theming/SKILL.md +37 -0
- package/bundles/vscode-copilot/user/.copilot/skills/workflow-continue-development/SKILL.md +32 -0
- package/bundles/vscode-copilot/user/.copilot/skills/workflow-create-expo-super-stack/SKILL.md +35 -0
- package/bundles/vscode-copilot/user/.copilot/skills/workflow-fix-seo/SKILL.md +34 -0
- package/bundles/vscode-copilot/user/.copilot/skills/workflow-prepare-deploy/SKILL.md +36 -0
- package/bundles/vscode-copilot/user/.copilot/skills/workflow-project-research-plan/SKILL.md +34 -0
- package/bundles/vscode-copilot/user/.copilot/skills/workflow-review-expo-project/SKILL.md +37 -0
- package/bundles/vscode-copilot/user/.copilot/skills/workflow-run-doctor/SKILL.md +37 -0
- package/dist/cli.js +2 -3
- package/dist/cli.js.map +1 -1
- package/dist/commands/agent.d.ts +5 -4
- package/dist/commands/agent.d.ts.map +1 -1
- package/dist/commands/agent.js +155 -30
- package/dist/commands/agent.js.map +1 -1
- package/dist/project-memory.js +0 -2
- package/dist/project-memory.js.map +1 -1
- package/package.json +4 -3
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Use when structuring, reviewing, or refactoring Expo Router route code.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Skill: Expo Router Architecture
|
|
6
|
+
|
|
7
|
+
Use when structuring, reviewing, or refactoring Expo Router route code.
|
|
8
|
+
|
|
9
|
+
## Main rule
|
|
10
|
+
|
|
11
|
+
Keep route files thin: routing and composition belong in `app/`, while business/data logic lives in feature, service, and shared modules.
|
|
12
|
+
|
|
13
|
+
## Checks
|
|
14
|
+
|
|
15
|
+
- Confirm route files avoid direct DB calls, heavy business logic, and large side-effect chains.
|
|
16
|
+
- Confirm shared UI blocks are extracted to component modules.
|
|
17
|
+
- Confirm cross-route state is managed in stores/hooks instead of duplicated route-local logic.
|
|
18
|
+
- Confirm route grouping/layout usage is intentional and not overloaded at root.
|
|
19
|
+
- Confirm file size/complexity trends support long-term maintainability.
|
|
20
|
+
|
|
21
|
+
## Preferred structure
|
|
22
|
+
|
|
23
|
+
- Keep `app/` files focused on params, navigation, and screen composition.
|
|
24
|
+
- Place business workflows in `src/features`.
|
|
25
|
+
- Place side effects/integrations in `src/services` or `src/data`.
|
|
26
|
+
- Keep reusable UI in `src/components` and cross-cutting helpers in hooks/utilities.
|
|
27
|
+
|
|
28
|
+
## Example fix
|
|
29
|
+
|
|
30
|
+
- Problem: A route file performs data fetching, mutation, and form business rules inline.
|
|
31
|
+
- Fix: Move fetch/mutation logic to service modules, move workflow rules to a feature module, and keep the route as a thin screen wrapper.
|
|
32
|
+
|
|
33
|
+
## Agent behavior
|
|
34
|
+
|
|
35
|
+
- Prefer small, incremental extractions over broad rewrites.
|
|
36
|
+
- Delegate framework routing primitives to official Expo Router guidance, then apply MDS rules for maintainable app-folder boundaries and Doctor-compatible architecture.
|
|
37
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Use when preparing or debugging Expo Router web/server output paths.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Skill: Expo SSR Safety
|
|
6
|
+
|
|
7
|
+
Use when preparing or debugging Expo Router web/server output paths.
|
|
8
|
+
|
|
9
|
+
## Main rule
|
|
10
|
+
|
|
11
|
+
Assume server runtime first: guard browser-only APIs, isolate native-only code, and keep shared modules safe in both client and server contexts.
|
|
12
|
+
|
|
13
|
+
## Checks
|
|
14
|
+
|
|
15
|
+
- Guard `window`, `document`, `navigator`, `localStorage`, and `sessionStorage` access.
|
|
16
|
+
- Confirm client-only packages are not imported by server/API execution paths.
|
|
17
|
+
- Confirm storage/session access happens in client-safe lifecycle points.
|
|
18
|
+
- Verify API routes and server modules do not rely on browser globals.
|
|
19
|
+
- Validate dynamic imports or adapters for platform-specific behavior.
|
|
20
|
+
|
|
21
|
+
## Preferred structure
|
|
22
|
+
|
|
23
|
+
- Use small environment-check helpers for browser-global access.
|
|
24
|
+
- Split client-only logic behind platform/runtime-specific modules.
|
|
25
|
+
- Keep server-safe defaults and explicit fallbacks in shared utilities.
|
|
26
|
+
|
|
27
|
+
## Example fix
|
|
28
|
+
|
|
29
|
+
- Problem: Shared auth helper reads `localStorage` at module load and crashes SSR.
|
|
30
|
+
- Fix: Move storage access into guarded runtime functions and provide a server-safe fallback.
|
|
31
|
+
|
|
32
|
+
## Agent behavior
|
|
33
|
+
|
|
34
|
+
- Fix crash-risk paths first, then clean up architecture.
|
|
35
|
+
- Delegate framework SSR primitives to official Expo docs, then apply MDS-specific guard patterns and Doctor rule compatibility.
|
|
36
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Apply SEO metadata fixes for Expo web routes with MCP guidance and post-fix verification.
|
|
3
|
+
disable-model-invocation: true
|
|
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 `mr-djs-dev-suite` 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 codex --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.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Use when building or extending an MDS plugin bundle for any agent client (Claude Code, Codex, Cursor, etc.).
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Skill: MDS Plugin Creation
|
|
6
|
+
|
|
7
|
+
Use when building or extending an MDS plugin bundle for any agent client (Claude Code, Codex, Cursor, etc.).
|
|
8
|
+
|
|
9
|
+
## Main rule
|
|
10
|
+
|
|
11
|
+
Plugins are thin bundles. `packages/knowledge` is the source of truth for skills, command prompts, checklists, and examples. Do not hand-author plugin skill/command copies in plugin folders.
|
|
12
|
+
|
|
13
|
+
## Structure conventions
|
|
14
|
+
|
|
15
|
+
Every MDS plugin lives in `plugins/<client-name>/`:
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
plugins/<client-name>/
|
|
19
|
+
README.md
|
|
20
|
+
CLAUDE.md # Claude-specific merge instructions (if relevant)
|
|
21
|
+
.mcp.json
|
|
22
|
+
commands/ # generated command markdown from canonical prompt specs
|
|
23
|
+
skills/ # generated skill files
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Checks
|
|
27
|
+
|
|
28
|
+
- Skill markdown lives only in `packages/knowledge/src/content/skills/`.
|
|
29
|
+
- Prompt/command markdown lives only in `packages/knowledge/src/content/prompts/`.
|
|
30
|
+
- `plugins/<client>/skills/` remains generated output and is not manually edited.
|
|
31
|
+
- Commands reference real MCP tool names from `packages/mcp-server`.
|
|
32
|
+
- MCP config uses the `mr-djs-dev-suite` server key.
|
|
33
|
+
|
|
34
|
+
## Adding a plugin capability
|
|
35
|
+
|
|
36
|
+
1. Add or update canonical content in `packages/knowledge/src/content/*`.
|
|
37
|
+
2. Update canonical prompt metadata in `packages/knowledge/src/prompts/index.ts`.
|
|
38
|
+
3. Regenerate outputs via `pnpm --filter @mr.dj2u/knowledge build`.
|
|
39
|
+
4. Verify generated plugin assets under `plugins/codex/` and `plugins/claude-code/`.
|
|
40
|
+
|
|
41
|
+
## Agent behavior
|
|
42
|
+
|
|
43
|
+
- Prefer extending canonical knowledge specs over patching generated plugin files.
|
|
44
|
+
- Keep command prompts action-oriented and generated from canonical prompt specs, with clear fallback paths.
|
|
45
|
+
- Delegate framework guidance to Expo-owned skills/docs when available; layer MDS project-memory and workflow guidance on top.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Prepare an Expo project for release using deployment-focused skills plus Doctor parity checks.
|
|
3
|
+
disable-model-invocation: true
|
|
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 `mr-djs-dev-suite` 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. Call `generate_deploy_checklist` so SEO, scripts, and release-readiness gaps are reflected in the next steps.
|
|
22
|
+
6. Produce a release checklist mapped to current failing checks.
|
|
23
|
+
|
|
24
|
+
## CLI / Manual Fallback
|
|
25
|
+
|
|
26
|
+
1. If MCP is not configured, install it manually:
|
|
27
|
+
- `mds mcp install --client codex --scope project`
|
|
28
|
+
2. Direct CLI path:
|
|
29
|
+
- `mds doctor <projectPath> --ci`
|
|
30
|
+
- Run project scripts: `lint`, `type-check`, `test`, and production build/profile scripts.
|
|
31
|
+
|
|
32
|
+
## Verification And Output
|
|
33
|
+
|
|
34
|
+
- Re-run `doctor_scan_project` (or CLI equivalent) until blockers are cleared.
|
|
35
|
+
- Keep the response user-facing and checklist-driven; avoid internal tool chatter and avoid asking for a PR unless the user requested GitHub workflow.
|
|
36
|
+
- Output: release readiness status, unresolved blockers, and rollback/readiness notes.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Use when setting up or debugging how an Expo project serves production traffic.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Skill: Production Server Patterns
|
|
6
|
+
|
|
7
|
+
Use when setting up or debugging how an Expo project serves production traffic.
|
|
8
|
+
|
|
9
|
+
## Main rule
|
|
10
|
+
|
|
11
|
+
Pick one explicit production serving mode per environment and codify it in scripts; avoid mixed runtime assumptions.
|
|
12
|
+
|
|
13
|
+
## Checks
|
|
14
|
+
|
|
15
|
+
- Confirm selected mode is documented: managed Expo/EAS, Express adapter, or dual-server.
|
|
16
|
+
- Confirm serving scripts match the selected runtime (`npx expo serve`, `node server.js`, or dual process scripts).
|
|
17
|
+
- Confirm routing boundaries are clear when app and API are separate services.
|
|
18
|
+
- Confirm env var ownership differs correctly across app server and API server in dual-server mode.
|
|
19
|
+
- Confirm “fresh” start scripts exist where server state/caches can cause drift.
|
|
20
|
+
|
|
21
|
+
## Preferred structure
|
|
22
|
+
|
|
23
|
+
- Define `serve:prod` and `serve:prod:fresh` scripts for the chosen mode.
|
|
24
|
+
- Keep server bootstrap and adapter code in dedicated files/modules.
|
|
25
|
+
- Keep deployment notes aligned with runtime mode in project memory.
|
|
26
|
+
|
|
27
|
+
## Example fix
|
|
28
|
+
|
|
29
|
+
- Problem: Team mixes Expo serve and custom Express commands, causing inconsistent behavior.
|
|
30
|
+
- Fix: Select one primary mode per environment, standardize scripts, and document routing/env boundaries.
|
|
31
|
+
|
|
32
|
+
## Agent behavior
|
|
33
|
+
|
|
34
|
+
- Use the project’s declared serving mode unless a migration is explicitly requested.
|
|
35
|
+
- Delegate framework runtime primitives to official Expo docs, then enforce MDS conventions for script consistency, environment boundaries, and operational clarity.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Use when onboarding an existing Expo app into the MDS workflow after project creation.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Skill: Project Onboarding
|
|
6
|
+
|
|
7
|
+
Use when onboarding an existing Expo app into the MDS workflow after project creation.
|
|
8
|
+
|
|
9
|
+
## Main rule
|
|
10
|
+
|
|
11
|
+
Establish project memory and workflow defaults first, then scaffold only the selected technical additions.
|
|
12
|
+
|
|
13
|
+
## Checks
|
|
14
|
+
|
|
15
|
+
- Confirm onboarding target is the existing app folder (not a parent directory).
|
|
16
|
+
- Confirm project memory files exist or are generated: `project/info.md`, `project/todo.md`, `project/style.md`, `project/guidelines.md`.
|
|
17
|
+
- Confirm unresolved context markers are cleared before deep implementation work.
|
|
18
|
+
- Confirm selected defaults (styling, state, data, CI, route placement) are documented in project memory.
|
|
19
|
+
- Run Doctor after onboarding changes to validate baseline health.
|
|
20
|
+
|
|
21
|
+
## Preferred structure
|
|
22
|
+
|
|
23
|
+
- Use conversational intake to capture audience, flows, data needs, platform targets, and deployment intent.
|
|
24
|
+
- Keep visual guidance in `project/style.md`; keep technical/agent rules in `project/guidelines.md`.
|
|
25
|
+
- Keep onboarding outputs phase-based so follow-up work can continue from `project/todo.md`.
|
|
26
|
+
|
|
27
|
+
## Example fix
|
|
28
|
+
|
|
29
|
+
- Problem: Team starts coding before onboarding, causing missing docs and conflicting architecture assumptions.
|
|
30
|
+
- Fix: Run onboarding flow, generate canonical project memory, reconcile open context markers, then resume implementation using phase order.
|
|
31
|
+
|
|
32
|
+
## Agent behavior
|
|
33
|
+
|
|
34
|
+
- Ask one focused onboarding question at a time when required by the flow.
|
|
35
|
+
- Delegate framework primitive setup guidance to official Expo resources, then layer MDS project-memory and workflow automation rules.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Turn rough product notes/research into actionable MDS project memory and next-phase plan.
|
|
3
|
+
disable-model-invocation: true
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /project-research-plan
|
|
7
|
+
|
|
8
|
+
Turn rough product notes/research into actionable MDS project memory and next-phase plan.
|
|
9
|
+
|
|
10
|
+
## Arguments
|
|
11
|
+
|
|
12
|
+
- `projectPath`: target project path (default: current directory).
|
|
13
|
+
- `inputs`: attached notes/docs to normalize into canonical memory files.
|
|
14
|
+
|
|
15
|
+
## MCP-First Workflow
|
|
16
|
+
|
|
17
|
+
1. Confirm the `mr-djs-dev-suite` MCP server is available.
|
|
18
|
+
2. Pull `get_skill` for `research-plan-intake` (and `project-onboarding` when onboarding context is mixed in).
|
|
19
|
+
3. Call `knowledge_list_resources` for `guide` and `reference` resources as needed for structure and validation.
|
|
20
|
+
4. Normalize clear context directly; ask focused follow-up only where ambiguity changes implementation direction.
|
|
21
|
+
5. Update project memory files and produce an implementation-ready next-phase plan.
|
|
22
|
+
|
|
23
|
+
## CLI / Manual Fallback
|
|
24
|
+
|
|
25
|
+
1. If MCP is not configured, install it manually:
|
|
26
|
+
- `mds mcp install --client codex --scope project`
|
|
27
|
+
2. Direct CLI fallback:
|
|
28
|
+
- Use `mds onboard <projectPath>` for structured intake when memory files are missing.
|
|
29
|
+
- Use `mds continue <projectPath>` after memory normalization to select the next task.
|
|
30
|
+
|
|
31
|
+
## Verification And Output
|
|
32
|
+
|
|
33
|
+
- Confirm `project/info.md`, `project/style.md`, and `project/todo.md` align with extracted research context.
|
|
34
|
+
- Output: resolved unknowns, outstanding questions, and the recommended next implementation slice.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Use when a user has partial product context (notes, research docs, or incomplete project memory) and needs it transformed into canonical MDS project memory.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Skill: Research Plan Intake
|
|
6
|
+
|
|
7
|
+
Use when a user has partial product context (notes, research docs, or incomplete project memory) and needs it transformed into canonical MDS project memory.
|
|
8
|
+
|
|
9
|
+
## Main rule
|
|
10
|
+
|
|
11
|
+
Normalize fragmented input into decision-ready `project/info.md` and `project/style.md` structure without inventing missing product facts.
|
|
12
|
+
|
|
13
|
+
## Checks
|
|
14
|
+
|
|
15
|
+
- Parse provided artifacts and classify each required section as clear, ambiguous, or unknown.
|
|
16
|
+
- Reuse clear sections directly; ask focused follow-up only for ambiguous or missing high-impact decisions.
|
|
17
|
+
- Keep visual guidance in style memory and technical/process guidance in guidelines memory.
|
|
18
|
+
- Confirm resulting project memory aligns with current roadmap phase and target platforms.
|
|
19
|
+
- Record unresolved unknowns explicitly instead of guessing.
|
|
20
|
+
|
|
21
|
+
## Preferred structure
|
|
22
|
+
|
|
23
|
+
- Accept inputs from pasted markdown, notes, and prior project memory files.
|
|
24
|
+
- Map extracted content into canonical sections with concise normalization.
|
|
25
|
+
- Produce follow-up questions only where answers materially change implementation direction.
|
|
26
|
+
|
|
27
|
+
## Example fix
|
|
28
|
+
|
|
29
|
+
- Problem: User provides a long brainstorm doc with no clear MVP flow or audience.
|
|
30
|
+
- Fix: Extract known context, mark missing decision points, ask targeted follow-up, then generate canonical project memory sections.
|
|
31
|
+
|
|
32
|
+
## Agent behavior
|
|
33
|
+
|
|
34
|
+
- Preserve user intent and wording where it is already clear.
|
|
35
|
+
- Keep uncertainty visible and collaborative; do not fill strategic gaps with assumptions that can misdirect implementation.
|
|
36
|
+
- Treat this as an MDS-only project-memory skill: use official framework guidance only after product intent is clear, then record the MDS workflow context agents need.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Review an Expo project with MCP-first diagnostics and skill-guided remediation.
|
|
3
|
+
disable-model-invocation: true
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /review-expo-project
|
|
7
|
+
|
|
8
|
+
Review an Expo project with MCP-first diagnostics and skill-guided remediation.
|
|
9
|
+
|
|
10
|
+
## Arguments
|
|
11
|
+
|
|
12
|
+
- `projectPath`: absolute or relative project path (default: current directory).
|
|
13
|
+
- `mode`: Doctor mode (`fast`, `ci`, or `full`; default: `ci`).
|
|
14
|
+
|
|
15
|
+
## MCP-First Workflow
|
|
16
|
+
|
|
17
|
+
1. Confirm the `mr-djs-dev-suite` MCP server is available.
|
|
18
|
+
2. Call `continue_project` to summarize current project state and blockers.
|
|
19
|
+
3. Call `doctor_scan_project` with `projectPath` and `mode`.
|
|
20
|
+
4. For each warning/error, call `doctor_explain_result`, then pull targeted guidance with `get_skill` (for example: `project-onboarding`, `debugging`, `deployment`).
|
|
21
|
+
5. If the findings affect release readiness, call `generate_deploy_checklist` so the next steps stay checklist-driven instead of PR-driven.
|
|
22
|
+
6. Call `knowledge_list_resources` with `kind: "guide"` if extra reference context is needed.
|
|
23
|
+
|
|
24
|
+
## CLI / Manual Fallback
|
|
25
|
+
|
|
26
|
+
1. If MCP is not configured, install it manually:
|
|
27
|
+
- `mds mcp install --client codex --scope project`
|
|
28
|
+
2. If MCP still cannot run, use direct CLI flows:
|
|
29
|
+
- `mds continue <projectPath>`
|
|
30
|
+
- `mds doctor <projectPath> --ci`
|
|
31
|
+
|
|
32
|
+
## Verification And Output
|
|
33
|
+
|
|
34
|
+
- Keep the response user-facing: summarize findings and next steps without echoing internal tool chatter or file-read noise.
|
|
35
|
+
- Re-run `doctor_scan_project` (or `mds doctor --ci`) after fixes.
|
|
36
|
+
- If the user is validating an installed agent bundle, include `mds agent verify --client <client> --target <path>` in the follow-up commands.
|
|
37
|
+
- 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.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Run MDS Doctor as the primary health check for an Expo project.
|
|
3
|
+
disable-model-invocation: true
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /run-doctor
|
|
7
|
+
|
|
8
|
+
Run MDS Doctor as the primary health check for an Expo project.
|
|
9
|
+
|
|
10
|
+
## Arguments
|
|
11
|
+
|
|
12
|
+
- `projectPath`: project root path (default: current directory).
|
|
13
|
+
- `mode`: `fast`, `ci`, or `full` (default: `ci`).
|
|
14
|
+
- `runScripts`: whether Doctor should execute project scripts (default: `true` for `ci` mode).
|
|
15
|
+
|
|
16
|
+
## MCP-First Workflow
|
|
17
|
+
|
|
18
|
+
1. Confirm the `mr-djs-dev-suite` MCP server is available.
|
|
19
|
+
2. Call `doctor_scan_project` with selected arguments.
|
|
20
|
+
3. For each non-pass result, call `doctor_explain_result`.
|
|
21
|
+
4. If the check is release-related or web-facing, call `generate_deploy_checklist` before giving next steps.
|
|
22
|
+
5. Pull targeted implementation guidance with `get_skill` (typically `deployment`, `debugging`, or `dev-server-management`).
|
|
23
|
+
|
|
24
|
+
## CLI / Manual Fallback
|
|
25
|
+
|
|
26
|
+
1. If MCP is not configured, install it manually:
|
|
27
|
+
- `mds mcp install --client codex --scope project`
|
|
28
|
+
2. Direct CLI alternatives:
|
|
29
|
+
- `mds doctor <projectPath>`
|
|
30
|
+
- `mds doctor <projectPath> --ci`
|
|
31
|
+
- `mds doctor <projectPath> --json`
|
|
32
|
+
|
|
33
|
+
## Verification And Output
|
|
34
|
+
|
|
35
|
+
- Re-run Doctor after each fix batch.
|
|
36
|
+
- Keep the response concise and user-facing; do not surface internal tool chatter or intermediate file reads.
|
|
37
|
+
- Output: check summary, blocking errors first, and the exact command used for re-check.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Use when preparing Expo web routes for crawlability, sharing previews, and production indexing behavior.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Skill: SEO Metadata
|
|
6
|
+
|
|
7
|
+
Use when preparing Expo web routes for crawlability, sharing previews, and production indexing behavior.
|
|
8
|
+
|
|
9
|
+
## Main rule
|
|
10
|
+
|
|
11
|
+
Define metadata intentionally per route group and ensure canonical/indexing strategy is explicit before release.
|
|
12
|
+
|
|
13
|
+
## Checks
|
|
14
|
+
|
|
15
|
+
- Confirm title, description, and canonical strategy are defined for production web routes.
|
|
16
|
+
- Confirm Open Graph and social preview metadata exist for key entry routes.
|
|
17
|
+
- Confirm dynamic routes have deterministic metadata sources.
|
|
18
|
+
- Confirm sitemap and robots strategy is documented for the chosen web output mode.
|
|
19
|
+
- Confirm duplicate or conflicting titles/canonicals are resolved.
|
|
20
|
+
|
|
21
|
+
## Preferred structure
|
|
22
|
+
|
|
23
|
+
- Keep shared metadata defaults centralized and route-level overrides explicit.
|
|
24
|
+
- Keep metadata source-of-truth close to route ownership boundaries.
|
|
25
|
+
- Keep SEO rules documented in project memory so onboarding and Doctor checks align.
|
|
26
|
+
|
|
27
|
+
## Example fix
|
|
28
|
+
|
|
29
|
+
- Problem: Dynamic content routes ship with repeated title/description and no canonical mapping.
|
|
30
|
+
- Fix: Add route-level metadata builder, include canonical generation logic, and update sitemap coverage.
|
|
31
|
+
|
|
32
|
+
## Agent behavior
|
|
33
|
+
|
|
34
|
+
- Prioritize production routes and highest-traffic entry points first.
|
|
35
|
+
- Delegate framework metadata primitives to official Expo guidance, then enforce MDS standards for canonical/indexing completeness.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Use when kicking off a new app with `create-expo-super-stack` and transitioning into phase-based MDS development.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Skill: Super Stack Startup
|
|
6
|
+
|
|
7
|
+
Use when kicking off a new app with `create-expo-super-stack` and transitioning into phase-based MDS development.
|
|
8
|
+
|
|
9
|
+
## Main rule
|
|
10
|
+
|
|
11
|
+
Run generator + onboarding as one guided flow, keep agent-facing wording sourced from `packages/knowledge`, and let the current CLI implementation remain the execution source of truth.
|
|
12
|
+
|
|
13
|
+
## Checks
|
|
14
|
+
|
|
15
|
+
- Confirm command runs from a parent directory where the app folder does not already exist.
|
|
16
|
+
- Confirm stack choices and MDS intake values are captured before generation.
|
|
17
|
+
- Confirm generated app includes project memory and onboarding next-step output.
|
|
18
|
+
- Confirm prompt and skill text stay thin and defer detailed behavior to the canonical knowledge package.
|
|
19
|
+
- Confirm unresolved context markers are resolved before coding begins.
|
|
20
|
+
- Confirm follow-up uses `mds continue` from inside the generated app folder.
|
|
21
|
+
|
|
22
|
+
## Preferred structure
|
|
23
|
+
|
|
24
|
+
- Keep startup conversation in plain language and summarize choices before execution.
|
|
25
|
+
- Keep generation details in scripts/flags, but keep user-facing flow conversational.
|
|
26
|
+
- Keep post-generation workflow phase-based using the generated `project/todo.md`.
|
|
27
|
+
- Prefer shared knowledge content over duplicating long onboarding prose in plugin or MCP wrappers.
|
|
28
|
+
|
|
29
|
+
## Example fix
|
|
30
|
+
|
|
31
|
+
- Problem: User runs generation inside an existing app folder and gets mixed state artifacts.
|
|
32
|
+
- Fix: Restart from parent directory, regenerate cleanly, then continue in a new app-folder session.
|
|
33
|
+
|
|
34
|
+
## Agent behavior
|
|
35
|
+
|
|
36
|
+
- Prevent ambiguous execution context and confirm folder target before running generation.
|
|
37
|
+
- Delegate framework/template primitives to upstream Expo tooling, then apply MDS memory shaping, defaults, and continue-workflow conventions.
|
|
38
|
+
- Update `packages/knowledge` first when the wording or flow changes, then regenerate downstream surfaces from it.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Use when setting up or maintaining Tailwind v4 + Uniwind styling in Expo projects.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Skill: Uniwind Theming
|
|
6
|
+
|
|
7
|
+
Use when setting up or maintaining Tailwind v4 + Uniwind styling in Expo projects.
|
|
8
|
+
|
|
9
|
+
## Main rule
|
|
10
|
+
|
|
11
|
+
Prefer Uniwind with Tailwind v4 defaults, keep theme tokens centralized, and ensure bundler/style wiring is consistent across environments.
|
|
12
|
+
|
|
13
|
+
## Checks
|
|
14
|
+
|
|
15
|
+
- Confirm Tailwind v4 and Uniwind dependencies/config are aligned with project SDK.
|
|
16
|
+
- Confirm `global.css` import order loads Tailwind before Uniwind layers.
|
|
17
|
+
- Confirm Metro/bundler integration uses `withUniwindConfig` (or project-equivalent wiring).
|
|
18
|
+
- Confirm design tokens are centralized and reused instead of ad-hoc values.
|
|
19
|
+
- Confirm platform-specific style behavior is intentional and documented.
|
|
20
|
+
|
|
21
|
+
## Preferred structure
|
|
22
|
+
|
|
23
|
+
- Keep token definitions in one source module/file.
|
|
24
|
+
- Keep style-system setup in project bootstrap/config files, not scattered across screens.
|
|
25
|
+
- Keep shared class patterns in reusable UI components.
|
|
26
|
+
|
|
27
|
+
## Example fix
|
|
28
|
+
|
|
29
|
+
- Problem: Global styles load in the wrong order, causing token classes to fail on web.
|
|
30
|
+
- Fix: Reorder style imports, verify Metro integration, and move duplicate token literals into shared theme config.
|
|
31
|
+
|
|
32
|
+
## Agent behavior
|
|
33
|
+
|
|
34
|
+
- Preserve existing design intent while fixing setup drift.
|
|
35
|
+
- Delegate framework styling primitives to official Expo/Uniwind docs, then apply MDS conventions for token consistency and onboarding readiness.
|
|
36
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mr-djs-dev-suite",
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "MDS Expo development workflows for review, onboarding, deployment readiness, and project continuation.",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "DJ Grimsley",
|
|
7
|
+
"url": "https://davidjgrimsley.com"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/DavidJGrimsley/mr-djs-dev-suite",
|
|
10
|
+
"repository": "https://github.com/DavidJGrimsley/mr-djs-dev-suite",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"keywords": [
|
|
13
|
+
"expo",
|
|
14
|
+
"react-native",
|
|
15
|
+
"mcp",
|
|
16
|
+
"doctor",
|
|
17
|
+
"onboarding",
|
|
18
|
+
"codex-plugin"
|
|
19
|
+
],
|
|
20
|
+
"skills": "./skills/",
|
|
21
|
+
"mcpServers": "./.mcp.json",
|
|
22
|
+
"interface": {
|
|
23
|
+
"displayName": "Mr. DJ's Dev Suite",
|
|
24
|
+
"shortDescription": "MCP-first Expo review, doctor, onboarding, and deploy workflows",
|
|
25
|
+
"longDescription": "Generate and use MDS skills plus command playbooks for Expo project review, onboarding, deployment prep, SEO fixes, and phase-based continuation with reliable MCP and CLI fallback paths.",
|
|
26
|
+
"developerName": "MDS",
|
|
27
|
+
"category": "Coding",
|
|
28
|
+
"capabilities": [
|
|
29
|
+
"Interactive",
|
|
30
|
+
"Read",
|
|
31
|
+
"Write"
|
|
32
|
+
],
|
|
33
|
+
"websiteURL": "https://github.com/DavidJGrimsley/mr-djs-dev-suite",
|
|
34
|
+
"defaultPrompt": [
|
|
35
|
+
"Review my Expo project and give me the next safe implementation steps.",
|
|
36
|
+
"Run a deployment-readiness check with Doctor and fix blockers first.",
|
|
37
|
+
"Continue the next task from my project/todo.md using MDS phase order."
|
|
38
|
+
],
|
|
39
|
+
"brandColor": "#0A6A6A",
|
|
40
|
+
"screenshots": []
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Mr. DJ's Dev Suite Codex Plugin
|
|
2
|
+
|
|
3
|
+
The Mr. DJ's Dev Suite Codex plugin bundle is generated from `packages/knowledge` and ships the Codex-native MDS surface: plugin manifest, MCP server config, generated skills, and command prompts.
|
|
4
|
+
|
|
5
|
+
## What's Included
|
|
6
|
+
|
|
7
|
+
- Codex plugin manifest: `.codex-plugin/plugin.json`
|
|
8
|
+
- MCP server config: `.mcp.json`
|
|
9
|
+
- Generated skills: `skills/<skill-id>/SKILL.md`
|
|
10
|
+
- Command prompt files: `commands/*.md`
|
|
11
|
+
|
|
12
|
+
The source of truth for skills remains `packages/knowledge/src/content/skills`.
|
|
13
|
+
|
|
14
|
+
## One-Command Install
|
|
15
|
+
|
|
16
|
+
Project scope installs MCP plus the local marketplace/plugin enable blocks into `.codex/config.toml`, copies this plugin into `plugins/mr-djs-dev-suite`, and registers it in `.agents/plugins/marketplace.json`:
|
|
17
|
+
|
|
18
|
+
```sh
|
|
19
|
+
mds agent install --client codex --scope project --target /path/to/your/expo-app
|
|
20
|
+
mds agent verify --client codex --scope project --target /path/to/your/expo-app
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
User scope installs MCP plus the local marketplace/plugin enable blocks into `~/.codex/config.toml`, copies the plugin into `~/plugins/mr-djs-dev-suite`, and registers it in `~/.agents/plugins/marketplace.json`:
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
mds agent install --client codex --scope user
|
|
27
|
+
mds agent verify --client codex --scope user
|
|
28
|
+
mds agent install --client codex --scope user --dry-run
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
After install, restart Codex if needed so it picks up `mr-djs-dev-suite@mds-local`.
|
|
32
|
+
|
|
33
|
+
## MCP-Only Fallback
|
|
34
|
+
|
|
35
|
+
Use this when you only want predictable MCP tools/prompts and not the plugin/skills bundle:
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
mds mcp install --client codex --scope project --target /path/to/your/expo-app
|
|
39
|
+
mds mcp install --client codex --scope user
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Regenerate
|
|
43
|
+
|
|
44
|
+
```sh
|
|
45
|
+
pnpm --filter @mr.dj2u/knowledge build
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Do not edit generated plugin skills directly; update `packages/knowledge` and rebuild.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# /continue-development
|
|
2
|
+
|
|
3
|
+
Resume work on an onboarded project by following MDS phase order from `project/todo.md`.
|
|
4
|
+
|
|
5
|
+
## Arguments
|
|
6
|
+
|
|
7
|
+
- `projectPath`: onboarded app path (default: current directory).
|
|
8
|
+
|
|
9
|
+
## MCP-First Workflow
|
|
10
|
+
|
|
11
|
+
1. Confirm the `mr-djs-dev-suite` MCP server is available.
|
|
12
|
+
2. Call `continue_project` first to get the active-phase brief.
|
|
13
|
+
3. Pull `get_skill` for `continue-development` to enforce phase-first sequencing.
|
|
14
|
+
4. If blockers appear, use `doctor_scan_project` and `doctor_explain_result` for targeted remediation before feature work.
|
|
15
|
+
|
|
16
|
+
## CLI / Manual Fallback
|
|
17
|
+
|
|
18
|
+
1. If MCP is not configured, install it manually:
|
|
19
|
+
- `mds mcp install --client codex --scope project`
|
|
20
|
+
2. Direct CLI flow:
|
|
21
|
+
- `mds continue <projectPath>`
|
|
22
|
+
- `mds doctor <projectPath>` when blockers are unclear.
|
|
23
|
+
|
|
24
|
+
## Verification And Output
|
|
25
|
+
|
|
26
|
+
- Confirm the chosen task belongs to the active phase or has an explicit deferral note.
|
|
27
|
+
- Output: selected next task, blockers, and validation commands to run after implementation.
|