Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

wiki-docs

БесплатноБез исполняемых скриптовНе проверен

Document custom Magento 2 site functionality in the project wiki. Systematically captures custom features, modules, configurations, and business logic for…

ProxiBlueот ProxiBlue★ 17 звёзд на GitHub16 установок в других каталогах

Об этом скилле

Wiki Documentation Skill

Overview

This skill provides a systematic approach to documenting custom Magento 2 site functionality in the project's GitHub wiki. It ensures custom features, modules, configurations, and business logic are properly documented for client handover, developer onboarding, and long-term maintenance.

When to Use This Skill

  • After implementing a new custom feature or module
  • After completing a significant refactoring or migration
  • When discovering undocumented functionality
  • During client handover or project transitions
  • When onboarding new developers to the project
  • After resolving complex issues that reveal important system behavior
  • When documenting third-party module customizations

Wiki Location and Access

Wiki Directory Structure

The wiki is located at the project root in a directory with the pattern:

<project_name>.wiki/

For this project:

  • Wiki Directory: m2_ntotank.wiki/
  • Git Remote: [email protected]:uptactics/m2_ntotank.wiki.git

For other Magento 2 projects, determine wiki location:

# Find wiki directory
find . -maxdepth 1 -type d -name "*.wiki"

# Or check CLAUDE.md for wiki configuration
grep -i "wiki" CLAUDE.md

Wiki Git Workflow

The wiki is a separate git repository (GitHub Wiki standard):

# Navigate to wiki directory
cd <project_name>.wiki/

# Check status
git status

# Pull latest changes before editing
git pull origin master

# After making changes
git add .
git commit -m "docs: <description of changes>"
git push origin master

# Return to main project
cd ..

Documentation Workflow

Step 1: Identify What Needs Documentation

Ask yourself:

  • Is this custom functionality?
  • Will clients or future developers need to understand this?
  • Does this involve custom business logic?
  • Are there non-obvious configuration requirements?
  • Is this different from standard Magento behavior?

Trigger events for documentation:

  • ✅ Created a new custom module
  • ✅ Modified or extended third-party module behavior
  • ✅ Implemented custom business logic
  • ✅ Added custom product attributes with specific purposes
  • ✅ Created custom admin configurations
  • ✅ Implemented custom APIs or integrations
  • ✅ Added custom frontend features (calculators, widgets, etc.)
  • ✅ Completed data migration with custom scripts
  • ✅ Applied non-standard Magento configurations

Skip documentation for:

  • ❌ Standard Magento functionality (already documented in Magento docs)
  • ❌ Third-party modules without customization (vendor should document)
  • ❌ Trivial bug fixes with no behavioral changes
  • ❌ Temporary development utilities

Step 2: Determine Documentation Type

A. Feature/Module Documentation

For custom modules and features:

  • What it does (purpose)
  • How it works (high-level architecture)
  • How to use it (admin/frontend)
  • Configuration options
  • Dependencies
  • Known limitations

Example topics:

  • "Grouping Related Products"
  • "Custom Shipping Calculator"
  • "Product Data ViewModels"

B. Configuration Documentation

For custom configurations:

  • What the configuration controls
  • Where to find it (admin path)
  • Valid values and their effects
  • Dependencies on other settings
  • Default values

Example topics:

  • "Custom Product Attributes"
  • "Third-Party Service Integrations"
  • "Custom Admin Grids"

C. Process Documentation

For workflows and procedures:

  • When to perform the process
  • Step-by-step instructions
  • Prerequisites
  • Expected outcomes
  • Troubleshooting common issues

Example topics:

  • "Data Migration Process"
  • "Deployment Workflow"
  • "Cache Management Strategy"

D. Troubleshooting Documentation

For known issues and solutions:

  • Problem description
  • Root cause
  • Solution or workaround
  • Prevention strategies

Example topics:

  • "Missing Products in Categories"
  • "ElasticSuite Reindex Issues"

Step 3: Choose or Create Wiki Page

Existing Pages

Check for existing pages:

cd <project_name>.wiki/
ls -la *.md

Common wiki pages:

  • Home.md - Wiki home page with index
  • Magento-2-Site-Docs.md - General site documentation
  • Data-Migration.md - Migration-specific docs
  • Feature-specific pages (e.g., Grouping-Related-Products.md)

Update existing page if:

  • The topic fits naturally into an existing page
  • The page is a general reference (like Magento-2-Site-Docs.md)
  • You're adding to or correcting existing documentation

New Pages

Create new page if:

  • The topic is substantial enough to warrant its own page
  • The feature/module is complex or has multiple aspects
  • The documentation will be frequently referenced independently

Naming convention for new pages:

  • Use PascalCase with hyphens (GitHub Wiki standard)
  • Be descriptive and specific
  • Examples:
    • Custom-Shipping-Calculator.md
    • Hyva-Theme-Customizations.md
    • Product-ViewModels.md

Step 4: Write the Documentation

Documentation Template fo

Полный SKILL.md на GitHub

Установить wiki-docs в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл wiki-docs?

Document custom Magento 2 site functionality in the project wiki. Systematically captures custom features, modules, configurations, and business logic for client handover and developer onboarding.

Как установить скилл wiki-docs?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл wiki-docs запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить wiki-docs с