documentation-1-docs-as-code

Sub-skill of documentation: 1. Docs as Code (+1).

5 stars

Best use case

documentation-1-docs-as-code is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Sub-skill of documentation: 1. Docs as Code (+1).

Teams using documentation-1-docs-as-code should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/1-docs-as-code/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/_archive/development/documentation/documentation/1-docs-as-code/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/1-docs-as-code/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How documentation-1-docs-as-code Compares

Feature / Agentdocumentation-1-docs-as-codeStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Sub-skill of documentation: 1. Docs as Code (+1).

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# 1. Docs as Code (+1)

## 1. Docs as Code

```yaml
# .github/workflows/docs.yml
name: Documentation
on:
  push:
    branches: [main]
    paths: ['docs/**']

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: pip install mkdocs-material
      - run: mkdocs build
      - uses: peaceiris/actions-gh-pages@v3
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          publish_dir: ./site
```


## 2. Consistent Structure

```bash
# Documentation template
create_doc_template() {
    local name="$1"
    cat > "docs/$name.md" << 'EOF'
# Title

Related Skills

documentation-contract-plan-hardening

5
from vamseeachanta/workspace-hub

Harden a documentation/contract plan before adversarial review by mapping every issue-scope requirement to independent acceptance criteria and tests, especially for routing/indexing contracts.

bulk-docstring-addition

5
from vamseeachanta/workspace-hub

Add Google-style docstrings to all public functions and classes in a Python package. Uses AST parsing for precise gap detection, priority ranking by coverage ratio, and multi-file patching.

docs-stale-reference-guardrails

5
from vamseeachanta/workspace-hub

Prevent deleted workflow/path references from creeping back into live docs by combining strict scans, legacy allowlists, and shared regex helpers.

office-docs

5
from vamseeachanta/workspace-hub

Automate Microsoft Office and PDF document workflows including generation, manipulation, and template-based document processing.

modular-architecture-documentation

5
from vamseeachanta/workspace-hub

Systematically document multi-module system architectures including module boundaries, CLI commands, and architecture decisions.

mkdocs-with-title

5
from vamseeachanta/workspace-hub

Sub-skill of mkdocs: With Title.

mkdocs-warning

5
from vamseeachanta/workspace-hub

MkDocs warning admonition syntax. Use when alerting readers to potential issues or cautions in MkDocs documentation.

mkdocs-tip

5
from vamseeachanta/workspace-hub

MkDocs tip admonition syntax. Use when adding best-practice suggestions or pro tips to MkDocs documentation.

mkdocs-tabbed-code-blocks

5
from vamseeachanta/workspace-hub

Sub-skill of mkdocs: Tabbed Code Blocks.

mkdocs-success

5
from vamseeachanta/workspace-hub

MkDocs success admonition syntax. Use when indicating completed actions or successful outcomes in MkDocs documentation.

mkdocs-subsection-11

5
from vamseeachanta/workspace-hub

Sub-skill of mkdocs: Subsection 1.1.

mkdocs-state-diagram

5
from vamseeachanta/workspace-hub

Sub-skill of mkdocs: State Diagram.