Back to list
spjoshis

docs-as-code

by spjoshis

Modular Claude plugins for agent-based expertise and reusable skills across software development and Agile. Easily extend, share, and automate best practices for modern development.

1🍴 0📅 Dec 30, 2025

SKILL.md


name: docs-as-code description: Master docs-as-code with Git workflows, Markdown, static site generators, and automated publishing pipelines.

Docs-as-Code

Implement docs-as-code workflows using version control, Markdown, and automated publishing for scalable documentation.

When to Use This Skill

  • Developer documentation
  • Version-controlled docs
  • Collaborative writing
  • Automated publishing
  • Multi-version docs
  • Technical documentation
  • API references
  • Open source projects

Core Concepts

1. Docs-as-Code Workflow

Write (Markdown) → Commit (Git) → Review (PR) → Build (CI) → Deploy (Static Site)

2. MkDocs Project Structure

my-docs/
├── mkdocs.yml          # Configuration
├── docs/
│   ├── index.md        # Home page
│   ├── getting-started.md
│   ├── api/
│   │   ├── overview.md
│   │   └── reference.md
│   └── guides/
│       ├── authentication.md
│       └── deployment.md
└── .github/
    └── workflows/
        └── deploy-docs.yml  # CI/CD

3. mkdocs.yml Configuration

site_name: My Documentation
site_url: https://docs.example.com
theme:
  name: material
  features:
    - navigation.tabs
    - search.highlight
nav:
  - Home: index.md
  - Getting Started: getting-started.md
  - API:
    - Overview: api/overview.md
    - Reference: api/reference.md
  - Guides:
    - Authentication: guides/authentication.md
    - Deployment: guides/deployment.md
plugins:
  - search
  - git-revision-date
markdown_extensions:
  - pymdownx.highlight
  - pymdownx.superfences
  - admonition

4. GitHub Actions Deployment

name: Deploy Docs

on:
  push:
    branches: [main]

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      
      - name: Setup Python
        uses: actions/setup-python@v4
        with:
          python-version: 3.x
          
      - name: Install dependencies
        run: pip install mkdocs-material
        
      - name: Deploy
        run: mkdocs gh-deploy --force

Best Practices

  1. Use Git - Version control for all docs
  2. Markdown first - Simple, portable format
  3. Review process - Pull requests for changes
  4. Automate builds - CI/CD pipelines
  5. Test locally - Preview before publishing
  6. Semantic versioning - Version your docs
  7. Search enabled - Make content findable
  8. Link checking - Validate links regularly

Resources

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新

+5
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

0/5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon