myaidev-method 0.2.24-1 → 0.2.24-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.
Files changed (36) hide show
  1. package/.claude-plugin/plugin.json +251 -0
  2. package/.env.example +71 -5
  3. package/PLUGIN_ARCHITECTURE.md +276 -0
  4. package/README.md +204 -0
  5. package/USER_GUIDE.md +436 -9
  6. package/bin/cli.js +152 -0
  7. package/extension.json +174 -0
  8. package/hooks/hooks.json +221 -0
  9. package/marketplace.json +179 -0
  10. package/package.json +15 -3
  11. package/skills/content-verifier/SKILL.md +178 -0
  12. package/skills/content-writer/SKILL.md +151 -0
  13. package/skills/coolify-deployer/SKILL.md +207 -0
  14. package/skills/openstack-manager/SKILL.md +213 -0
  15. package/skills/security-auditor/SKILL.md +180 -0
  16. package/skills/security-tester/SKILL.md +171 -0
  17. package/skills/sparc-architect/SKILL.md +146 -0
  18. package/skills/sparc-coder/SKILL.md +136 -0
  19. package/skills/sparc-documenter/SKILL.md +195 -0
  20. package/skills/sparc-reviewer/SKILL.md +179 -0
  21. package/skills/sparc-tester/SKILL.md +156 -0
  22. package/skills/visual-generator/SKILL.md +147 -0
  23. package/skills/wordpress-publisher/SKILL.md +150 -0
  24. package/src/lib/content-coordinator.js +2562 -0
  25. package/src/lib/installation-detector.js +266 -0
  26. package/src/lib/visual-config-utils.js +1 -1
  27. package/src/lib/visual-generation-utils.js +34 -14
  28. package/src/scripts/generate-visual-cli.js +39 -10
  29. package/src/scripts/ping.js +0 -1
  30. package/src/templates/claude/agents/content-production-coordinator.md +689 -15
  31. package/src/templates/claude/commands/myai-configure.md +627 -235
  32. package/src/templates/claude/commands/myai-content-enrichment.md +227 -0
  33. package/src/templates/claude/commands/myai-content-writer.md +48 -37
  34. package/src/templates/claude/commands/myai-coordinate-content.md +347 -11
  35. package/src/templates/codex/commands/myai-configure.md +333 -162
  36. package/src/templates/gemini/commands/myai-configure.toml +321 -163
@@ -0,0 +1,251 @@
1
+ {
2
+ "name": "myaidev-method",
3
+ "version": "1.0.0",
4
+ "description": "Comprehensive AI development framework with SPARC methodology, content creation, multi-platform publishing, visual generation, and security testing",
5
+ "author": {
6
+ "name": "Samuel Mukoti",
7
+ "email": "samuelm@openmy.ai",
8
+ "url": "https://github.com/myaione"
9
+ },
10
+ "homepage": "https://dev.myai1.ai/plugins/myaidev-method",
11
+ "repository": "https://github.com/myaione/myaidev-method",
12
+ "license": "MIT",
13
+ "keywords": [
14
+ "sparc",
15
+ "content-creation",
16
+ "wordpress",
17
+ "visual-generation",
18
+ "security-testing",
19
+ "devops",
20
+ "publishing",
21
+ "ai-agents",
22
+ "seo",
23
+ "payloadcms",
24
+ "coolify",
25
+ "openstack"
26
+ ],
27
+ "capabilities": [
28
+ "content-creation",
29
+ "visual-generation",
30
+ "sparc-development",
31
+ "multi-platform-publishing",
32
+ "security-testing",
33
+ "deployment",
34
+ "openstack-management"
35
+ ],
36
+ "skills": "../skills/",
37
+ "commands": {
38
+ "myai-content-writer": {
39
+ "source": "../src/templates/claude/commands/myai-content-writer.md",
40
+ "aliases": ["myaidev-method:content-writer", "content-writer"]
41
+ },
42
+ "myai-configure": {
43
+ "source": "../src/templates/claude/commands/myai-configure.md",
44
+ "aliases": ["myaidev-method:configure", "configure"]
45
+ },
46
+ "myai-wordpress-publish": {
47
+ "source": "../src/templates/claude/commands/myai-wordpress-publish.md",
48
+ "aliases": ["myaidev-method:wordpress-publish", "wordpress-publish"]
49
+ },
50
+ "myai-generate-visual": {
51
+ "source": "../src/templates/claude/commands/myai-generate-visual.md",
52
+ "aliases": ["myaidev-method:generate-visual", "generate-visual"]
53
+ },
54
+ "myai-coordinate-content": {
55
+ "source": "../src/templates/claude/commands/myai-coordinate-content.md",
56
+ "aliases": ["myaidev-method:coordinate-content", "coordinate-content"]
57
+ },
58
+ "myai-openstack": {
59
+ "source": "../src/templates/claude/commands/myai-openstack.md",
60
+ "aliases": ["myaidev-method:openstack", "openstack"]
61
+ },
62
+ "myai-coolify-deploy": {
63
+ "source": "../src/templates/claude/commands/myai-coolify-deploy.md",
64
+ "aliases": ["myaidev-method:coolify-deploy", "coolify-deploy"]
65
+ },
66
+ "myai-sparc-workflow": {
67
+ "source": "../src/templates/claude/commands/myai-sparc-workflow.md",
68
+ "aliases": ["myaidev-method:sparc", "sparc"]
69
+ },
70
+ "myai-dev-architect": {
71
+ "source": "../src/templates/claude/commands/myai-dev-architect.md",
72
+ "aliases": ["myaidev-method:architect", "architect"]
73
+ },
74
+ "myai-dev-code": {
75
+ "source": "../src/templates/claude/commands/myai-dev-code.md",
76
+ "aliases": ["myaidev-method:code", "code"]
77
+ },
78
+ "myai-dev-test": {
79
+ "source": "../src/templates/claude/commands/myai-dev-test.md",
80
+ "aliases": ["myaidev-method:test", "test"]
81
+ },
82
+ "myai-dev-review": {
83
+ "source": "../src/templates/claude/commands/myai-dev-review.md",
84
+ "aliases": ["myaidev-method:review", "review"]
85
+ },
86
+ "myai-dev-docs": {
87
+ "source": "../src/templates/claude/commands/myai-dev-docs.md",
88
+ "aliases": ["myaidev-method:docs", "docs"]
89
+ },
90
+ "sc:security-setup": {
91
+ "source": "../src/templates/claude/commands/sc:security-setup.md",
92
+ "aliases": ["myaidev-method:security-setup", "security-setup"]
93
+ },
94
+ "sc:security-recon": {
95
+ "source": "../src/templates/claude/commands/sc:security-recon.md",
96
+ "aliases": ["myaidev-method:security-recon", "security-recon"]
97
+ },
98
+ "sc:security-scan": {
99
+ "source": "../src/templates/claude/commands/sc:security-scan.md",
100
+ "aliases": ["myaidev-method:security-scan", "security-scan"]
101
+ },
102
+ "sc:security-exploit": {
103
+ "source": "../src/templates/claude/commands/sc:security-exploit.md",
104
+ "aliases": ["myaidev-method:security-exploit", "security-exploit"]
105
+ },
106
+ "sc:security-report": {
107
+ "source": "../src/templates/claude/commands/sc:security-report.md",
108
+ "aliases": ["myaidev-method:security-report", "security-report"]
109
+ }
110
+ },
111
+ "agents": "../src/templates/claude/agents/",
112
+ "hooks": "../hooks/hooks.json",
113
+ "mcpServers": {
114
+ "myaidev-wordpress": {
115
+ "name": "myaidev-wordpress-mcp-server",
116
+ "command": "node",
117
+ "args": [".claude/mcp/wordpress-server.js"],
118
+ "env": {
119
+ "WORDPRESS_URL": "${WORDPRESS_URL}",
120
+ "WORDPRESS_USERNAME": "${WORDPRESS_USERNAME}",
121
+ "WORDPRESS_APP_PASSWORD": "${WORDPRESS_APP_PASSWORD}"
122
+ },
123
+ "description": "WordPress publishing and management operations"
124
+ },
125
+ "myaidev-sparc": {
126
+ "name": "myaidev-sparc-orchestrator",
127
+ "command": "node",
128
+ "args": [".claude/mcp/sparc-orchestrator-server.js"],
129
+ "description": "SPARC methodology workflow orchestration"
130
+ },
131
+ "myaidev-openstack": {
132
+ "name": "myaidev-openstack-mcp-server",
133
+ "command": "node",
134
+ "args": [".claude/mcp/openstack-server.js"],
135
+ "env": {
136
+ "OS_AUTH_URL": "${OS_AUTH_URL}",
137
+ "OS_USERNAME": "${OS_USERNAME}",
138
+ "OS_PASSWORD": "${OS_PASSWORD}",
139
+ "OS_PROJECT_NAME": "${OS_PROJECT_NAME}"
140
+ },
141
+ "description": "OpenStack VM management operations"
142
+ }
143
+ },
144
+ "envVars": {
145
+ "required": [],
146
+ "optional": [
147
+ {
148
+ "name": "WORDPRESS_URL",
149
+ "description": "WordPress site URL",
150
+ "workflow": "content"
151
+ },
152
+ {
153
+ "name": "WORDPRESS_USERNAME",
154
+ "description": "WordPress username",
155
+ "workflow": "content"
156
+ },
157
+ {
158
+ "name": "WORDPRESS_APP_PASSWORD",
159
+ "description": "WordPress application password",
160
+ "workflow": "content"
161
+ },
162
+ {
163
+ "name": "GOOGLE_API_KEY",
164
+ "description": "Google AI API key for Gemini/Imagen/Veo",
165
+ "workflow": "visual"
166
+ },
167
+ {
168
+ "name": "OPENAI_API_KEY",
169
+ "description": "OpenAI API key for DALL-E/GPT",
170
+ "workflow": "visual"
171
+ },
172
+ {
173
+ "name": "FAL_KEY",
174
+ "description": "FAL.ai API key for FLUX",
175
+ "workflow": "visual"
176
+ },
177
+ {
178
+ "name": "COOLIFY_API_KEY",
179
+ "description": "Coolify API key",
180
+ "workflow": "deployment"
181
+ },
182
+ {
183
+ "name": "COOLIFY_URL",
184
+ "description": "Coolify server URL",
185
+ "workflow": "deployment"
186
+ },
187
+ {
188
+ "name": "OS_AUTH_URL",
189
+ "description": "OpenStack authentication URL",
190
+ "workflow": "openstack"
191
+ },
192
+ {
193
+ "name": "OS_USERNAME",
194
+ "description": "OpenStack username",
195
+ "workflow": "openstack"
196
+ },
197
+ {
198
+ "name": "OS_PASSWORD",
199
+ "description": "OpenStack password",
200
+ "workflow": "openstack"
201
+ },
202
+ {
203
+ "name": "OS_PROJECT_NAME",
204
+ "description": "OpenStack project name",
205
+ "workflow": "openstack"
206
+ }
207
+ ]
208
+ },
209
+ "skillPacks": {
210
+ "content": {
211
+ "description": "Content creation and publishing workflow",
212
+ "skills": ["content-writer", "content-verifier", "wordpress-publisher"],
213
+ "commands": ["myai-content-writer", "myai-wordpress-publish", "myai-coordinate-content"]
214
+ },
215
+ "visual": {
216
+ "description": "AI image and video generation",
217
+ "skills": ["visual-generator"],
218
+ "commands": ["myai-generate-visual"]
219
+ },
220
+ "development": {
221
+ "description": "SPARC methodology for software development",
222
+ "skills": ["sparc-architect", "sparc-coder", "sparc-tester", "sparc-reviewer", "sparc-documenter"],
223
+ "commands": ["myai-sparc-workflow", "myai-dev-architect", "myai-dev-code", "myai-dev-test", "myai-dev-review", "myai-dev-docs"]
224
+ },
225
+ "publishing": {
226
+ "description": "Multi-platform publishing support",
227
+ "skills": ["wordpress-publisher", "payloadcms-publisher", "static-site-publisher"],
228
+ "commands": ["myai-wordpress-publish", "myai-payloadcms-publish", "myai-docusaurus-publish", "myai-mintlify-publish", "myai-astro-publish"]
229
+ },
230
+ "deployment": {
231
+ "description": "Application deployment automation",
232
+ "skills": ["coolify-deployer"],
233
+ "commands": ["myai-coolify-deploy"]
234
+ },
235
+ "security": {
236
+ "description": "Security testing and auditing",
237
+ "skills": ["security-tester", "security-auditor", "webapp-tester"],
238
+ "commands": ["sc:security-setup", "sc:security-recon", "sc:security-scan", "sc:security-exploit", "sc:security-report"]
239
+ },
240
+ "openstack": {
241
+ "description": "OpenStack VM management",
242
+ "skills": ["openstack-manager"],
243
+ "commands": ["myai-openstack"]
244
+ }
245
+ },
246
+ "backwardCompatibility": {
247
+ "legacyCommands": true,
248
+ "npxInstallation": true,
249
+ "manifestTracking": true
250
+ }
251
+ }
package/.env.example CHANGED
@@ -1,29 +1,54 @@
1
+ # ═══════════════════════════════════════════════════════
2
+ # Content Rules Configuration
3
+ # ═══════════════════════════════════════════════════════
4
+ # Path to your content-rules.md file (auto-detected if not set)
5
+ # Run '/myai-configure content-rules' to create one
6
+ CONTENT_RULES_PATH=./content-rules.md
7
+
8
+ # ═══════════════════════════════════════════════════════
1
9
  # WordPress Configuration
10
+ # ═══════════════════════════════════════════════════════
2
11
  WORDPRESS_URL=https://your-wordpress-site.com
3
12
  WORDPRESS_USERNAME=your-username
4
13
  WORDPRESS_APP_PASSWORD=your-application-password
5
14
 
15
+ # Optional: WordPress SSH for advanced administration
16
+ WORDPRESS_SSH_HOST=
17
+ WORDPRESS_SSH_USER=
18
+ WORDPRESS_SSH_KEY_PATH=
19
+
20
+ # ═══════════════════════════════════════════════════════
6
21
  # PayloadCMS Configuration
22
+ # ═══════════════════════════════════════════════════════
7
23
  PAYLOADCMS_URL=https://your-payloadcms-site.com
8
24
  PAYLOADCMS_EMAIL=your-email@example.com
9
25
  PAYLOADCMS_PASSWORD=your-password
10
26
 
11
- # Coolify Configuration
27
+ # ═══════════════════════════════════════════════════════
28
+ # Coolify Deployment Configuration
29
+ # ═══════════════════════════════════════════════════════
12
30
  COOLIFY_URL=https://your-coolify-instance.com
13
31
  COOLIFY_API_KEY=your-coolify-api-key
14
32
 
15
- # Git Configuration (for static site publishing)
33
+ # ═══════════════════════════════════════════════════════
34
+ # Git Configuration (for commits and static site publishing)
35
+ # ═══════════════════════════════════════════════════════
16
36
  GIT_USER_NAME=Your Name
17
37
  GIT_USER_EMAIL=your-email@example.com
18
38
  GIT_REMOTE_URL=origin
19
39
 
20
- # Static Site Project Paths (optional, defaults to current directory)
40
+ # ═══════════════════════════════════════════════════════
41
+ # Static Site Project Paths
42
+ # ═══════════════════════════════════════════════════════
43
+ # Paths to your static site generator projects
21
44
  DOCUSAURUS_PROJECT_PATH=./path-to-docusaurus-project
22
45
  MINTLIFY_PROJECT_PATH=./path-to-mintlify-project
23
46
  ASTRO_PROJECT_PATH=./path-to-astro-project
24
47
 
25
- # Optional: Default content settings
26
- DEFAULT_WORD_COUNT=800
48
+ # ═══════════════════════════════════════════════════════
49
+ # Default Content Settings
50
+ # ═══════════════════════════════════════════════════════
51
+ DEFAULT_WORD_COUNT=1500
27
52
  DEFAULT_POST_STATUS=draft
28
53
  DEFAULT_TONE=professional
29
54
 
@@ -66,3 +91,44 @@ VISUAL_ASSETS_PATH=./content-assets # Where to save generated files
66
91
  VISUAL_DAILY_BUDGET=5.00 # Max USD per day
67
92
  VISUAL_MONTHLY_BUDGET=50.00 # Max USD per month
68
93
  VISUAL_WARN_THRESHOLD=0.80 # Warn at 80% budget usage
94
+
95
+ # ═══════════════════════════════════════════════════════
96
+ # Security Tools Configuration (Kali Linux Docker)
97
+ # ═══════════════════════════════════════════════════════
98
+ # ⚠️ ONLY RELEVANT if you've installed a security workflow:
99
+ # npx myaidev-method install security-pentest
100
+ # npx myaidev-method install security-audit
101
+ # npx myaidev-method install security-webapp
102
+ #
103
+ # If you only installed 'content' workflow, ignore this section.
104
+ #
105
+ # Run '/myai-configure security' for interactive setup
106
+ # Requires Docker to be installed on your system
107
+
108
+ # Container Settings
109
+ KALI_CONTAINER_NAME=kali-security
110
+ KALI_IMAGE=kalilinux/kali-rolling
111
+
112
+ # Network Mode: host|bridge|none
113
+ # host = Full network access (recommended for pentesting)
114
+ # bridge = Isolated with port mapping
115
+ # none = No network (offline analysis)
116
+ KALI_NETWORK_MODE=host
117
+
118
+ # Ports to expose (only used with bridge mode)
119
+ # Comma-separated list, e.g., 8080,4444,443
120
+ KALI_PORTS=
121
+
122
+ # Volume Mounts (host paths)
123
+ KALI_TOOLS_PATH=./security-tools # Custom scripts and tools
124
+ KALI_RESULTS_PATH=./security-results # Scan outputs and reports
125
+ KALI_WORDLISTS_PATH= # Optional: Custom wordlists
126
+
127
+ # Tool Packages (space-separated list)
128
+ # Options: kali-linux-headless, kali-tools-web, kali-tools-exploitation,
129
+ # kali-tools-forensics, kali-tools-passwords, kali-tools-wireless,
130
+ # kali-tools-sniffing, or specific tools like nmap,burpsuite
131
+ KALI_PACKAGES=kali-linux-headless
132
+
133
+ # Auto-start container on system boot
134
+ KALI_AUTOSTART=false
@@ -0,0 +1,276 @@
1
+ # MyAIDev Method: Plugin Architecture
2
+
3
+ This document describes the plugin-based architecture of MyAIDev Method, which enables:
4
+ - Claude Code plugin marketplace distribution
5
+ - SKILLS.md format for discoverable capabilities
6
+ - Cross-platform compatibility (Gemini CLI, Codex/OpenCode)
7
+ - Self-hosted plugin distribution
8
+ - 100% backward compatibility with existing npx installation
9
+
10
+ ## Installation Methods
11
+
12
+ ### Method 1: Legacy NPX Installation (Still Works)
13
+
14
+ The traditional installation method via npm/npx continues to work exactly as before:
15
+
16
+ ```bash
17
+ # Full installation
18
+ npx myaidev-method init --claude
19
+
20
+ # Workflow-specific installation
21
+ npx myaidev-method content --claude
22
+ npx myaidev-method visual --claude
23
+ npx myaidev-method develop --claude
24
+ npx myaidev-method security --claude
25
+ ```
26
+
27
+ ### Method 2: Plugin Installation (New)
28
+
29
+ When Claude Code plugin marketplace becomes available:
30
+
31
+ ```bash
32
+ # Add marketplace (one-time)
33
+ /plugin marketplace add myaione/myaidev-method
34
+
35
+ # Install full framework
36
+ /plugin install myaidev-method@myaidev-marketplace
37
+
38
+ # Or install specific packs
39
+ /plugin install myaidev-content@myaidev-marketplace
40
+ /plugin install myaidev-security@myaidev-marketplace
41
+ ```
42
+
43
+ ### Method 3: Local Plugin Installation
44
+
45
+ For development or custom installations:
46
+
47
+ ```bash
48
+ # Clone repository
49
+ git clone https://github.com/myaione/myaidev-method.git
50
+
51
+ # Install as local plugin
52
+ /plugin install ./myaidev-method
53
+ ```
54
+
55
+ ## Command Naming
56
+
57
+ Both legacy and namespaced commands work:
58
+
59
+ | Legacy Command | Namespaced Command | Description |
60
+ |---------------|-------------------|-------------|
61
+ | `/myai-content-writer` | `/myaidev-method:content-writer` | Content creation |
62
+ | `/myai-configure` | `/myaidev-method:configure` | Configuration |
63
+ | `/myai-wordpress-publish` | `/myaidev-method:wordpress-publish` | WordPress publishing |
64
+ | `/myai-generate-visual` | `/myaidev-method:generate-visual` | Visual generation |
65
+
66
+ ## Directory Structure
67
+
68
+ ```
69
+ myaidev-method/
70
+ ├── .claude-plugin/
71
+ │ └── plugin.json # Plugin manifest
72
+
73
+ ├── skills/ # SKILL.md files (at root)
74
+ │ ├── content-writer/
75
+ │ │ └── SKILL.md
76
+ │ ├── visual-generator/
77
+ │ │ └── SKILL.md
78
+ │ ├── wordpress-publisher/
79
+ │ │ └── SKILL.md
80
+ │ ├── sparc-architect/
81
+ │ │ └── SKILL.md
82
+ │ ├── sparc-coder/
83
+ │ │ └── SKILL.md
84
+ │ ├── sparc-tester/
85
+ │ │ └── SKILL.md
86
+ │ ├── sparc-reviewer/
87
+ │ │ └── SKILL.md
88
+ │ ├── sparc-documenter/
89
+ │ │ └── SKILL.md
90
+ │ ├── security-tester/
91
+ │ │ └── SKILL.md
92
+ │ ├── security-auditor/
93
+ │ │ └── SKILL.md
94
+ │ ├── content-verifier/
95
+ │ │ └── SKILL.md
96
+ │ ├── coolify-deployer/
97
+ │ │ └── SKILL.md
98
+ │ └── openstack-manager/
99
+ │ └── SKILL.md
100
+
101
+ ├── commands -> src/templates/claude/commands # Symlink
102
+ ├── agents -> src/templates/claude/agents # Symlink
103
+
104
+ ├── hooks/
105
+ │ └── hooks.json # Lifecycle hooks
106
+
107
+ ├── platforms/ # Cross-platform builds
108
+ │ ├── gemini/
109
+ │ └── codex/
110
+
111
+ ├── src/ # Source code (kept for npx)
112
+ │ ├── templates/claude/
113
+ │ │ ├── commands/*.md
114
+ │ │ └── agents/*.md
115
+ │ ├── config/workflows.js
116
+ │ └── lib/*.js
117
+
118
+ ├── extension.json # Cross-platform metadata
119
+ ├── marketplace.json # Plugin marketplace registry
120
+ └── package.json
121
+ ```
122
+
123
+ ## SKILL.md Format
124
+
125
+ Skills are defined using a markdown format with YAML frontmatter:
126
+
127
+ ```markdown
128
+ ---
129
+ name: content-writer
130
+ description: Professional SEO-optimized content creation
131
+ argument-hint: [topic] [--word-count=1500] [--tone=professional]
132
+ allowed-tools: [Read, Write, Edit, WebSearch, WebFetch, Task]
133
+ user-invocable: true
134
+ category: content
135
+ version: 1.0.0
136
+ platforms: [claude-code, gemini-cli, codex-cli]
137
+ ---
138
+
139
+ # Content Writer Skill
140
+
141
+ [Skill description and instructions...]
142
+ ```
143
+
144
+ ## Skill Packs
145
+
146
+ Skills are organized into packs for modular installation:
147
+
148
+ | Pack | Skills | Description |
149
+ |------|--------|-------------|
150
+ | **content** | content-writer, content-verifier, visual-generator, wordpress-publisher | Content creation and publishing |
151
+ | **development** | sparc-architect, sparc-coder, sparc-tester, sparc-reviewer, sparc-documenter | SPARC methodology |
152
+ | **security** | security-tester, security-auditor | Security testing and auditing |
153
+ | **infrastructure** | coolify-deployer, openstack-manager | Deployment and cloud management |
154
+
155
+ ## Cross-Platform Support
156
+
157
+ MyAIDev Method supports multiple AI CLI platforms:
158
+
159
+ ### Claude Code (Primary)
160
+ - Full feature support
161
+ - MCP server integration
162
+ - Skills and agents
163
+ - Hooks and lifecycle events
164
+
165
+ ### Gemini CLI
166
+ - Commands converted to TOML format
167
+ - Skills supported
168
+ - MCP servers require additional configuration
169
+
170
+ ### Codex CLI / OpenCode
171
+ - Markdown command format
172
+ - Skills supported
173
+ - Some features may have limited support
174
+
175
+ ### Building for Platforms
176
+
177
+ ```bash
178
+ # Build all platforms
179
+ npm run build:platforms
180
+
181
+ # Build specific platform
182
+ npm run build:claude
183
+ npm run build:gemini
184
+ npm run build:codex
185
+ ```
186
+
187
+ ## Plugin Manifest (plugin.json)
188
+
189
+ The plugin manifest at `.claude-plugin/plugin.json` defines:
190
+
191
+ ```json
192
+ {
193
+ "name": "myaidev-method",
194
+ "version": "1.0.0",
195
+ "description": "...",
196
+ "skills": "../skills/",
197
+ "commands": { ... },
198
+ "agents": "../src/templates/claude/agents/",
199
+ "hooks": "../hooks/hooks.json",
200
+ "mcpServers": { ... },
201
+ "skillPacks": { ... }
202
+ }
203
+ ```
204
+
205
+ ## Hooks
206
+
207
+ Lifecycle hooks in `hooks/hooks.json` enable automated actions:
208
+
209
+ - `pre-command` / `post-command`: Before/after command execution
210
+ - `pre-content-publish` / `post-content-publish`: Content publishing lifecycle
211
+ - `pre-visual-generate` / `post-visual-generate`: Visual generation lifecycle
212
+ - `pre-deploy` / `post-deploy`: Deployment lifecycle
213
+ - `session-start` / `session-end`: Session lifecycle
214
+
215
+ ## Installation Detection
216
+
217
+ The CLI can detect installation state:
218
+
219
+ ```bash
220
+ # Detect installation type
221
+ npx myaidev-method detect
222
+
223
+ # Show plugin information
224
+ npx myaidev-method plugin-info
225
+
226
+ # Upgrade from legacy to plugin
227
+ npx myaidev-method upgrade
228
+ ```
229
+
230
+ ## Backward Compatibility Guarantees
231
+
232
+ - ✅ `npx myaidev-method init --claude` - Works exactly as before
233
+ - ✅ `npx myaidev-method content --claude` - Works exactly as before
234
+ - ✅ All `/myai-*` commands - Same names, same behavior
235
+ - ✅ All agents in `.claude/agents/` - Same names, same behavior
236
+ - ✅ Existing user installations - Not affected
237
+
238
+ ## Migration Path
239
+
240
+ ### For Existing Users
241
+
242
+ Your existing installation continues to work. To enable plugin features:
243
+
244
+ ```bash
245
+ # Check current installation
246
+ npx myaidev-method detect
247
+
248
+ # Upgrade to plugin architecture
249
+ npx myaidev-method upgrade
250
+
251
+ # Both legacy and namespaced commands now work
252
+ /myai-content-writer "Test" # Legacy
253
+ /myaidev-method:content-writer "Test" # Namespaced
254
+ ```
255
+
256
+ ### For New Users
257
+
258
+ Choose your preferred installation method:
259
+
260
+ 1. **Quick Start (NPX)**: `npx myaidev-method content --claude`
261
+ 2. **Plugin (When Available)**: `/plugin install myaidev-method`
262
+
263
+ ## Distribution Channels
264
+
265
+ MyAIDev Method is available through:
266
+
267
+ 1. **NPM**: `npm install myaidev-method` or `npx myaidev-method`
268
+ 2. **GitHub**: https://github.com/myaione/myaidev-method
269
+ 3. **Plugin Marketplace**: myaidev-marketplace (when available)
270
+ 4. **Website**: https://dev.myai1.ai/plugins/myaidev-method
271
+
272
+ ## Support
273
+
274
+ - **Documentation**: https://github.com/myaione/myaidev-method#readme
275
+ - **Issues**: https://github.com/myaione/myaidev-method/issues
276
+ - **Email**: support@openmy.ai