myaidev-method 0.3.2 → 0.3.4
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/.claude-plugin/plugin.json +52 -48
- package/DEV_WORKFLOW_GUIDE.md +6 -6
- package/MCP_INTEGRATION.md +4 -4
- package/README.md +81 -64
- package/TECHNICAL_ARCHITECTURE.md +112 -18
- package/USER_GUIDE.md +57 -40
- package/bin/cli.js +49 -127
- package/dist/mcp/gutenberg-converter.js +667 -413
- package/dist/mcp/wordpress-server.js +1558 -1181
- package/extension.json +3 -3
- package/package.json +2 -1
- package/skills/content-writer/SKILL.md +130 -178
- package/skills/infographic/SKILL.md +191 -0
- package/skills/myaidev-analyze/SKILL.md +242 -0
- package/skills/myaidev-analyze/agents/dependency-mapper-agent.md +236 -0
- package/skills/myaidev-analyze/agents/pattern-detector-agent.md +240 -0
- package/skills/myaidev-analyze/agents/structure-scanner-agent.md +171 -0
- package/skills/myaidev-analyze/agents/tech-profiler-agent.md +291 -0
- package/skills/myaidev-architect/SKILL.md +389 -0
- package/skills/myaidev-architect/agents/compliance-checker-agent.md +287 -0
- package/skills/myaidev-architect/agents/requirements-analyst-agent.md +194 -0
- package/skills/myaidev-architect/agents/system-designer-agent.md +315 -0
- package/skills/myaidev-coder/SKILL.md +291 -0
- package/skills/myaidev-coder/agents/implementer-agent.md +185 -0
- package/skills/myaidev-coder/agents/integration-agent.md +168 -0
- package/skills/myaidev-coder/agents/pattern-scanner-agent.md +161 -0
- package/skills/myaidev-coder/agents/self-reviewer-agent.md +168 -0
- package/skills/myaidev-debug/SKILL.md +308 -0
- package/skills/myaidev-debug/agents/fix-agent-debug.md +317 -0
- package/skills/myaidev-debug/agents/hypothesis-agent.md +226 -0
- package/skills/myaidev-debug/agents/investigator-agent.md +250 -0
- package/skills/myaidev-debug/agents/symptom-collector-agent.md +231 -0
- package/skills/myaidev-documenter/SKILL.md +194 -0
- package/skills/myaidev-documenter/agents/code-reader-agent.md +172 -0
- package/skills/myaidev-documenter/agents/doc-validator-agent.md +174 -0
- package/skills/myaidev-documenter/agents/doc-writer-agent.md +379 -0
- package/skills/myaidev-migrate/SKILL.md +300 -0
- package/skills/myaidev-migrate/agents/migration-planner-agent.md +237 -0
- package/skills/myaidev-migrate/agents/migration-writer-agent.md +248 -0
- package/skills/myaidev-migrate/agents/schema-analyzer-agent.md +190 -0
- package/skills/myaidev-performance/SKILL.md +270 -0
- package/skills/myaidev-performance/agents/benchmark-agent.md +281 -0
- package/skills/myaidev-performance/agents/optimizer-agent.md +277 -0
- package/skills/myaidev-performance/agents/profiler-agent.md +252 -0
- package/skills/myaidev-refactor/SKILL.md +296 -0
- package/skills/myaidev-refactor/agents/refactor-executor-agent.md +221 -0
- package/skills/myaidev-refactor/agents/refactor-planner-agent.md +213 -0
- package/skills/myaidev-refactor/agents/regression-guard-agent.md +242 -0
- package/skills/myaidev-refactor/agents/smell-detector-agent.md +233 -0
- package/skills/myaidev-reviewer/SKILL.md +385 -0
- package/skills/myaidev-reviewer/agents/auto-fixer-agent.md +238 -0
- package/skills/myaidev-reviewer/agents/code-analyst-agent.md +220 -0
- package/skills/myaidev-reviewer/agents/security-scanner-agent.md +262 -0
- package/skills/myaidev-tester/SKILL.md +331 -0
- package/skills/myaidev-tester/agents/coverage-analyst-agent.md +163 -0
- package/skills/myaidev-tester/agents/tdd-driver-agent.md +242 -0
- package/skills/myaidev-tester/agents/test-runner-agent.md +176 -0
- package/skills/myaidev-tester/agents/test-strategist-agent.md +154 -0
- package/skills/myaidev-tester/agents/test-writer-agent.md +242 -0
- package/skills/myaidev-workflow/SKILL.md +567 -0
- package/skills/myaidev-workflow/agents/analyzer-agent.md +317 -0
- package/skills/myaidev-workflow/agents/coordinator-agent.md +253 -0
- package/skills/security-auditor/SKILL.md +1 -1
- package/skills/skill-builder/SKILL.md +417 -0
- package/src/cli/commands/addon.js +146 -135
- package/src/cli/commands/auth.js +9 -1
- package/src/config/workflows.js +11 -6
- package/src/lib/ascii-banner.js +3 -3
- package/src/lib/update-manager.js +120 -61
- package/src/mcp/gutenberg-converter.js +667 -413
- package/src/mcp/wordpress-server.js +1558 -1181
- package/src/statusline/statusline.sh +279 -0
- package/src/templates/claude/CLAUDE.md +124 -0
- package/skills/sparc-architect/SKILL.md +0 -127
- package/skills/sparc-coder/SKILL.md +0 -90
- package/skills/sparc-documenter/SKILL.md +0 -155
- package/skills/sparc-reviewer/SKILL.md +0 -138
- package/skills/sparc-tester/SKILL.md +0 -100
- package/skills/sparc-workflow/SKILL.md +0 -130
- /package/{marketplace.json → .claude-plugin/marketplace.json} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# MyAIDev Method - Technical Architecture Guide
|
|
2
2
|
|
|
3
|
-
**Version**: 0.
|
|
3
|
+
**Version**: 0.3.3
|
|
4
4
|
**Target Audience**: Developers, System Architects, Contributors
|
|
5
|
-
**Last Updated**:
|
|
5
|
+
**Last Updated**: 2026-02-10
|
|
6
6
|
|
|
7
7
|
## Table of Contents
|
|
8
8
|
|
|
@@ -84,11 +84,11 @@ myaidev-method/
|
|
|
84
84
|
│ └── mcp-launcher.js # MCP lifecycle manager
|
|
85
85
|
├── skills/ # Skill definitions
|
|
86
86
|
│ ├── content-writer/SKILL.md # Content writing skill
|
|
87
|
-
│ ├──
|
|
88
|
-
│ ├──
|
|
89
|
-
│ ├──
|
|
90
|
-
│ ├──
|
|
91
|
-
│ ├──
|
|
87
|
+
│ ├── myaidev-architect/SKILL.md # SPARC architecture skill
|
|
88
|
+
│ ├── myaidev-coder/SKILL.md # SPARC coding skill
|
|
89
|
+
│ ├── myaidev-tester/SKILL.md # SPARC testing skill
|
|
90
|
+
│ ├── myaidev-reviewer/SKILL.md # SPARC review skill
|
|
91
|
+
│ ├── myaidev-documenter/SKILL.md # SPARC documentation skill
|
|
92
92
|
│ ├── wordpress-publisher/SKILL.md # WordPress publishing skill
|
|
93
93
|
│ ├── coolify-deployer/SKILL.md # Coolify deployment skill
|
|
94
94
|
│ └── configure/SKILL.md # Platform configuration skill
|
|
@@ -816,11 +816,101 @@ if (await confirmProduction()) {
|
|
|
816
816
|
|
|
817
817
|
## Skill System
|
|
818
818
|
|
|
819
|
+
### Two-Tier Skill Strategy
|
|
820
|
+
|
|
821
|
+
MyAIDev Method employs a **two-tier skill architecture** that balances open community innovation with premium cloud-hosted capabilities.
|
|
822
|
+
|
|
823
|
+
```
|
|
824
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
825
|
+
│ MyAIDev Skill Ecosystem │
|
|
826
|
+
│ │
|
|
827
|
+
│ ┌───────────────────────────┐ ┌────────────────────────────┐ │
|
|
828
|
+
│ │ TIER 1: Open Source │ │ TIER 2: Premium Cloud │ │
|
|
829
|
+
│ │ Community Marketplace │ │ MyAIDev Platform API │ │
|
|
830
|
+
│ │ │ │ │ │
|
|
831
|
+
│ │ • Free to use │ │ • Auth token required │ │
|
|
832
|
+
│ │ • Community contributed │ │ • Cloud-hosted execution │ │
|
|
833
|
+
│ │ • PR-based review │ │ • API-delivered via │ │
|
|
834
|
+
│ │ • Curated & vetted │ │ dev.myai1.ai │ │
|
|
835
|
+
│ │ • Local execution │ │ • Advanced capabilities │ │
|
|
836
|
+
│ │ • SKILL.md installed │ │ • Managed & maintained │ │
|
|
837
|
+
│ │ to .claude/skills/ │ │ by MyAIDev team │ │
|
|
838
|
+
│ └───────────────────────────┘ └────────────────────────────┘ │
|
|
839
|
+
│ │
|
|
840
|
+
│ CLI: addon install <name> CLI: (authenticated API calls) │
|
|
841
|
+
│ Slash: /find-skills Slash: (auto-provisioned) │
|
|
842
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
843
|
+
```
|
|
844
|
+
|
|
845
|
+
#### Tier 1: Open Source Community Skills
|
|
846
|
+
|
|
847
|
+
Open source skills are the foundation of the MyAIDev ecosystem. They are contributed by the community, distributed via the [MyAIDev Marketplace](https://github.com/myaione/myaidev-marketplace), and installed locally as `SKILL.md` files.
|
|
848
|
+
|
|
849
|
+
| Aspect | Detail |
|
|
850
|
+
|--------|--------|
|
|
851
|
+
| **Distribution** | `myaidev-marketplace` GitHub repository |
|
|
852
|
+
| **Cost** | Free |
|
|
853
|
+
| **Contribution** | Anyone via PR-based submission (`addon submit`) |
|
|
854
|
+
| **Review process** | Automated CI validation + manual review by maintainers |
|
|
855
|
+
| **Security vetting** | Scanned for destructive commands, credential access, dynamic code execution, and malware patterns |
|
|
856
|
+
| **Quality curation** | Frontmatter validation, content structure checks, documentation requirements |
|
|
857
|
+
| **Execution** | Local — runs inside the user's Claude Code session |
|
|
858
|
+
| **Installation** | `addon install <name>` copies `SKILL.md` to `.claude/skills/` |
|
|
859
|
+
| **Discovery** | `addon list`, `addon search`, `/find-skills` slash command |
|
|
860
|
+
|
|
861
|
+
**Security & Quality Pipeline**:
|
|
862
|
+
```
|
|
863
|
+
Contributor submits PR
|
|
864
|
+
→ CI validates (frontmatter, structure, size limits)
|
|
865
|
+
→ CI security scan (destructive commands, credential paths, eval/exec, curl|sh)
|
|
866
|
+
→ CI checks for binary files and disallowed file types
|
|
867
|
+
→ Maintainer reviews code quality, usefulness, and safety
|
|
868
|
+
→ Merge triggers webhook → skill ingested to marketplace database
|
|
869
|
+
→ Users can install verified skills
|
|
870
|
+
```
|
|
871
|
+
|
|
872
|
+
#### Tier 2: Premium Cloud-Hosted Skills
|
|
873
|
+
|
|
874
|
+
Premium skills are proprietary capabilities provided by the MyAIDev platform. They run server-side via authenticated API calls and offer advanced functionality not available in the open source tier.
|
|
875
|
+
|
|
876
|
+
| Aspect | Detail |
|
|
877
|
+
|--------|--------|
|
|
878
|
+
| **Distribution** | API from `dev.myai1.ai` |
|
|
879
|
+
| **Cost** | Premium (subscription or usage-based) |
|
|
880
|
+
| **Authentication** | Requires auth token from `dev.myai1.ai` (`myaidev-method login`) |
|
|
881
|
+
| **Maintenance** | Managed and maintained by the MyAIDev team |
|
|
882
|
+
| **Execution** | Cloud-hosted — processing happens server-side |
|
|
883
|
+
| **Capabilities** | Advanced AI pipelines, proprietary integrations, managed infrastructure tools |
|
|
884
|
+
| **Updates** | Automatic — always the latest version via API |
|
|
885
|
+
| **SLA** | Platform uptime and support guarantees |
|
|
886
|
+
|
|
887
|
+
**Access Flow**:
|
|
888
|
+
```
|
|
889
|
+
User authenticates (myaidev-method login)
|
|
890
|
+
→ Auth token stored locally (~/.myaidev/auth.json)
|
|
891
|
+
→ CLI/skill makes authenticated API call to dev.myai1.ai
|
|
892
|
+
→ Platform executes premium capability server-side
|
|
893
|
+
→ Results returned to user's session
|
|
894
|
+
```
|
|
895
|
+
|
|
896
|
+
#### Tier Comparison
|
|
897
|
+
|
|
898
|
+
| Feature | Tier 1 (Open Source) | Tier 2 (Premium Cloud) |
|
|
899
|
+
|---------|---------------------|----------------------|
|
|
900
|
+
| Cost | Free | Subscription |
|
|
901
|
+
| Execution | Local | Cloud-hosted |
|
|
902
|
+
| Source | Community | MyAIDev team |
|
|
903
|
+
| Updates | Manual reinstall | Automatic via API |
|
|
904
|
+
| Offline use | Yes | No (requires network) |
|
|
905
|
+
| Customizable | Yes (edit SKILL.md) | No (managed service) |
|
|
906
|
+
| Review process | PR-based | Internal QA |
|
|
907
|
+
| Support | Community | Platform support |
|
|
908
|
+
|
|
819
909
|
### Skill Architecture
|
|
820
910
|
|
|
821
911
|
Skills are markdown files (`SKILL.md`) organized in dedicated directories under `skills/`.
|
|
822
912
|
|
|
823
|
-
**Skill Definition Structure
|
|
913
|
+
**Skill Definition Structure** (applies to Tier 1 open source skills):
|
|
824
914
|
```markdown
|
|
825
915
|
<!-- skills/skill-name/SKILL.md -->
|
|
826
916
|
---
|
|
@@ -958,11 +1048,11 @@ Capabilities:
|
|
|
958
1048
|
#### 8. SPARC Architecture Skills
|
|
959
1049
|
```yaml
|
|
960
1050
|
Files:
|
|
961
|
-
- skills/
|
|
962
|
-
- skills/
|
|
963
|
-
- skills/
|
|
964
|
-
- skills/
|
|
965
|
-
- skills/
|
|
1051
|
+
- skills/myaidev-architect/SKILL.md # Architecture design
|
|
1052
|
+
- skills/myaidev-coder/SKILL.md # Code implementation
|
|
1053
|
+
- skills/myaidev-tester/SKILL.md # Test creation
|
|
1054
|
+
- skills/myaidev-reviewer/SKILL.md # Code review
|
|
1055
|
+
- skills/myaidev-documenter/SKILL.md # Documentation
|
|
966
1056
|
Purpose: Full SPARC development workflow
|
|
967
1057
|
```
|
|
968
1058
|
|
|
@@ -984,11 +1074,11 @@ Skills are invoked directly by name as Claude Code skills.
|
|
|
984
1074
|
5. `/mintlify-publish` → Mintlify publishing
|
|
985
1075
|
6. `/astro-publish` → Astro publishing
|
|
986
1076
|
7. `/coolify-deployer` → Coolify deployment
|
|
987
|
-
8. `/
|
|
988
|
-
9. `/
|
|
989
|
-
10. `/
|
|
990
|
-
11. `/
|
|
991
|
-
12. `/
|
|
1077
|
+
8. `/myaidev-architect` → Architecture design
|
|
1078
|
+
9. `/myaidev-coder` → Code implementation
|
|
1079
|
+
10. `/myaidev-tester` → Test creation
|
|
1080
|
+
11. `/myaidev-reviewer` → Code review
|
|
1081
|
+
12. `/myaidev-documenter` → Documentation
|
|
992
1082
|
13. `/configure` → Platform configuration
|
|
993
1083
|
|
|
994
1084
|
---
|
|
@@ -1828,6 +1918,7 @@ iconType: "solid" # Icon style
|
|
|
1828
1918
|
- **Skill**: AI-powered capability defined in a `SKILL.md` file within a dedicated `skills/` directory
|
|
1829
1919
|
- **API-Based Publishing**: Content publishing via HTTP APIs (WordPress, PayloadCMS)
|
|
1830
1920
|
- **CLI**: Command Line Interface
|
|
1921
|
+
- **Community Skill**: Tier 1 open source skill contributed via the marketplace PR review process
|
|
1831
1922
|
- **Coolify**: Self-hosted Platform-as-a-Service (PaaS) for application deployment
|
|
1832
1923
|
- **Frontmatter**: YAML metadata at the top of markdown files
|
|
1833
1924
|
- **Git-Based Publishing**: Content publishing via file operations and git workflow
|
|
@@ -1835,8 +1926,11 @@ iconType: "solid" # Icon style
|
|
|
1835
1926
|
- **JWT**: JSON Web Token for authentication
|
|
1836
1927
|
- **Lexical**: Rich text editor format used by PayloadCMS
|
|
1837
1928
|
- **MCP**: Model Context Protocol for AI tool integration
|
|
1929
|
+
- **MyAIDev Marketplace**: GitHub-hosted repository for curated open source skill distribution
|
|
1838
1930
|
- **Nixpacks**: Automatic build system used by Coolify
|
|
1931
|
+
- **Premium Skill**: Tier 2 cloud-hosted skill provided via authenticated API calls to dev.myai1.ai
|
|
1839
1932
|
- **Skill Invocation**: Claude Code skill invoked with `/skill-name`
|
|
1933
|
+
- **Skill Tier**: Classification of skills as open source (Tier 1) or premium cloud-hosted (Tier 2)
|
|
1840
1934
|
- **Static Site Generator**: Tool that generates static HTML from markdown (Docusaurus, Astro)
|
|
1841
1935
|
- **Sub-skill**: Delegated skill for parallel task execution
|
|
1842
1936
|
- **Token**: Authentication credential or AI context unit
|
package/USER_GUIDE.md
CHANGED
|
@@ -104,7 +104,7 @@ Use the interactive configuration command to set up your environment—no manual
|
|
|
104
104
|
|
|
105
105
|
```bash
|
|
106
106
|
# SPARC Development Workflow
|
|
107
|
-
/
|
|
107
|
+
/myaidev-workflow "Build user authentication system"
|
|
108
108
|
|
|
109
109
|
# Create professional content
|
|
110
110
|
/content-writer "10 Best Remote Work Tips"
|
|
@@ -124,10 +124,27 @@ Use the interactive configuration command to set up your environment—no manual
|
|
|
124
124
|
|
|
125
125
|
**New in v0.2.25!** MyAIDev Method now supports a modern plugin-based architecture with discoverable skills, cross-platform compatibility, and marketplace distribution.
|
|
126
126
|
|
|
127
|
+
### Two-Tier Skill Strategy
|
|
128
|
+
|
|
129
|
+
MyAIDev Method provides two categories of skills:
|
|
130
|
+
|
|
131
|
+
**Tier 1: Open Source Community Skills** — Free skills contributed by the community and distributed via the [MyAIDev Marketplace](https://github.com/myaione/myaidev-marketplace). Every skill is stringently curated, tested, and vetted for malware and quality before reaching users. Install with `addon install <name>`, run locally in your Claude Code session, and customize by editing the SKILL.md file.
|
|
132
|
+
|
|
133
|
+
**Tier 2: Premium Cloud-Hosted Skills** — Advanced skills and tools provided by the MyAIDev platform via authenticated API calls to `dev.myai1.ai`. These are cloud-hosted, managed by the MyAIDev team, and offer premium capabilities beyond what open source skills provide. Requires an auth token (`myaidev-method login`).
|
|
134
|
+
|
|
135
|
+
| | Open Source (Tier 1) | Premium Cloud (Tier 2) |
|
|
136
|
+
|---|---|---|
|
|
137
|
+
| **Cost** | Free | Subscription |
|
|
138
|
+
| **Execution** | Local | Cloud-hosted |
|
|
139
|
+
| **Source** | Community | MyAIDev team |
|
|
140
|
+
| **Customizable** | Yes | No (managed) |
|
|
141
|
+
| **Offline** | Yes | No |
|
|
142
|
+
|
|
127
143
|
### What's New
|
|
128
144
|
|
|
129
145
|
- **Skills-Based Architecture**: Capabilities are now defined as discoverable SKILL.md files
|
|
130
|
-
- **Plugin Marketplace**: Install
|
|
146
|
+
- **Plugin Marketplace**: Install community skills from the MyAIDev marketplace
|
|
147
|
+
- **Premium Cloud Skills**: Access advanced capabilities via authenticated API
|
|
131
148
|
- **Cross-Platform Support**: Works with Claude Code, Gemini CLI, and Codex CLI
|
|
132
149
|
- **Dual Command Naming**: Both legacy (`/myai-*`) and new skill-based names work
|
|
133
150
|
- **Installation Detection**: CLI commands to detect and upgrade installations
|
|
@@ -168,7 +185,7 @@ Skills are organized into packs for modular installation:
|
|
|
168
185
|
| Pack | Skills | Use Case |
|
|
169
186
|
|------|--------|----------|
|
|
170
187
|
| **content** | content-writer, content-verifier, visual-generator, wordpress-publisher | Content creation and publishing |
|
|
171
|
-
| **development** |
|
|
188
|
+
| **development** | myaidev-workflow, myaidev-architect, myaidev-coder, myaidev-tester, myaidev-reviewer, myaidev-documenter, myaidev-analyze, myaidev-debug, myaidev-refactor, myaidev-performance, myaidev-migrate | SPARC methodology software development |
|
|
172
189
|
| **security** | security-tester, security-auditor | Penetration testing and auditing |
|
|
173
190
|
| **infrastructure** | coolify-deployer, openstack-manager | Deployment and cloud management |
|
|
174
191
|
|
|
@@ -487,12 +504,12 @@ cp -r .myaidev-method-backup-{timestamp}/* .
|
|
|
487
504
|
Contains all skill definitions as SKILL.md files, organized by category:
|
|
488
505
|
|
|
489
506
|
**SPARC Development:**
|
|
490
|
-
- `skills/
|
|
491
|
-
- `skills/
|
|
492
|
-
- `skills/
|
|
493
|
-
- `skills/
|
|
494
|
-
- `skills/
|
|
495
|
-
- `skills/
|
|
507
|
+
- `skills/myaidev-workflow/SKILL.md` - Complete 5-phase SPARC workflow
|
|
508
|
+
- `skills/myaidev-architect/SKILL.md` - Architecture design phase
|
|
509
|
+
- `skills/myaidev-coder/SKILL.md` - Implementation phase
|
|
510
|
+
- `skills/myaidev-tester/SKILL.md` - Testing phase
|
|
511
|
+
- `skills/myaidev-reviewer/SKILL.md` - Code review phase
|
|
512
|
+
- `skills/myaidev-documenter/SKILL.md` - Documentation phase
|
|
496
513
|
|
|
497
514
|
**Content & Publishing:**
|
|
498
515
|
- `skills/content-writer/SKILL.md` - Content creation
|
|
@@ -979,7 +996,7 @@ The SPARC methodology provides systematic development with five phases:
|
|
|
979
996
|
**Full Workflow Execution**:
|
|
980
997
|
```bash
|
|
981
998
|
# Execute complete 5-phase SPARC workflow
|
|
982
|
-
/
|
|
999
|
+
/myaidev-workflow "Build user authentication with JWT and OAuth"
|
|
983
1000
|
```
|
|
984
1001
|
|
|
985
1002
|
This runs:
|
|
@@ -992,19 +1009,19 @@ This runs:
|
|
|
992
1009
|
**Individual Phase Control**:
|
|
993
1010
|
```bash
|
|
994
1011
|
# Architecture phase
|
|
995
|
-
/
|
|
1012
|
+
/myaidev-architect "Design microservices architecture for e-commerce platform"
|
|
996
1013
|
|
|
997
1014
|
# Implementation phase
|
|
998
|
-
/
|
|
1015
|
+
/myaidev-coder "Implement user authentication service"
|
|
999
1016
|
|
|
1000
1017
|
# Testing phase
|
|
1001
|
-
/
|
|
1018
|
+
/myaidev-tester "Create comprehensive test suite with 80%+ coverage"
|
|
1002
1019
|
|
|
1003
1020
|
# Code review phase
|
|
1004
|
-
/
|
|
1021
|
+
/myaidev-reviewer "Review authentication implementation for security best practices"
|
|
1005
1022
|
|
|
1006
1023
|
# Documentation phase
|
|
1007
|
-
/
|
|
1024
|
+
/myaidev-documenter "Generate API documentation and integration guides"
|
|
1008
1025
|
```
|
|
1009
1026
|
|
|
1010
1027
|
#### Spec-Driven Development
|
|
@@ -1013,10 +1030,10 @@ Start with requirements, not code:
|
|
|
1013
1030
|
|
|
1014
1031
|
```bash
|
|
1015
1032
|
# 1. Create detailed specification
|
|
1016
|
-
/
|
|
1033
|
+
/myaidev-architect "Design RESTful API for social media platform with posts, comments, likes"
|
|
1017
1034
|
|
|
1018
1035
|
# 2. Generate pseudocode and algorithms
|
|
1019
|
-
/
|
|
1036
|
+
/myaidev-workflow "Implement the social media API based on specification"
|
|
1020
1037
|
|
|
1021
1038
|
# 3. Implementation follows the spec
|
|
1022
1039
|
# Skills reference the specification throughout development
|
|
@@ -1028,13 +1045,13 @@ Start with requirements, not code:
|
|
|
1028
1045
|
|
|
1029
1046
|
```bash
|
|
1030
1047
|
# Build: Implement feature
|
|
1031
|
-
/
|
|
1048
|
+
/myaidev-coder "Add real-time notifications using WebSockets"
|
|
1032
1049
|
|
|
1033
1050
|
# Measure: Test and validate
|
|
1034
|
-
/
|
|
1051
|
+
/myaidev-tester "Create integration tests for WebSocket notifications"
|
|
1035
1052
|
|
|
1036
1053
|
# Analyze: Code review and quality checks
|
|
1037
|
-
/
|
|
1054
|
+
/myaidev-reviewer "Analyze WebSocket implementation for performance and security"
|
|
1038
1055
|
|
|
1039
1056
|
# Deploy: Prepare for production
|
|
1040
1057
|
/coolify-deployer "Deploy notification service to production"
|
|
@@ -1061,19 +1078,19 @@ Complete feature development:
|
|
|
1061
1078
|
|
|
1062
1079
|
```bash
|
|
1063
1080
|
# 1. Design phase - Architecture and specification
|
|
1064
|
-
/
|
|
1081
|
+
/myaidev-architect "Design comment system with threading, reactions, and moderation"
|
|
1065
1082
|
|
|
1066
1083
|
# 2. Implementation phase
|
|
1067
|
-
/
|
|
1084
|
+
/myaidev-coder "Implement comment API endpoints with validation"
|
|
1068
1085
|
|
|
1069
1086
|
# 3. Testing phase
|
|
1070
|
-
/
|
|
1087
|
+
/myaidev-tester "Create unit and integration tests for comment system"
|
|
1071
1088
|
|
|
1072
1089
|
# 4. Review phase
|
|
1073
|
-
/
|
|
1090
|
+
/myaidev-reviewer "Review comment system code for security and performance"
|
|
1074
1091
|
|
|
1075
1092
|
# 5. Documentation phase
|
|
1076
|
-
/
|
|
1093
|
+
/myaidev-documenter "Generate API documentation for comment endpoints"
|
|
1077
1094
|
|
|
1078
1095
|
# 6. Git workflow
|
|
1079
1096
|
/myai-git-commit "Add threaded comment system with reactions"
|
|
@@ -1088,18 +1105,18 @@ Complete feature development:
|
|
|
1088
1105
|
**Multi-Skill Collaboration**:
|
|
1089
1106
|
```bash
|
|
1090
1107
|
# Architecture skill designs system
|
|
1091
|
-
/
|
|
1108
|
+
/myaidev-architect "Design event-driven microservices architecture"
|
|
1092
1109
|
|
|
1093
1110
|
# Multiple skills work in parallel
|
|
1094
|
-
/
|
|
1095
|
-
/
|
|
1096
|
-
/
|
|
1111
|
+
/myaidev-coder "Implement user service"
|
|
1112
|
+
/myaidev-coder "Implement order service"
|
|
1113
|
+
/myaidev-coder "Implement notification service"
|
|
1097
1114
|
|
|
1098
1115
|
# Testing skill validates integration
|
|
1099
|
-
/
|
|
1116
|
+
/myaidev-tester "Create end-to-end tests for order flow"
|
|
1100
1117
|
|
|
1101
1118
|
# Documentation skill generates guides
|
|
1102
|
-
/
|
|
1119
|
+
/myaidev-documenter "Generate microservices integration documentation"
|
|
1103
1120
|
```
|
|
1104
1121
|
|
|
1105
1122
|
---
|
|
@@ -1115,7 +1132,7 @@ The SPARC methodology provides a systematic approach to software development wit
|
|
|
1115
1132
|
Run the entire 5-phase workflow:
|
|
1116
1133
|
|
|
1117
1134
|
```bash
|
|
1118
|
-
/
|
|
1135
|
+
/myaidev-workflow "Build user authentication with JWT and OAuth"
|
|
1119
1136
|
```
|
|
1120
1137
|
|
|
1121
1138
|
This executes all phases sequentially:
|
|
@@ -1131,19 +1148,19 @@ For more control, run phases individually:
|
|
|
1131
1148
|
|
|
1132
1149
|
```bash
|
|
1133
1150
|
# Phase 1: Architecture Design
|
|
1134
|
-
/
|
|
1151
|
+
/myaidev-architect "Design microservices architecture for e-commerce platform"
|
|
1135
1152
|
|
|
1136
1153
|
# Phase 2: Implementation
|
|
1137
|
-
/
|
|
1154
|
+
/myaidev-coder "Implement user authentication service"
|
|
1138
1155
|
|
|
1139
1156
|
# Phase 3: Testing
|
|
1140
|
-
/
|
|
1157
|
+
/myaidev-tester "Create comprehensive test suite with 80%+ coverage"
|
|
1141
1158
|
|
|
1142
1159
|
# Phase 4: Code Review
|
|
1143
|
-
/
|
|
1160
|
+
/myaidev-reviewer "Review authentication implementation for security"
|
|
1144
1161
|
|
|
1145
1162
|
# Phase 5: Documentation
|
|
1146
|
-
/
|
|
1163
|
+
/myaidev-documenter "Generate API documentation and user guides"
|
|
1147
1164
|
```
|
|
1148
1165
|
|
|
1149
1166
|
### SPARC Quality Standards
|
|
@@ -2421,7 +2438,7 @@ done
|
|
|
2421
2438
|
|
|
2422
2439
|
```bash
|
|
2423
2440
|
# Step 1: API analysis and planning
|
|
2424
|
-
/
|
|
2441
|
+
/myaidev-documenter "Analyze REST API" --source "api-spec.yaml" --generate_examples true
|
|
2425
2442
|
# Output: api-analysis.md with endpoints, parameters, and usage patterns
|
|
2426
2443
|
|
|
2427
2444
|
# Step 2: Create comprehensive documentation
|
|
@@ -2440,7 +2457,7 @@ done
|
|
|
2440
2457
|
/docusaurus-publisher "api-docs-docusaurus.md" --section "api" --add_try_it_buttons true
|
|
2441
2458
|
|
|
2442
2459
|
# Step 5: Generate SDK documentation
|
|
2443
|
-
/
|
|
2460
|
+
/myaidev-documenter "Generate SDK Examples" --languages "javascript,python,curl" --source "api-docs.md"
|
|
2444
2461
|
/docusaurus-publisher "sdk-examples.md" --section "sdks" --code_tabs true
|
|
2445
2462
|
```
|
|
2446
2463
|
|
|
@@ -2693,7 +2710,7 @@ DEBUG=false
|
|
|
2693
2710
|
|
|
2694
2711
|
## 🎁 Contributing Skills to the Marketplace
|
|
2695
2712
|
|
|
2696
|
-
Share your custom skills with the community through the MyAIDev marketplace. The contribution system uses a PR-based review workflow
|
|
2713
|
+
Share your custom skills with the community as **Tier 1 open source skills** through the MyAIDev marketplace. All contributed skills go through a stringent review process — automated CI validation checks for security vulnerabilities, destructive commands, and malware patterns, followed by manual maintainer review for quality and usefulness. The contribution system uses a PR-based review workflow.
|
|
2697
2714
|
|
|
2698
2715
|
### Quick Start: Skill Contributor Skill
|
|
2699
2716
|
|
package/bin/cli.js
CHANGED
|
@@ -40,7 +40,8 @@ async function loadWorkflowSystem() {
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
program
|
|
43
|
-
.version('0.3.
|
|
43
|
+
.version('0.3.3')
|
|
44
|
+
.enablePositionalOptions()
|
|
44
45
|
.description('MyAIDev Method - Comprehensive development framework with SPARC methodology');
|
|
45
46
|
|
|
46
47
|
// Helper function for CLI type selection
|
|
@@ -424,7 +425,7 @@ program
|
|
|
424
425
|
console.log(chalk.magenta('\n🧠 Skills Installed (.claude/skills/):'));
|
|
425
426
|
console.log(chalk.gray(' 24 skills covering development, content, publishing, deployment, security'));
|
|
426
427
|
console.log(chalk.gray(''));
|
|
427
|
-
console.log(chalk.green(' Development:
|
|
428
|
+
console.log(chalk.green(' Development: myaidev-workflow, myaidev-architect, myaidev-coder, myaidev-tester'));
|
|
428
429
|
console.log(chalk.green(' Content: content-writer, content-rules-setup, content-coordinator'));
|
|
429
430
|
console.log(chalk.yellow(' Publishing: wordpress, payloadcms, docusaurus, mintlify, astro'));
|
|
430
431
|
console.log(chalk.blue(' Deploy/Infra: deployer, coolify-deployer, openstack-manager'));
|
|
@@ -486,119 +487,11 @@ async function setupClaude(projectDir) {
|
|
|
486
487
|
}
|
|
487
488
|
}
|
|
488
489
|
|
|
489
|
-
// Create CLAUDE.md configuration file
|
|
490
|
-
const
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
## Skills (\`.claude/skills/\`)
|
|
495
|
-
|
|
496
|
-
Skills are the primary delivery mechanism. Each skill is a self-contained orchestrator with its own subagents.
|
|
497
|
-
|
|
498
|
-
### Development (SPARC Methodology)
|
|
499
|
-
- \`sparc-workflow\` - Complete 5-phase SPARC orchestrator
|
|
500
|
-
- \`sparc-architect\` - System architecture design
|
|
501
|
-
- \`sparc-coder\` - Code implementation with SOLID principles
|
|
502
|
-
- \`sparc-tester\` - Test creation and execution
|
|
503
|
-
- \`sparc-reviewer\` - Code review and security analysis
|
|
504
|
-
- \`sparc-documenter\` - Documentation generation
|
|
505
|
-
|
|
506
|
-
### Content Creation
|
|
507
|
-
- \`content-writer\` - Multi-agent pipeline (research, plan, write, SEO, edit, visuals)
|
|
508
|
-
- \`content-rules-setup\` - Interactive brand voice configuration
|
|
509
|
-
- \`content-verifier\` - Content uniqueness and quality verification
|
|
510
|
-
- \`content-coordinator\` - Batch content verification and publishing
|
|
511
|
-
- \`content-enrichment\` - Enrich articles with real-time data and visuals
|
|
512
|
-
|
|
513
|
-
### Publishing
|
|
514
|
-
- \`wordpress-publisher\` - WordPress REST API publishing
|
|
515
|
-
- \`payloadcms-publisher\` - PayloadCMS with Lexical format
|
|
516
|
-
- \`docusaurus-publisher\` - Docusaurus with sidebar config
|
|
517
|
-
- \`mintlify-publisher\` - Mintlify with navigation updates
|
|
518
|
-
- \`astro-publisher\` - Astro content collections
|
|
519
|
-
|
|
520
|
-
### Visual & Media
|
|
521
|
-
- \`visual-generator\` - AI image/video generation (Gemini, DALL-E, FLUX, Veo)
|
|
522
|
-
|
|
523
|
-
### Deployment & Infrastructure
|
|
524
|
-
- \`deployer\` - Multi-environment deployment (dev/staging/prod)
|
|
525
|
-
- \`coolify-deployer\` - Coolify PaaS deployment
|
|
526
|
-
- \`openstack-manager\` - OpenStack VM management
|
|
527
|
-
|
|
528
|
-
### Git & CI/CD
|
|
529
|
-
- \`git-workflow\` - PRs, releases, hotfixes, branch sync
|
|
530
|
-
|
|
531
|
-
### Security
|
|
532
|
-
- \`security-tester\` - Penetration testing (PTES methodology)
|
|
533
|
-
- \`security-auditor\` - Compliance auditing (PCI-DSS, GDPR, SOC 2)
|
|
534
|
-
|
|
535
|
-
### Configuration
|
|
536
|
-
- \`configure\` - Interactive environment setup wizard
|
|
537
|
-
|
|
538
|
-
## Content Customization
|
|
539
|
-
|
|
540
|
-
- **content-rules.md** - Brand voice and writing guidelines
|
|
541
|
-
- Run the \`content-rules-setup\` skill to generate this interactively
|
|
542
|
-
|
|
543
|
-
## Platform Configuration
|
|
544
|
-
|
|
545
|
-
Run the \`configure\` skill to set up credentials, or manually edit \`.env\`:
|
|
546
|
-
|
|
547
|
-
\`\`\`bash
|
|
548
|
-
# WordPress
|
|
549
|
-
WORDPRESS_URL=https://your-site.com
|
|
550
|
-
WORDPRESS_USERNAME=your-username
|
|
551
|
-
WORDPRESS_APP_PASSWORD=your-app-password
|
|
552
|
-
|
|
553
|
-
# PayloadCMS
|
|
554
|
-
PAYLOADCMS_URL=https://cms.your-site.com
|
|
555
|
-
PAYLOADCMS_EMAIL=your-email
|
|
556
|
-
PAYLOADCMS_PASSWORD=your-password
|
|
557
|
-
|
|
558
|
-
# Visual APIs
|
|
559
|
-
GOOGLE_API_KEY=your-key
|
|
560
|
-
OPENAI_API_KEY=your-key
|
|
561
|
-
|
|
562
|
-
# Coolify
|
|
563
|
-
COOLIFY_URL=https://coolify.your-server.com
|
|
564
|
-
COOLIFY_API_KEY=your-key
|
|
565
|
-
\`\`\`
|
|
566
|
-
|
|
567
|
-
## Scripts and Utilities
|
|
568
|
-
|
|
569
|
-
The \`.myaidev-method/\` directory contains helper scripts that skills can invoke:
|
|
570
|
-
|
|
571
|
-
\`\`\`bash
|
|
572
|
-
node .myaidev-method/scripts/payloadcms-publish.js "article.md"
|
|
573
|
-
node .myaidev-method/scripts/wordpress-health-check.js
|
|
574
|
-
node .myaidev-method/scripts/coolify-deploy-app.js --name myapp
|
|
575
|
-
\`\`\`
|
|
576
|
-
|
|
577
|
-
## Project Structure
|
|
578
|
-
|
|
579
|
-
\`\`\`
|
|
580
|
-
.claude/
|
|
581
|
-
├── skills/ # All skill definitions (SKILL.md + agents/)
|
|
582
|
-
├── mcp/ # MCP server configurations
|
|
583
|
-
└── CLAUDE.md # This file
|
|
584
|
-
.myaidev-method/
|
|
585
|
-
├── scripts/ # Publishing and deployment scripts
|
|
586
|
-
├── lib/ # Utility libraries
|
|
587
|
-
└── package.json # Script dependencies
|
|
588
|
-
\`\`\`
|
|
589
|
-
|
|
590
|
-
## Updating
|
|
591
|
-
|
|
592
|
-
\`\`\`bash
|
|
593
|
-
npx myaidev-method@latest update --claude # Interactive update
|
|
594
|
-
npx myaidev-method@latest update --claude --force # Force overwrite
|
|
595
|
-
npx myaidev-method@latest update --claude --dry-run # Preview changes
|
|
596
|
-
\`\`\`
|
|
597
|
-
|
|
598
|
-
See \`USER_GUIDE.md\` for detailed instructions.
|
|
599
|
-
`;
|
|
600
|
-
|
|
601
|
-
await fs.writeFile(path.join(claudeDir, 'CLAUDE.md'), claudeMd);
|
|
490
|
+
// Create CLAUDE.md configuration file from template
|
|
491
|
+
const claudeMdTemplate = path.join(__dirname, '..', 'src', 'templates', 'claude', 'CLAUDE.md');
|
|
492
|
+
if (await fs.pathExists(claudeMdTemplate)) {
|
|
493
|
+
await fs.copy(claudeMdTemplate, path.join(claudeDir, 'CLAUDE.md'));
|
|
494
|
+
}
|
|
602
495
|
|
|
603
496
|
// Copy the comprehensive .env.example from package
|
|
604
497
|
const sourceEnvExample = path.join(__dirname, '..', '.env.example');
|
|
@@ -721,6 +614,39 @@ See \`USER_GUIDE.md\` for detailed instructions.
|
|
|
721
614
|
const pkgJson = await fs.readJson(path.join(__dirname, '..', 'package.json'));
|
|
722
615
|
const versionFile = path.join(claudeDir, '.myaidev-version');
|
|
723
616
|
await fs.writeFile(versionFile, pkgJson.version);
|
|
617
|
+
|
|
618
|
+
// Copy statusline script and configure settings.json
|
|
619
|
+
const statuslineSrc = path.join(__dirname, '..', 'src', 'statusline', 'statusline.sh');
|
|
620
|
+
const statuslineDest = path.join(claudeDir, 'statusline.sh');
|
|
621
|
+
if (await fs.pathExists(statuslineSrc)) {
|
|
622
|
+
await fs.copy(statuslineSrc, statuslineDest);
|
|
623
|
+
await fs.chmod(statuslineDest, 0o755);
|
|
624
|
+
|
|
625
|
+
// Create or merge .claude/settings.json with statusLine config
|
|
626
|
+
const settingsPath = path.join(claudeDir, 'settings.json');
|
|
627
|
+
let settings = {};
|
|
628
|
+
if (await fs.pathExists(settingsPath)) {
|
|
629
|
+
try {
|
|
630
|
+
settings = await fs.readJson(settingsPath);
|
|
631
|
+
} catch {
|
|
632
|
+
settings = {};
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
settings.statusLine = {
|
|
636
|
+
type: 'command',
|
|
637
|
+
command: '.claude/statusline.sh'
|
|
638
|
+
};
|
|
639
|
+
settings.extraKnownMarketplaces = {
|
|
640
|
+
'myaidev-marketplace': {
|
|
641
|
+
source: {
|
|
642
|
+
source: 'github',
|
|
643
|
+
repo: 'myaione/myaidev-marketplace'
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
};
|
|
647
|
+
await fs.writeJson(settingsPath, settings, { spaces: 2 });
|
|
648
|
+
console.log(chalk.green(' ✓ Status line configured'));
|
|
649
|
+
}
|
|
724
650
|
}
|
|
725
651
|
|
|
726
652
|
async function setupGemini(projectDir) {
|
|
@@ -754,8 +680,8 @@ This project uses the MyAIDev Method — a skills-based AI development framework
|
|
|
754
680
|
Skills are discovered automatically. Gemini activates them when relevant to your request.
|
|
755
681
|
|
|
756
682
|
### Development (SPARC)
|
|
757
|
-
- \`
|
|
758
|
-
- \`
|
|
683
|
+
- \`myaidev-workflow\` - Complete 5-phase SPARC orchestrator
|
|
684
|
+
- \`myaidev-architect\` / \`myaidev-coder\` / \`myaidev-tester\` / \`myaidev-reviewer\` / \`myaidev-documenter\`
|
|
759
685
|
|
|
760
686
|
### Content & Publishing
|
|
761
687
|
- \`content-writer\` - SEO-optimized content creation
|
|
@@ -773,7 +699,7 @@ Skills are discovered automatically. Gemini activates them when relevant to your
|
|
|
773
699
|
\`\`\`bash
|
|
774
700
|
# Skills activate automatically, or invoke directly:
|
|
775
701
|
/content-writer "Write a guide on Kubernetes best practices"
|
|
776
|
-
/
|
|
702
|
+
/myaidev-workflow "Build a REST API"
|
|
777
703
|
/deployer "Deploy to staging"
|
|
778
704
|
\`\`\`
|
|
779
705
|
`;
|
|
@@ -812,8 +738,8 @@ This project uses the MyAIDev Method — a skills-based AI development framework
|
|
|
812
738
|
Enable experimental skills support: \`experimental.skills = true\` in settings.
|
|
813
739
|
|
|
814
740
|
### Development (SPARC)
|
|
815
|
-
- \`
|
|
816
|
-
- \`
|
|
741
|
+
- \`myaidev-workflow\` - Complete 5-phase SPARC orchestrator
|
|
742
|
+
- \`myaidev-architect\` / \`myaidev-coder\` / \`myaidev-tester\` / \`myaidev-reviewer\` / \`myaidev-documenter\`
|
|
817
743
|
|
|
818
744
|
### Content & Publishing
|
|
819
745
|
- \`content-writer\` - SEO-optimized content creation
|
|
@@ -882,7 +808,7 @@ program
|
|
|
882
808
|
|
|
883
809
|
// Generate change summary
|
|
884
810
|
const summarySpinner = ora('Analyzing changes...').start();
|
|
885
|
-
const components = ['skills', 'scripts', 'lib', 'mcp', 'docs'];
|
|
811
|
+
const components = ['skills', 'scripts', 'lib', 'mcp', 'config', 'docs'];
|
|
886
812
|
const summary = await updateManager.generateChangeSummary(
|
|
887
813
|
components, cwd, installation.type, packageRoot
|
|
888
814
|
);
|
|
@@ -894,12 +820,8 @@ program
|
|
|
894
820
|
|
|
895
821
|
// Dry run mode - just show summary and exit
|
|
896
822
|
if (options.dryRun) {
|
|
897
|
-
console.log(chalk.yellow('\n📋 DRY RUN
|
|
898
|
-
console.log(chalk.gray('
|
|
899
|
-
console.log(chalk.gray(` • ${summary.unchanged.length} unchanged files (would skip)`));
|
|
900
|
-
console.log(chalk.gray(` • ${summary.new.length} new files (would add)`));
|
|
901
|
-
console.log(chalk.gray(` • ${summary.modified.length} modified files (would need decision)`));
|
|
902
|
-
console.log(chalk.gray(` • ${summary.deleted.length} removed files (would optionally delete)`));
|
|
823
|
+
console.log(chalk.yellow('\n📋 DRY RUN — No changes were made.'));
|
|
824
|
+
console.log(chalk.gray(' Run without --dry-run to apply updates.\n'));
|
|
903
825
|
process.exit(0);
|
|
904
826
|
}
|
|
905
827
|
|