myaidev-method 0.3.1 → 0.3.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/.claude-plugin/plugin.json +52 -48
- package/CHANGELOG.md +5 -0
- package/DEV_WORKFLOW_GUIDE.md +6 -6
- package/MCP_INTEGRATION.md +4 -4
- package/README.md +140 -66
- package/TECHNICAL_ARCHITECTURE.md +112 -18
- package/USER_GUIDE.md +270 -39
- package/bin/cli.js +47 -13
- package/dist/mcp/gutenberg-converter.js +667 -413
- package/dist/mcp/wordpress-admin-mcp.js +0 -1
- package/dist/mcp/wordpress-integration.js +0 -1
- package/dist/mcp/wordpress-server.js +1558 -1182
- package/dist/server/.tsbuildinfo +1 -1
- package/extension.json +3 -3
- package/package.json +9 -2
- 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-architect/SKILL.md +389 -0
- package/skills/myaidev-coder/SKILL.md +291 -0
- package/skills/myaidev-debug/SKILL.md +308 -0
- package/skills/myaidev-documenter/SKILL.md +194 -0
- package/skills/myaidev-migrate/SKILL.md +300 -0
- package/skills/myaidev-performance/SKILL.md +270 -0
- package/skills/myaidev-refactor/SKILL.md +296 -0
- package/skills/myaidev-reviewer/SKILL.md +385 -0
- package/skills/myaidev-tester/SKILL.md +331 -0
- package/skills/myaidev-workflow/SKILL.md +567 -0
- package/skills/security-auditor/SKILL.md +1 -1
- package/src/cli/commands/addon.js +60 -12
- package/src/cli/commands/auth.js +10 -2
- package/src/config/workflows.js +11 -6
- package/src/lib/ascii-banner.js +3 -3
- package/src/lib/coolify-utils.js +0 -1
- package/src/lib/payloadcms-utils.js +0 -1
- package/src/lib/visual-generation-utils.js +0 -1
- package/src/lib/wordpress-admin-utils.js +0 -1
- package/src/mcp/gutenberg-converter.js +667 -413
- package/src/mcp/wordpress-admin-mcp.js +0 -1
- package/src/mcp/wordpress-integration.js +0 -1
- package/src/mcp/wordpress-server.js +1558 -1182
- package/src/scripts/test-coolify-deploy.js +0 -1
- package/src/statusline/statusline.sh +279 -0
- package/skills/content-writer/agents/editor-agent.md +0 -138
- package/skills/content-writer/agents/planner-agent.md +0 -121
- package/skills/content-writer/agents/research-agent.md +0 -83
- package/skills/content-writer/agents/seo-agent.md +0 -139
- package/skills/content-writer/agents/visual-planner-agent.md +0 -110
- package/skills/content-writer/agents/writer-agent.md +0 -85
- 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
|
|
|
@@ -2691,6 +2708,220 @@ DEBUG=false
|
|
|
2691
2708
|
- Test skill behavior
|
|
2692
2709
|
- Validate output quality
|
|
2693
2710
|
|
|
2711
|
+
## 🎁 Contributing Skills to the Marketplace
|
|
2712
|
+
|
|
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.
|
|
2714
|
+
|
|
2715
|
+
### Quick Start: Skill Contributor Skill
|
|
2716
|
+
|
|
2717
|
+
The easiest way to create and submit skills is using the `/skill-contributor` skill inside Claude Code:
|
|
2718
|
+
|
|
2719
|
+
```bash
|
|
2720
|
+
# Interactive menu - choose what you want to do
|
|
2721
|
+
/skill-contributor
|
|
2722
|
+
|
|
2723
|
+
# Create a new skill with guided prompts
|
|
2724
|
+
/skill-contributor create
|
|
2725
|
+
|
|
2726
|
+
# Validate and submit an existing skill via PR
|
|
2727
|
+
/skill-contributor submit
|
|
2728
|
+
|
|
2729
|
+
# Check the status of your submissions
|
|
2730
|
+
/skill-contributor status
|
|
2731
|
+
```
|
|
2732
|
+
|
|
2733
|
+
### Complete Contribution Workflow
|
|
2734
|
+
|
|
2735
|
+
#### Step 1: Authenticate
|
|
2736
|
+
|
|
2737
|
+
Before submitting skills, authenticate with the marketplace:
|
|
2738
|
+
|
|
2739
|
+
```bash
|
|
2740
|
+
npx myaidev-method login
|
|
2741
|
+
```
|
|
2742
|
+
|
|
2743
|
+
This opens your browser for OAuth authentication and stores a token locally.
|
|
2744
|
+
|
|
2745
|
+
#### Step 2: Create Your Skill
|
|
2746
|
+
|
|
2747
|
+
**Option A: Using the skill-contributor skill (Recommended)**
|
|
2748
|
+
|
|
2749
|
+
```bash
|
|
2750
|
+
/skill-contributor create
|
|
2751
|
+
```
|
|
2752
|
+
|
|
2753
|
+
You'll be prompted for:
|
|
2754
|
+
- **Name**: lowercase with hyphens (e.g., `code-formatter`)
|
|
2755
|
+
- **Description**: Include a "when to use" clause
|
|
2756
|
+
- **Category**: development, content, publishing, security, deployment, infrastructure, or other
|
|
2757
|
+
- **Complexity**: basic, intermediate, or advanced (determines template)
|
|
2758
|
+
|
|
2759
|
+
**Option B: Manual creation**
|
|
2760
|
+
|
|
2761
|
+
Create a directory and SKILL.md file:
|
|
2762
|
+
|
|
2763
|
+
```bash
|
|
2764
|
+
mkdir -p .claude/skills/my-skill
|
|
2765
|
+
```
|
|
2766
|
+
|
|
2767
|
+
Create `.claude/skills/my-skill/SKILL.md`:
|
|
2768
|
+
|
|
2769
|
+
```markdown
|
|
2770
|
+
---
|
|
2771
|
+
name: my-skill
|
|
2772
|
+
description: "Does X when you need to Y. Use when working with Z."
|
|
2773
|
+
argument-hint: "[action] [args]"
|
|
2774
|
+
allowed-tools: [Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion]
|
|
2775
|
+
context: fork
|
|
2776
|
+
---
|
|
2777
|
+
|
|
2778
|
+
# My Skill
|
|
2779
|
+
|
|
2780
|
+
You are a **My Skill** agent — description of what you do.
|
|
2781
|
+
|
|
2782
|
+
## Quick Start
|
|
2783
|
+
|
|
2784
|
+
```
|
|
2785
|
+
/my-skill action args
|
|
2786
|
+
```
|
|
2787
|
+
|
|
2788
|
+
## Arguments
|
|
2789
|
+
|
|
2790
|
+
Parse action from: `$ARGUMENTS`
|
|
2791
|
+
|
|
2792
|
+
### Actions
|
|
2793
|
+
|
|
2794
|
+
#### `action1` - Primary Action
|
|
2795
|
+
|
|
2796
|
+
**Workflow:**
|
|
2797
|
+
1. Step one
|
|
2798
|
+
2. Step two
|
|
2799
|
+
3. Step three
|
|
2800
|
+
|
|
2801
|
+
## Error Handling
|
|
2802
|
+
|
|
2803
|
+
- Explain errors and suggest alternatives
|
|
2804
|
+
- Never silently skip steps
|
|
2805
|
+
```
|
|
2806
|
+
|
|
2807
|
+
#### Step 3: Validate Your Skill
|
|
2808
|
+
|
|
2809
|
+
Run validation to check for issues before submitting:
|
|
2810
|
+
|
|
2811
|
+
```bash
|
|
2812
|
+
# Via CLI
|
|
2813
|
+
npx myaidev-method addon validate --dir .claude/skills/my-skill
|
|
2814
|
+
|
|
2815
|
+
# Via skill-contributor
|
|
2816
|
+
/skill-contributor submit
|
|
2817
|
+
# (validates automatically before submission)
|
|
2818
|
+
```
|
|
2819
|
+
|
|
2820
|
+
**Validation checks:**
|
|
2821
|
+
- ✅ Required frontmatter fields (`name`, `description`, `allowed-tools`)
|
|
2822
|
+
- ✅ Content structure (H1 heading, sections)
|
|
2823
|
+
- ✅ Security patterns (no credential paths, no destructive commands)
|
|
2824
|
+
- ✅ File size limits (50KB max per file, 200KB max total)
|
|
2825
|
+
- ✅ Name availability (not already taken in marketplace)
|
|
2826
|
+
|
|
2827
|
+
#### Step 4: Submit for Review
|
|
2828
|
+
|
|
2829
|
+
```bash
|
|
2830
|
+
# Via CLI
|
|
2831
|
+
npx myaidev-method addon submit --dir .claude/skills/my-skill
|
|
2832
|
+
|
|
2833
|
+
# Via skill-contributor
|
|
2834
|
+
/skill-contributor submit
|
|
2835
|
+
```
|
|
2836
|
+
|
|
2837
|
+
This will:
|
|
2838
|
+
1. Fork the [myaidev-marketplace](https://github.com/myaione/myaidev-marketplace) repo
|
|
2839
|
+
2. Create a branch with your skill
|
|
2840
|
+
3. Open a PR for review
|
|
2841
|
+
4. Record your submission in the system
|
|
2842
|
+
|
|
2843
|
+
#### Step 5: Track Your Submission
|
|
2844
|
+
|
|
2845
|
+
```bash
|
|
2846
|
+
# Check all your submissions
|
|
2847
|
+
npx myaidev-method addon status
|
|
2848
|
+
|
|
2849
|
+
# Or via skill-contributor
|
|
2850
|
+
/skill-contributor status
|
|
2851
|
+
```
|
|
2852
|
+
|
|
2853
|
+
### Skill Quality Guidelines
|
|
2854
|
+
|
|
2855
|
+
#### Frontmatter Requirements
|
|
2856
|
+
|
|
2857
|
+
| Field | Required | Description |
|
|
2858
|
+
|-------|----------|-------------|
|
|
2859
|
+
| `name` | ✅ | Lowercase, hyphens only, max 64 chars |
|
|
2860
|
+
| `description` | ✅ | Must include "when" clause explaining usage |
|
|
2861
|
+
| `allowed-tools` | ✅ | Array of tools the skill needs |
|
|
2862
|
+
| `argument-hint` | Recommended | Shows usage pattern in help |
|
|
2863
|
+
| `context` | Recommended | Usually `fork` for isolation |
|
|
2864
|
+
|
|
2865
|
+
#### Content Structure
|
|
2866
|
+
|
|
2867
|
+
- **H1 heading**: Must match skill purpose
|
|
2868
|
+
- **Quick Start**: Show basic usage example
|
|
2869
|
+
- **Arguments section**: Document all arguments and actions
|
|
2870
|
+
- **Workflow steps**: Clear numbered steps for each action
|
|
2871
|
+
- **Error handling**: Guidance for edge cases
|
|
2872
|
+
|
|
2873
|
+
#### Security Rules
|
|
2874
|
+
|
|
2875
|
+
Your skill must NOT contain:
|
|
2876
|
+
- ❌ Credential paths (`~/.ssh`, `~/.aws`, etc.)
|
|
2877
|
+
- ❌ Destructive commands (`rm -rf /`, `chmod 777`, etc.)
|
|
2878
|
+
- ❌ Dynamic code execution (`eval()`, `exec()`) unless essential
|
|
2879
|
+
- ❌ Remote script piping (`curl | bash`)
|
|
2880
|
+
|
|
2881
|
+
### Skill Templates
|
|
2882
|
+
|
|
2883
|
+
The skill-contributor provides three templates based on complexity:
|
|
2884
|
+
|
|
2885
|
+
| Template | Best For | Features |
|
|
2886
|
+
|----------|----------|----------|
|
|
2887
|
+
| **Basic** | Simple, single-action skills | Minimal structure, quick to fill |
|
|
2888
|
+
| **Intermediate** | Multi-action skills | Multiple actions, quality checks |
|
|
2889
|
+
| **Advanced** | Orchestrator skills | Sub-agents via Task tool, configuration |
|
|
2890
|
+
|
|
2891
|
+
### After Submission
|
|
2892
|
+
|
|
2893
|
+
1. **CI Validation**: GitHub Actions validates your SKILL.md automatically
|
|
2894
|
+
2. **Review**: Maintainers review for quality, security, and usefulness
|
|
2895
|
+
3. **Feedback**: You may receive comments requesting changes
|
|
2896
|
+
4. **Merge**: Once approved, your skill is merged and ingested into the marketplace
|
|
2897
|
+
5. **Published**: Users can install via `npx myaidev-method addon install your-skill`
|
|
2898
|
+
|
|
2899
|
+
### Example: Creating a Simple Skill
|
|
2900
|
+
|
|
2901
|
+
```bash
|
|
2902
|
+
# 1. Login
|
|
2903
|
+
npx myaidev-method login
|
|
2904
|
+
|
|
2905
|
+
# 2. Create skill interactively
|
|
2906
|
+
/skill-contributor create
|
|
2907
|
+
# Enter: name=code-formatter, description="Formats code files. Use when cleaning up code style.", category=development, complexity=basic
|
|
2908
|
+
|
|
2909
|
+
# 3. Edit the generated SKILL.md with your logic
|
|
2910
|
+
code .claude/skills/code-formatter/SKILL.md
|
|
2911
|
+
|
|
2912
|
+
# 4. Test locally by invoking it
|
|
2913
|
+
/code-formatter "src/**/*.js"
|
|
2914
|
+
|
|
2915
|
+
# 5. Validate
|
|
2916
|
+
npx myaidev-method addon validate --dir .claude/skills/code-formatter
|
|
2917
|
+
|
|
2918
|
+
# 6. Submit
|
|
2919
|
+
/skill-contributor submit
|
|
2920
|
+
|
|
2921
|
+
# 7. Check status
|
|
2922
|
+
/skill-contributor status
|
|
2923
|
+
```
|
|
2924
|
+
|
|
2694
2925
|
## 📚 Additional Resources
|
|
2695
2926
|
|
|
2696
2927
|
### Learning More
|