myaidev-method 0.3.0 → 0.3.2

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/CHANGELOG.md CHANGED
@@ -5,6 +5,17 @@ All notable changes to the MyAIDev Method package will be documented in this fil
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.3.2] - 2026-02-05
9
+
10
+ ### Fixed
11
+ - Fix CLI version string (was showing 0.2.25 instead of actual version)
12
+
13
+ ## [0.3.1] - 2026-02-03
14
+
15
+ ### Fixed
16
+ - Fix `init` command crash caused by unescaped backtick in CLAUDE.md template
17
+ - Update installation tests from legacy commands/agents to skills-based architecture
18
+
8
19
  ## [0.3.0] - 2026-02-03
9
20
 
10
21
  ### Added
package/README.md CHANGED
@@ -1693,11 +1693,68 @@ VERBOSE_LOGGING=true
1693
1693
 
1694
1694
  We welcome contributions to improve MyAIDev Method!
1695
1695
 
1696
- ### How to Contribute
1696
+ ### Contributing Skills to the Marketplace
1697
+
1698
+ The easiest way to contribute is by creating and submitting new skills through our PR-based review system.
1699
+
1700
+ #### Quick Start: Using the Skill Contributor
1701
+
1702
+ Inside Claude Code, use the `/skill-contributor` skill for guided creation and submission:
1703
+
1704
+ ```bash
1705
+ # Interactive menu (choose create, submit, or status)
1706
+ /skill-contributor
1707
+
1708
+ # Create a new skill from template
1709
+ /skill-contributor create
1710
+
1711
+ # Validate and submit an existing skill
1712
+ /skill-contributor submit
1713
+
1714
+ # Check submission status
1715
+ /skill-contributor status
1716
+ ```
1717
+
1718
+ #### Manual Workflow: CLI Commands
1719
+
1720
+ ```bash
1721
+ # Step 1: Authenticate with the marketplace
1722
+ npx myaidev-method login
1723
+
1724
+ # Step 2: Create a skill (interactive scaffolding)
1725
+ npx myaidev-method addon submit
1726
+ # If no SKILL.md exists, you'll be guided through creation
1727
+
1728
+ # Step 3: Validate your skill locally
1729
+ npx myaidev-method addon validate --dir .claude/skills/my-skill
1730
+
1731
+ # Step 4: Submit for review (creates PR to marketplace)
1732
+ npx myaidev-method addon submit --dir .claude/skills/my-skill
1733
+
1734
+ # Step 5: Check submission status
1735
+ npx myaidev-method addon status
1736
+ ```
1737
+
1738
+ #### Skill Quality Requirements
1739
+
1740
+ Your skill must pass validation:
1741
+ - **Frontmatter**: `name` (lowercase, hyphens), `description` (with "when to use" clause), `allowed-tools`
1742
+ - **Content**: Start with H1, include workflow documentation, keep under 50KB
1743
+ - **Security**: No credential paths, no destructive commands, no dynamic code execution
1744
+
1745
+ #### What Happens After Submission
1746
+
1747
+ 1. **PR Created**: Your skill is submitted as a PR to [myaidev-marketplace](https://github.com/myaione/myaidev-marketplace)
1748
+ 2. **CI Validation**: Automated checks run on your SKILL.md
1749
+ 3. **Review**: Maintainers review for quality and security
1750
+ 4. **Merge & Publish**: Once approved, your skill is ingested into the marketplace
1751
+ 5. **Available**: Users can install via `npx myaidev-method addon install your-skill`
1752
+
1753
+ ### How to Contribute (Code)
1697
1754
 
1698
1755
  1. **Fork the repository**
1699
1756
  2. **Create a feature branch**: `git checkout -b feature/new-agent`
1700
- 3. **Make your changes**
1757
+ 3. **Make your changes**
1701
1758
  4. **Test thoroughly**
1702
1759
  5. **Submit a pull request**
1703
1760
 
@@ -1705,7 +1762,7 @@ We welcome contributions to improve MyAIDev Method!
1705
1762
 
1706
1763
  - **New skills**: Create skills for different domains (code review, documentation, etc.)
1707
1764
  - **Additional CLI support**: Add support for more AI CLI tools
1708
- - **Enhanced integrations**: Add support for other CMSs or platforms
1765
+ - **Enhanced integrations**: Add support for other CMSs or platforms
1709
1766
  - **Documentation improvements**: Help improve guides and examples
1710
1767
  - **Bug fixes**: Fix issues and improve reliability
1711
1768
 
package/USER_GUIDE.md CHANGED
@@ -2691,6 +2691,220 @@ DEBUG=false
2691
2691
  - Test skill behavior
2692
2692
  - Validate output quality
2693
2693
 
2694
+ ## šŸŽ Contributing Skills to the Marketplace
2695
+
2696
+ Share your custom skills with the community through the MyAIDev marketplace. The contribution system uses a PR-based review workflow for quality assurance.
2697
+
2698
+ ### Quick Start: Skill Contributor Skill
2699
+
2700
+ The easiest way to create and submit skills is using the `/skill-contributor` skill inside Claude Code:
2701
+
2702
+ ```bash
2703
+ # Interactive menu - choose what you want to do
2704
+ /skill-contributor
2705
+
2706
+ # Create a new skill with guided prompts
2707
+ /skill-contributor create
2708
+
2709
+ # Validate and submit an existing skill via PR
2710
+ /skill-contributor submit
2711
+
2712
+ # Check the status of your submissions
2713
+ /skill-contributor status
2714
+ ```
2715
+
2716
+ ### Complete Contribution Workflow
2717
+
2718
+ #### Step 1: Authenticate
2719
+
2720
+ Before submitting skills, authenticate with the marketplace:
2721
+
2722
+ ```bash
2723
+ npx myaidev-method login
2724
+ ```
2725
+
2726
+ This opens your browser for OAuth authentication and stores a token locally.
2727
+
2728
+ #### Step 2: Create Your Skill
2729
+
2730
+ **Option A: Using the skill-contributor skill (Recommended)**
2731
+
2732
+ ```bash
2733
+ /skill-contributor create
2734
+ ```
2735
+
2736
+ You'll be prompted for:
2737
+ - **Name**: lowercase with hyphens (e.g., `code-formatter`)
2738
+ - **Description**: Include a "when to use" clause
2739
+ - **Category**: development, content, publishing, security, deployment, infrastructure, or other
2740
+ - **Complexity**: basic, intermediate, or advanced (determines template)
2741
+
2742
+ **Option B: Manual creation**
2743
+
2744
+ Create a directory and SKILL.md file:
2745
+
2746
+ ```bash
2747
+ mkdir -p .claude/skills/my-skill
2748
+ ```
2749
+
2750
+ Create `.claude/skills/my-skill/SKILL.md`:
2751
+
2752
+ ```markdown
2753
+ ---
2754
+ name: my-skill
2755
+ description: "Does X when you need to Y. Use when working with Z."
2756
+ argument-hint: "[action] [args]"
2757
+ allowed-tools: [Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion]
2758
+ context: fork
2759
+ ---
2760
+
2761
+ # My Skill
2762
+
2763
+ You are a **My Skill** agent — description of what you do.
2764
+
2765
+ ## Quick Start
2766
+
2767
+ ```
2768
+ /my-skill action args
2769
+ ```
2770
+
2771
+ ## Arguments
2772
+
2773
+ Parse action from: `$ARGUMENTS`
2774
+
2775
+ ### Actions
2776
+
2777
+ #### `action1` - Primary Action
2778
+
2779
+ **Workflow:**
2780
+ 1. Step one
2781
+ 2. Step two
2782
+ 3. Step three
2783
+
2784
+ ## Error Handling
2785
+
2786
+ - Explain errors and suggest alternatives
2787
+ - Never silently skip steps
2788
+ ```
2789
+
2790
+ #### Step 3: Validate Your Skill
2791
+
2792
+ Run validation to check for issues before submitting:
2793
+
2794
+ ```bash
2795
+ # Via CLI
2796
+ npx myaidev-method addon validate --dir .claude/skills/my-skill
2797
+
2798
+ # Via skill-contributor
2799
+ /skill-contributor submit
2800
+ # (validates automatically before submission)
2801
+ ```
2802
+
2803
+ **Validation checks:**
2804
+ - āœ… Required frontmatter fields (`name`, `description`, `allowed-tools`)
2805
+ - āœ… Content structure (H1 heading, sections)
2806
+ - āœ… Security patterns (no credential paths, no destructive commands)
2807
+ - āœ… File size limits (50KB max per file, 200KB max total)
2808
+ - āœ… Name availability (not already taken in marketplace)
2809
+
2810
+ #### Step 4: Submit for Review
2811
+
2812
+ ```bash
2813
+ # Via CLI
2814
+ npx myaidev-method addon submit --dir .claude/skills/my-skill
2815
+
2816
+ # Via skill-contributor
2817
+ /skill-contributor submit
2818
+ ```
2819
+
2820
+ This will:
2821
+ 1. Fork the [myaidev-marketplace](https://github.com/myaione/myaidev-marketplace) repo
2822
+ 2. Create a branch with your skill
2823
+ 3. Open a PR for review
2824
+ 4. Record your submission in the system
2825
+
2826
+ #### Step 5: Track Your Submission
2827
+
2828
+ ```bash
2829
+ # Check all your submissions
2830
+ npx myaidev-method addon status
2831
+
2832
+ # Or via skill-contributor
2833
+ /skill-contributor status
2834
+ ```
2835
+
2836
+ ### Skill Quality Guidelines
2837
+
2838
+ #### Frontmatter Requirements
2839
+
2840
+ | Field | Required | Description |
2841
+ |-------|----------|-------------|
2842
+ | `name` | āœ… | Lowercase, hyphens only, max 64 chars |
2843
+ | `description` | āœ… | Must include "when" clause explaining usage |
2844
+ | `allowed-tools` | āœ… | Array of tools the skill needs |
2845
+ | `argument-hint` | Recommended | Shows usage pattern in help |
2846
+ | `context` | Recommended | Usually `fork` for isolation |
2847
+
2848
+ #### Content Structure
2849
+
2850
+ - **H1 heading**: Must match skill purpose
2851
+ - **Quick Start**: Show basic usage example
2852
+ - **Arguments section**: Document all arguments and actions
2853
+ - **Workflow steps**: Clear numbered steps for each action
2854
+ - **Error handling**: Guidance for edge cases
2855
+
2856
+ #### Security Rules
2857
+
2858
+ Your skill must NOT contain:
2859
+ - āŒ Credential paths (`~/.ssh`, `~/.aws`, etc.)
2860
+ - āŒ Destructive commands (`rm -rf /`, `chmod 777`, etc.)
2861
+ - āŒ Dynamic code execution (`eval()`, `exec()`) unless essential
2862
+ - āŒ Remote script piping (`curl | bash`)
2863
+
2864
+ ### Skill Templates
2865
+
2866
+ The skill-contributor provides three templates based on complexity:
2867
+
2868
+ | Template | Best For | Features |
2869
+ |----------|----------|----------|
2870
+ | **Basic** | Simple, single-action skills | Minimal structure, quick to fill |
2871
+ | **Intermediate** | Multi-action skills | Multiple actions, quality checks |
2872
+ | **Advanced** | Orchestrator skills | Sub-agents via Task tool, configuration |
2873
+
2874
+ ### After Submission
2875
+
2876
+ 1. **CI Validation**: GitHub Actions validates your SKILL.md automatically
2877
+ 2. **Review**: Maintainers review for quality, security, and usefulness
2878
+ 3. **Feedback**: You may receive comments requesting changes
2879
+ 4. **Merge**: Once approved, your skill is merged and ingested into the marketplace
2880
+ 5. **Published**: Users can install via `npx myaidev-method addon install your-skill`
2881
+
2882
+ ### Example: Creating a Simple Skill
2883
+
2884
+ ```bash
2885
+ # 1. Login
2886
+ npx myaidev-method login
2887
+
2888
+ # 2. Create skill interactively
2889
+ /skill-contributor create
2890
+ # Enter: name=code-formatter, description="Formats code files. Use when cleaning up code style.", category=development, complexity=basic
2891
+
2892
+ # 3. Edit the generated SKILL.md with your logic
2893
+ code .claude/skills/code-formatter/SKILL.md
2894
+
2895
+ # 4. Test locally by invoking it
2896
+ /code-formatter "src/**/*.js"
2897
+
2898
+ # 5. Validate
2899
+ npx myaidev-method addon validate --dir .claude/skills/code-formatter
2900
+
2901
+ # 6. Submit
2902
+ /skill-contributor submit
2903
+
2904
+ # 7. Check status
2905
+ /skill-contributor status
2906
+ ```
2907
+
2694
2908
  ## šŸ“š Additional Resources
2695
2909
 
2696
2910
  ### Learning More
package/bin/cli.js CHANGED
@@ -40,7 +40,7 @@ async function loadWorkflowSystem() {
40
40
  }
41
41
 
42
42
  program
43
- .version('0.2.25')
43
+ .version('0.3.2')
44
44
  .description('MyAIDev Method - Comprehensive development framework with SPARC methodology');
45
45
 
46
46
  // Helper function for CLI type selection
@@ -433,7 +433,10 @@ program
433
433
  console.log(chalk.gray(' Config: configure (interactive setup wizard)'));
434
434
 
435
435
  console.log(chalk.cyan('\nāš™ļø Get started:'));
436
- console.log(chalk.gray(' • Use the configure skill to set up platforms'));
436
+ console.log(chalk.white(' 1. npx myaidev-method login') + chalk.gray(' — authenticate with the marketplace'));
437
+ console.log(chalk.white(' 2. npx myaidev-method addon list') + chalk.gray(' — browse available skills'));
438
+ console.log(chalk.white(' 3. npx myaidev-method addon install <name>') + chalk.gray(' — install a skill'));
439
+ console.log(chalk.gray('\n • Use the configure skill to set up platform credentials'));
437
440
  console.log(chalk.gray(' • Skills are invoked naturally in conversation'));
438
441
  console.log(chalk.gray(' • Visit: https://github.com/myaione/myaidev-method'));
439
442
  }
@@ -1,4 +1,3 @@
1
- import fetch from 'node-fetch';
2
1
  import { WordPressMCP } from './wordpress-integration.js';
3
2
 
4
3
  export class WordPressAdminMCP extends WordPressMCP {
@@ -1,4 +1,3 @@
1
- import fetch from 'node-fetch';
2
1
  import { GutenbergConverter } from './gutenberg-converter.js';
3
2
 
4
3
  export class WordPressMCP {
@@ -3,7 +3,6 @@
3
3
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
4
4
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
5
5
  import { z } from "zod";
6
- import fetch from "node-fetch";
7
6
  import dotenv from "dotenv";
8
7
  import { GutenbergConverter } from "./gutenberg-converter.js";
9
8