myaidev-method 0.2.17 → 0.2.18

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 (3) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/bin/cli.js +23 -9
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,23 @@ 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.2.18] - 2025-11-19
9
+
10
+ ### Changed
11
+ - **Init Command**: Automatic content-rules.md creation and streamlined documentation
12
+ - Creates `content-rules.md` in project root automatically if it doesn't exist
13
+ - Copies from `content-rules.example.md` template during `init --claude`
14
+ - Streamlined documentation: Only copies USER_GUIDE.md, DEV_WORKFLOW_GUIDE.md, PUBLISHING_GUIDE.md
15
+ - Removed redundant docs (MCP_INTEGRATION, COOLIFY_DEPLOYMENT, WORDPRESS_ADMIN_SCRIPTS, TECHNICAL_ARCHITECTURE)
16
+ - Updated CLAUDE.md to document content-rules.md customization
17
+ - Shows helpful message when content-rules.md is created or already exists
18
+
19
+ ### Benefits
20
+ - ✅ Users get content-rules.md automatically without manual copying
21
+ - ✅ Cleaner project directory with only essential documentation
22
+ - ✅ content-rules.md ready to customize immediately after init
23
+ - ✅ Respects existing content-rules.md files (won't overwrite)
24
+
8
25
  ## [0.2.17] - 2025-11-19
9
26
 
10
27
  ### Added
package/bin/cli.js CHANGED
@@ -321,10 +321,16 @@ COOLIFY_API_KEY=your-api-key
321
321
  ## Documentation
322
322
 
323
323
  - **USER_GUIDE.md** - Getting started and customization
324
+ - **DEV_WORKFLOW_GUIDE.md** - SPARC development workflow and best practices
324
325
  - **PUBLISHING_GUIDE.md** - Comprehensive multi-platform publishing guide
325
- - **COOLIFY_DEPLOYMENT.md** - Application deployment guide
326
- - **WORDPRESS_ADMIN_SCRIPTS.md** - WordPress admin utilities
327
- - **TECHNICAL_ARCHITECTURE.md** - Developer and architecture guide
326
+
327
+ ## Content Customization
328
+
329
+ - **content-rules.md** - Customize content generation rules for the content-writer agent
330
+ - Define brand voice, tone, and style preferences
331
+ - Set formatting guidelines and SEO requirements
332
+ - Specify required/optional content elements
333
+ - See the file for comprehensive customization options
328
334
 
329
335
  ## Project Conventions
330
336
 
@@ -476,15 +482,11 @@ This configuration follows Claude Code's official standards for custom commands
476
482
 
477
483
  // Note: MCP integration disabled for now - using native tools for WordPress REST API
478
484
 
479
- // Copy documentation files to project root
485
+ // Copy documentation files to project root (limited to essential guides)
480
486
  const docsToMerge = [
481
487
  'USER_GUIDE.md',
482
488
  'DEV_WORKFLOW_GUIDE.md',
483
- 'MCP_INTEGRATION.md',
484
- 'PUBLISHING_GUIDE.md',
485
- 'COOLIFY_DEPLOYMENT.md',
486
- 'WORDPRESS_ADMIN_SCRIPTS.md',
487
- 'TECHNICAL_ARCHITECTURE.md'
489
+ 'PUBLISHING_GUIDE.md'
488
490
  ];
489
491
 
490
492
  for (const docFile of docsToMerge) {
@@ -494,6 +496,18 @@ This configuration follows Claude Code's official standards for custom commands
494
496
  }
495
497
  }
496
498
 
499
+ // Create content-rules.md if it doesn't already exist
500
+ const contentRulesPath = path.join(projectDir, 'content-rules.md');
501
+ if (!await fs.pathExists(contentRulesPath)) {
502
+ const contentRulesTemplate = path.join(__dirname, '..', 'content-rules.example.md');
503
+ if (await fs.pathExists(contentRulesTemplate)) {
504
+ await fs.copy(contentRulesTemplate, contentRulesPath);
505
+ console.log(chalk.green(' ✓ Created content-rules.md for customizable content generation'));
506
+ }
507
+ } else {
508
+ console.log(chalk.gray(' ℹ content-rules.md already exists, skipping creation'));
509
+ }
510
+
497
511
  // Save installation version for update tracking
498
512
  const pkgJson = await fs.readJson(path.join(__dirname, '..', 'package.json'));
499
513
  const versionFile = path.join(claudeDir, '.myaidev-version');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myaidev-method",
3
- "version": "0.2.17",
3
+ "version": "0.2.18",
4
4
  "description": "Comprehensive development framework with SPARC methodology for AI-assisted software development, AI visual content generation (Gemini, Imagen, DALL-E, Veo, FLUX), multi-platform publishing (WordPress, PayloadCMS, Astro, Docusaurus, Mintlify), and Coolify deployment",
5
5
  "mcpName": "io.github.myaione/myaidev-method",
6
6
  "main": "src/index.js",