Organize docs
Skill getpipher/skills/skills/workspace/skills/organize-docs
Intelligently analyze and organize all .md files in repository (read-only advisor)From its SKILL.md
npx -y skills add getpipher/skills --skill organize-docsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
28.3 KB, ~7.0k tokens by cl100k_base, as published. Nobody here has run it
Documentation Organization Advisor v2
Bismillah! I'll analyze all markdown files in your repository and propose an intelligent organization structure.
Arguments provided: $ARGUMENTS
π‘οΈ Safety Guarantees
This command is READ-ONLY by default:
- β Scans all .md files in repository
- β Analyzes content and categorizes intelligently
- β Proposes organization structure
- β Shows file movement plan with previews
- β Detects and lists internal link updates needed
- β NEVER moves files without explicit confirmation
- β NEVER modifies content automatically
All operations:
- Display proposed changes for review
- Create backup before any moves (if --apply used)
- Update internal links after confirmation
- Preserve git history (uses git mv)
Organization Philosophy
Flexible Structure Approaches
This command supports multiple documentation philosophies:
1. Default Structure (Tutorial/Documentation-Heavy)
repository-root/
βββ README.md β Project overview (KEEP IN ROOT)
βββ AGENTS.md β AI context file (KEEP IN ROOT; CLAUDE.md is CC's legacy name β keep it too if present)
βββ LICENSE β Legal (keep in root)
βββ CHANGELOG.md β Version history (keep in root)
β
βββ docs/ β ALL other documentation here
βββ README.md β Docs index/navigation
βββ guides/ β How-to guides and tutorials
βββ references/ β API docs, command references
βββ planning/ β PRD, execution plans
βββ technical/ β Architecture documentation
βββ examples/ β Example code, tutorials
2. Divio Documentation System (Recommended for Libraries/Frameworks)
docs/
βββ README.md
βββ tutorials/ β Learning-oriented (getting started)
βββ how-to/ β Problem-oriented (specific tasks)
βββ explanation/ β Understanding-oriented (concepts)
βββ reference/ β Information-oriented (technical specs)
3. Microsoft-Style (Large Projects)
docs/
βββ README.md
βββ get-started/ β Quickstart, installation
βββ concepts/ β Core ideas and architecture
βββ samples/ β Code examples
βββ reference/ β API reference
βββ resources/ β Additional materials
4. API-First (Backend/API Projects)
docs/
βββ README.md
βββ api/ β Endpoint documentation
β βββ authentication.md
β βββ endpoints/
β βββ schemas/
βββ deployment/ β Hosting and deployment
βββ development/ β Local setup and contributing
βββ guides/ β Integration guides
5. Operations/SRE (Internal Tools/Infrastructure)
docs/
βββ README.md
βββ runbooks/ β Operational procedures
βββ architecture/ β System design
βββ troubleshooting/ β Common issues
βββ monitoring/ β Alerts and dashboards
βββ security/ β Security policies
Configuration Support
Option 1: Auto-Detection (Recommended)
If no config file exists, the command will:
- Analyze repository type (language, package files, existing docs)
- Detect project category:
- Library/Framework β Divio system
- API/Backend β API-first structure
- DevOps/Infra β Operations structure
- Tutorial/Learning β Default structure
- Propose appropriate organization
- Ask for confirmation before categorizing
Option 2: Configuration File (.docs-organize.yml)
Create .docs-organize.yml in repository root:
# Documentation organization configuration
# Choose structure type: default, divio, microsoft, api-first, operations, custom
structure_type: divio
# Files to always keep in repository root (regex patterns)
keep_in_root:
- README\.md
- AGENTS\.md
- CLAUDE\.md # CC's legacy name β keep too if present
- CHANGELOG\.md
- CONTRIBUTING\.md
- CODE_OF_CONDUCT\.md
- LICENSE
- SECURITY\.md
# Custom category definitions (only if structure_type: custom)
categories:
tutorials:
keywords: ["tutorial", "getting started", "introduction", "beginner"]
patterns: ["*tutorial*", "*getting-started*", "*intro*"]
weight: 0.7
how-to:
keywords: ["how to", "guide", "step by step", "walkthrough"]
patterns: ["*guide*", "*howto*", "*how-to*"]
weight: 0.6
reference:
keywords: ["api", "reference", "specification", "documentation"]
patterns: ["*api*", "*reference*", "*spec*"]
weight: 0.8
# Categorization weights (how to score files)
categorization:
filename_weight: 0.6 # Weight for filename pattern matching
content_weight: 0.3 # Weight for content analysis
location_weight: 0.1 # Weight for current location context
min_confidence: 0.5 # Minimum confidence to auto-categorize
# Link update behavior
links:
update_markdown: true # Update markdown links
update_html: false # Update HTML <a> tags
update_images: true # Update image references
check_external: false # Check external links (slow)
# Safety settings
safety:
require_git: true # Require git repository
check_uncommitted: true # Check for uncommitted changes
create_backup: true # Create backup branch
backup_prefix: "docs-reorg-backup"
confirmation_required: true # Require "YES I UNDERSTAND"
# Exclusions
exclude:
- node_modules
- vendor
- .git
- dist
- build
- target
- __pycache__
- venv
- .venv
Option 3: Interactive Detection
If no config exists and auto-detection is uncertain:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π PROJECT TYPE DETECTION
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Detected:
- Language: TypeScript
- Project: React component library
- Existing docs: API references, examples
Suggested Structure: Divio Documentation System
β tutorials/ - Getting started guides
β how-to/ - Specific task instructions
β explanation/ - Conceptual documentation
β reference/ - API documentation
Does this fit your project? (y/n/suggest alternative):
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Implementation Process
Phase 0: Configuration and Detection π«
0.1: Parse Arguments
APPLY_CHANGES=false
DRY_RUN=true
CREATE_BACKUP=true
CONFIG_FILE=".docs-organize.yml"
for arg in $ARGUMENTS; do
case $arg in
--apply)
APPLY_CHANGES=true
DRY_RUN=false
;;
--dry-run)
DRY_RUN=true
APPLY_CHANGES=false
;;
--backup)
CREATE_BACKUP=true
;;
--no-backup)
CREATE_BACKUP=false
;;
--config)
shift
CONFIG_FILE="$1"
;;
--config=*)
CONFIG_FILE="${arg#*=}"
;;
esac
done
0.2: Load or Generate Configuration
Step 1: Check for existing config
if [ -f "$CONFIG_FILE" ]; then
echo "β
Found configuration: $CONFIG_FILE"
# Parse YAML config (use Read tool)
else
echo "π No configuration found, using auto-detection..."
# Proceed to project type detection
fi
Step 2: Auto-detect project type if no config
Use these heuristics:
- Check package.json/Cargo.toml/pyproject.toml - Language and project type
- Analyze existing docs/ - Current organization patterns
- Count doc types - More API docs vs more tutorials
- Check for patterns:
openapi.ymlorswagger.jsonβ API-first structureDockerfile,k8s/,.github/workflows/β Operations structureexamples/,tutorials/β Library/learning structuredocs/api/,docs/endpoints/β API structure
Step 3: Present detected structure and confirm
0.3: Repository Validation
# Verify git repo
if ! git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
if [ "$REQUIRE_GIT" = true ]; then
echo "β Not a git repository (required by config)"
exit 1
else
echo "β οΈ Not a git repository"
echo ""
echo "This command uses 'git mv' to preserve file history."
echo "Recommendation: Initialize git first or proceed with caution."
echo ""
read -p "Continue without git? (y/N): " CONTINUE
if [[ ! "$CONTINUE" =~ ^[Yy]$ ]]; then
exit 0
fi
GIT_AVAILABLE=false
fi
else
GIT_AVAILABLE=true
fi
# Check for uncommitted changes
if [ "$GIT_AVAILABLE" = true ] && [ "$CHECK_UNCOMMITTED" = true ]; then
if ! git diff-index --quiet HEAD --; then
echo "β οΈ Uncommitted changes detected"
echo ""
echo "Recommendation: Commit or stash changes before reorganizing."
echo "This prevents confusion about what changed."
echo ""
read -p "Continue anyway? (y/N): " CONTINUE
if [[ ! "$CONTINUE" =~ ^[Yy]$ ]]; then
exit 0
fi
fi
fi
Phase 1: Discovery and Analysis π
1.1: Find All Markdown Files
echo "π Scanning for markdown files..."
# Build exclusion patterns from config
FIND_EXCLUDES=""
for exclude_dir in "${EXCLUDE_DIRS[@]}"; do
FIND_EXCLUDES="$FIND_EXCLUDES -not -path \"*/$exclude_dir/*\""
done
# Find all .md files
ALL_MD_FILES=$(eval "find . -type f -name '*.md' $FIND_EXCLUDES 2>/dev/null | sort")
TOTAL_COUNT=$(echo "$ALL_MD_FILES" | wc -l | tr -d ' ')
echo "Found $TOTAL_COUNT markdown files"
1.2: Categorize by Current Location
Current state analysis:
# Root-level .md files
ROOT_DOCS=$(echo "$ALL_MD_FILES" | grep "^\\./[^/]*\\.md$")
ROOT_COUNT=$(echo "$ROOT_DOCS" | grep -c "\\.md$" || echo "0")
# Already in docs/
DOCS_DIR_FILES=$(echo "$ALL_MD_FILES" | grep "^\\./docs/")
DOCS_COUNT=$(echo "$DOCS_DIR_FILES" | grep -c "\\.md$" || echo "0")
# Scattered (outside docs/, not in root)
SCATTERED=$(echo "$ALL_MD_FILES" | grep -v "^\\./[^/]*\\.md$" | grep -v "^\\./docs/")
SCATTERED_COUNT=$(echo "$SCATTERED" | grep -c "\\.md$" || echo "0")
# Files to keep in root (from config)
KEEP_IN_ROOT_PATTERN=$(echo "${KEEP_IN_ROOT[@]}" | sed 's/ /|/g')
KEEP_IN_ROOT=$(echo "$ROOT_DOCS" | grep -E "($KEEP_IN_ROOT_PATTERN)$")
MOVE_FROM_ROOT=$(echo "$ROOT_DOCS" | grep -v -E "($KEEP_IN_ROOT_PATTERN)$")
MOVE_FROM_ROOT_COUNT=$(echo "$MOVE_FROM_ROOT" | grep -c "\\.md$" || echo "0")
Summary:
- Total: {TOTAL_COUNT} files
- In root (keep): {KEEP_COUNT} files
- In root (should move): {MOVE_FROM_ROOT_COUNT} files
- In docs/ already: {DOCS_COUNT} files
- Scattered elsewhere: {SCATTERED_COUNT} files
1.3: Intelligent Categorization
For each file, analyze using configured weights:
# Pseudo-code for categorization logic
def categorize_file(file_path, config):
scores = {}
for category_name, category_config in config.categories.items():
# Filename scoring
filename_score = match_patterns(file_path, category_config.patterns)
# Content scoring (read first 50 lines)
content = read_file_preview(file_path, lines=50)
content_score = match_keywords(content, category_config.keywords)
# Location scoring
location_score = match_location_context(file_path, category_config)
# Weighted total
total_score = (
filename_score * config.categorization.filename_weight +
content_score * config.categorization.content_weight +
location_score * config.categorization.location_weight
) * category_config.weight
scores[category_name] = total_score
# Get best match
best_category = max(scores, key=scores.get)
confidence = scores[best_category]
if confidence >= config.categorization.min_confidence:
return (best_category, confidence, "High" if confidence > 0.7 else "Medium")
else:
return (None, confidence, "Low")
Confidence levels:
- High (>0.7): Clear category match (name + content align)
- Medium (0.5-0.7): Category inferred (partial match)
- Low (<0.5): Unclear category (needs manual review)
Phase 2: Proposal Generation π
2.1: Build Movement Plan
For each file to move:
Source: ./path/to/current/DOC.md
Destination: docs/category/doc.md
Reasoning: [category match explanation]
Confidence: High/Medium/Low
Categorization:
- Filename match: 0.8 (matched pattern: *guide*)
- Content match: 0.6 (keywords: tutorial, how to, step by step)
- Location match: 0.2 (in scattered location)
- Total score: 0.68 β Medium confidence
2.2: Detect Conflicts
Check for:
- Destination file already exists
- Name conflicts within category
- Case-insensitive duplicates
- Similar names that may confuse
Resolution strategies:
- Append suffix:
doc.mdβdoc-v2.md - Merge similar files (with approval)
- Keep both with descriptive names
2.3: Analyze Internal Links
Scan all .md files for links (based on config):
- Relative links:
[text](../other.md) - Absolute links:
[text](/docs/file.md) - Reference links:
[text]: other.md - Image links:
(if update_images: true) - HTML links:
<a href="...">(if update_html: true)
Build link update map:
File: src/component/GUIDE.md (moving to docs/tutorials/component.md)
Links to update:
- [Setup](../../SETUP.md) β [Setup](../how-to/setup.md)
- [API](../api/API.md) β [API](../reference/api.md)
Link update strategy:
- Preserve link targets after file moves
- Update relative paths accordingly
- Verify linked files still exist
- Warn about broken links
Phase 3: Generate Report π
Comprehensive reorganization report:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π DOCUMENTATION ORGANIZATION ANALYSIS
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Repository: example-project
Structure Type: Divio Documentation System (auto-detected)
Total Markdown Files: 23
Analysis: 2025-10-14 10:30 UTC
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π CURRENT STATE
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Files in root: 5
β
README.md (keep)
β
AGENTS.md (keep)
β οΈ INSTALLATION.md (should move)
β οΈ TROUBLESHOOTING.md (should move)
β οΈ CREDITS.md (should move)
Files already in docs/: 3
β
docs/API.md (will reorganize to docs/reference/api.md)
β
docs/SETUP.md (will reorganize to docs/tutorials/setup.md)
β
docs/FAQ.md (will reorganize to docs/explanation/faq.md)
Scattered files: 15
β οΈ tmux/TMUX_GUIDE.md
β οΈ zsh/SHELL_CONFIG.md
β οΈ claude/.claude/COMMANDS.md
β οΈ scripts/SCRIPTS_README.md
... [11 more files]
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π― PROPOSED ORGANIZATION (Divio System)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Total moves: 18 files
Updates needed: 12 internal links
π Root (2 files - no changes)
β
README.md
β
AGENTS.md
π docs/ (new Divio structure - 18 files)
β
βββ π tutorials/ (7 files) - Learning-oriented
β βββ getting-started.md β MOVE: ./INSTALLATION.md
β βββ tmux-setup.md β MOVE: ./tmux/TMUX_GUIDE.md
β βββ shell-config.md β MOVE: ./zsh/SHELL_CONFIG.md
β βββ first-steps.md β MOVE: ./docs/SETUP.md
β βββ ...
β
βββ π how-to/ (4 files) - Problem-oriented
β βββ troubleshooting.md β MOVE: ./TROUBLESHOOTING.md
β βββ configure-tmux.md β MOVE: ./tmux/CONFIG.md
β βββ ...
β
βββ π explanation/ (3 files) - Understanding-oriented
β βββ architecture.md β MOVE: ./ARCHITECTURE.md
β βββ faq.md β MOVE: ./docs/FAQ.md
β βββ ...
β
βββ π reference/ (4 files) - Information-oriented
βββ api.md β REORGANIZE: ./docs/API.md
βββ commands.md β MOVE: ./claude/.claude/COMMANDS.md
βββ scripts.md β MOVE: ./scripts/SCRIPTS_README.md
βββ ...
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π INTERNAL LINKS TO UPDATE
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
12 files contain links that need updating:
1. README.md
Current links work, no updates needed β
2. INSTALLATION.md β docs/tutorials/getting-started.md
Links to update:
- [Troubleshooting](TROUBLESHOOTING.md)
β [Troubleshooting](../how-to/troubleshooting.md)
- [Tmux Guide](tmux/TMUX_GUIDE.md)
β [Tmux Setup](tmux-setup.md)
... [10 more files with link updates]
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β οΈ POTENTIAL ISSUES
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1. π‘ Low Confidence: scripts/NOTES.md (score: 0.42)
Category: Unclear (contains mixed content)
Suggested: docs/explanation/scripts-notes.md
Recommendation: Review content manually
2. π’ Broken Link: INSTALLATION.md links to DEPRECATED.md (file not found)
Action: Remove link or update after reorganization
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π‘ RECOMMENDATIONS
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1. π Create docs/README.md as Navigation Hub
2. ποΈ Standardize File Naming
Recommended convention:
- All lowercase
- Hyphens for spaces: getting-started.md
- Descriptive names: tmux-setup.md
3. π Review Low-Confidence Categorizations
Files needing manual review: 1
- scripts/NOTES.md (mixed content)
4. πΎ Save Configuration
Run: --config .docs-organize.yml --save
Preserves detected structure for future use
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π NEXT STEPS
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Choose an option:
1οΈβ£ Show Detailed Plan for Specific File
Example: "Show details for tmux/TMUX_GUIDE.md"
2οΈβ£ Preview Link Updates
Show exact link changes for all files
3οΈβ£ Export This Report
Save to: docs-reorganization-plan-2025-10-14.md
4οΈβ£ Save Configuration
Create .docs-organize.yml with detected settings
5οΈβ£ Apply Reorganization (with backup)
Execute the moves and link updates
6οΈβ£ Apply with Manual Review
Step-by-step confirmation for each move
7οΈβ£ Try Different Structure
Switch to: [default/microsoft/api-first/operations]
8οΈβ£ Cancel
No changes will be made
Which option? (1-8)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Phase 4: Interactive Options
[Rest of the implementation remains similar to v1, but with:]
- Configuration-aware execution
- Structure-specific categorization
- Flexible category handling
- Project-type detection feedback
Generated docs/README.md
Structure-specific navigation hub based on detected type:
For Divio Structure:
# Documentation
Complete documentation for [Project Name] using the [Divio Documentation System](https://documentation.divio.com/).
## π Quick Navigation
### π Tutorials - *Learning-oriented*
When you want to learn how to use the project.
- [Getting Started](tutorials/getting-started.md)
- [Your First Project](tutorials/first-project.md)
### π§ How-To Guides - *Problem-oriented*
When you need to solve a specific problem.
- [Troubleshooting](how-to/troubleshooting.md)
- [Configuration](how-to/configuration.md)
### π‘ Explanation - *Understanding-oriented*
When you want to understand concepts and decisions.
- [Architecture](explanation/architecture.md)
- [Design Decisions](explanation/design-decisions.md)
- [FAQ](explanation/faq.md)
### π Reference - *Information-oriented*
When you need technical specifications.
- [API Reference](reference/api.md)
- [CLI Commands](reference/commands.md)
---
**Documentation Structure**: Divio Documentation System
- **Tutorials**: Step-by-step lessons for beginners
- **How-To Guides**: Recipes for specific tasks
- **Explanation**: Background and context
- **Reference**: Technical descriptions
Last updated: 2025-10-14
Generated by: `/docs:organize` command
For API-First Structure:
# API Documentation
Complete API documentation for [Project Name].
## π Quick Start
- [Authentication](api/authentication.md)
- [Getting Started](get-started/quickstart.md)
## π‘ API Reference
### Core APIs
- [Users API](api/endpoints/users.md)
- [Projects API](api/endpoints/projects.md)
### Schemas
- [Request/Response Schemas](api/schemas/)
## π οΈ Development
- [Local Setup](development/setup.md)
- [Contributing](development/contributing.md)
## π’ Deployment
- [Production Deployment](deployment/production.md)
- [Environment Variables](deployment/configuration.md)
---
Last updated: 2025-10-14
Generated by: `/docs:organize` command
Advanced Features
1. Project Type Auto-Detection
Detection heuristics:
def detect_project_type(repo_path):
indicators = {
"library": 0,
"api": 0,
"operations": 0,
"learning": 0,
"application": 0
}
# Check package files
if exists("package.json"):
package = read_json("package.json")
if "library" in package.keywords or package.get("main"):
indicators["library"] += 3
if "express" in package.dependencies or "fastify" in package.dependencies:
indicators["api"] += 3
# Check for API indicators
if exists("openapi.yml") or exists("swagger.json"):
indicators["api"] += 5
# Check for operations indicators
if exists("Dockerfile") or exists_dir("k8s") or exists_dir(".github/workflows"):
indicators["operations"] += 3
# Check existing docs structure
if exists_dir("docs/tutorials") or exists_dir("docs/examples"):
indicators["library"] += 2
indicators["learning"] += 2
if exists_dir("docs/api") or exists_dir("docs/endpoints"):
indicators["api"] += 4
if exists_dir("docs/runbooks") or exists_dir("docs/operations"):
indicators["operations"] += 4
# Return highest scoring type
return max(indicators, key=indicators.get)
2. Smart Link Detection
Handles various markdown link formats:
Standard: [text](path/to/file.md)
Reference: [text][ref]
Reference def: [ref]: path/to/file.md
Image: 
Relative: [text](../../../file.md)
Anchor: [text](file.md#section)
HTML: <a href="file.md">text</a>
Link update algorithm:
- Parse current file location
- Parse link target location
- Calculate relative path after moves
- Update link in file
- Preserve anchors and query strings
3. Conflict Resolution
Strategy for conflicts:
-
Same name, different content
- Compare file content (diff)
- Offer: merge, rename, keep both
-
Similar names
- Flag potential confusion
- Suggest: clarify names
-
Circular links
- Detect and warn
- Ensure updates don't break
4. Configuration Templates
Generate config for common structures:
# Generate configuration template
/docs:organize --generate-config divio
/docs:organize --generate-config microsoft
/docs:organize --generate-config api-first
Creates .docs-organize.yml with sensible defaults for chosen structure.
Safety Measures
- Backup Branch - Always create backup before moves
- Git MV - Preserve file history
- Link Validation - Verify links before and after
- Rollback Option - Easy to revert
- Progress Tracking - Can resume if interrupted
- Dry Run Default - Must explicitly apply
- Configuration Validation - Check YAML syntax before running
- Confirmation Required - Type "YES I UNDERSTAND" to proceed
Integration with Workflow
β
Complements /planning:sync:
/planning:syncdetects scattered docs β suggests/docs:organize/docs:organizefixes organization β keeps planning docs synced
β Context-File Alignment (AGENTS.md):
- "Clarify Before Acting" - Multiple confirmation points
- Read-only by default - Zero risk without --apply
- Evidence-based suggestions - Shows reasoning for each categorization
- Respects existing structure - Preserves intentional organization
β Best Practices:
- Run after major documentation additions
- Use before public releases for professional appearance
- Integrate into CI/CD for documentation linting
- Generate config and commit for team consistency
Usage Examples
# Dry run with auto-detection (safe, read-only analysis)
/docs:organize
# Dry run with specific config
/docs:organize --config .docs-organize.yml
# Generate configuration template
/docs:organize --generate-config divio
# Apply reorganization (with confirmation)
/docs:organize --apply
# Apply with backup (recommended)
/docs:organize --apply --backup
# Apply without backup (use with caution)
/docs:organize --apply --no-backup
# Try different structure type
/docs:organize --structure microsoft --dry-run
# Export report without applying
/docs:organize --export docs-plan.md
Error Handling
Common scenarios:
- Not a git repo: Warns, offers to continue without git mv
- Uncommitted changes: Warns, suggests commit first
- Conflicts detected: Shows conflicts, offers resolutions
- Broken links: Lists broken links, suggests fixes
- Permission errors: Reports issues, provides solutions
- Invalid YAML config: Shows syntax errors, line numbers
- Low confidence categorization: Flags for manual review
Comparison: v1 vs v2
| Feature | v1 (Original) | v2 (General Abstraction) |
|---|---|---|
| Structure | Hard-coded (guides/references/planning) | Configurable + Auto-detect |
| Project Types | Tutorial/docs-heavy only | 5+ structure types supported |
| Configuration | None | YAML config + templates |
| Categorization | Keyword-only | Weighted scoring system |
| Keep-in-root | Hard-coded list | Configurable regex patterns |
| Detection | None | Auto-detect project type |
| Flexibility | Low | High (custom categories) |
| Safe for any repo | Mostly (but opinionated) | Yes (adapts to project) |
Alhamdulillah! This v2 command brings intelligent, flexible organization to any documentation repository, adapting to your project's needs while maintaining safety and clarity. InshaAllah, it will help you maintain excellent documentation organization across diverse project types! πβ¨
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.