| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A powerful Claude Code skill that helps users quickly generate, configure, and manage Docsify documentation projects with built-in version management to prevent breaking changes.
This skill provides an easy way to:
Ensure Node.js and docsify-cli are installed on your system:
# Install Node.js from https://nodejs.org/ (v12 or higher)
# Install docsify-cli globally
npm install -g docsify-cli@4# With stable v4 (recommended)
/docsify init --name my-docs --version @4
# Or with latest v5
/docsify init --name my-docs --version @5/docsify serveVisit http://localhost:3000 in your browser to see your documentation!
| Command | Purpose |
|---|---|
| /docsify init | Initialize a new Docsify project with default structure |
| /docsify generate | Generate documentation from source code and Markdown files |
| /docsify serve | Start local development server for preview |
For detailed command documentation, options, and examples, see .claude/skills/docsify.md
docsify-skill/ ├── README.md # This file └── SKILL.md # Main skill definition with command details
This skill helps you avoid breaking changes by supporting specific major versions:
# Install stable v4 (recommended for existing projects)
/docsify install-deps --version @4
# Install latest v5 (new features, possible breaking changes)
/docsify install-deps --version @5
# Initialize with specific version
/docsify init --name my-docs --version @4
# Install exact version
/docsify install-deps --version @4.13.1Before using this skill, ensure you have:
Node.js (v12 or higher)
npm (comes with Node.js)
docsify-cli
npm install -g docsify-cli@4 # Or @5 for latestFor detailed installation instructions, see the "Prerequisites & Installation" section in SKILL.md
# 1. Initialize project with v4
/docsify init --name my-docs --version @4
# 2. Preview locally
/docsify serve
# 3. Edit markdown files in my-docs/docs/
# 4. Commit and deploy docs folder to hosting# 1. Initialize project
/docsify init --name api-docs --version @4
# 2. Generate docs from source code
/docsify generate --source ./src --output ./api-docs/docs
# 3. Preview locally
/docsify serve
# 4. Deploy docs folder# 1. Check current version
npm list docsify-cli
# 2. Install new version globally
npm install -g docsify-cli@5
# 3. Test with serve command
/docsify serve
# 4. If successful, commit changes. If issues, rollback to @4
npm install -g docsify-cli@4# Make sure docsify-cli is installed globally
npm install -g docsify-cli@4
# Verify installation
docsify --version# Check installed version
npm list -g docsify-cli
# Reinstall specific version
npm install -g docsify-cli@4# Use different port
/docsify serve --port 3001# Create stable documentation site
/docsify init --name api-docs --version @4
cd api-docs
/docsify serve
# Then edit files in the docs/ folder and reload browser# Initialize project
/docsify init --name technical-docs --version @4
# Generate docs from source code
/docsify generate --source ./my-project/src --output ./technical-docs/docs
# Preview
/docsify serve# 1. Initialize
/docsify init --name my-project-docs --version @4
# 2. Generate from source code
/docsify generate --source ./src --output ./my-project-docs/docs
# 3. Preview locally
/docsify serve
# 4. Edit markdown files in my-project-docs/docs/
# 5. Deploy my-project-docs folder to GitHub Pages, Netlify, or VercelTo extend or modify this skill:
This skill is provided as-is for use with Claude Code Skill. LICENSE
For issues or questions:
Happy documenting! 📚
| Back | FazBrowse Home | New Git URL |