# Docs Structure Maintainer

> Docs Structure Maintainer is an Agent Skill for documents published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Understand and maintain HuleEdu documentation and task documentation structure. Guides placement, naming, and validation using the canonical specs and management scripts.

- Skill name: `docs-structure-maintainer`
- Category: [Documents](https://www.openparable.com/skill/documents/1)
- Source: https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/documents/docs-structure-maintainer/SKILL.md
- Repository: majiayu000/claude-skill-registry (498 GitHub stars when collected)

## SKILL.md

# Documentation Structure Maintainer

Compact skill for reasoning about HuleEdu documentation layout and TASKS structure, and for invoking the right scripts to keep them compliant.

## When to Use

Activate when the user:
- Creates, moves, or renames documentation under `documentation/` or `TASKS/`
- Asks where a doc should live (operations vs decisions vs how-to vs tasks)
- Wants to validate or migrate documentation structure
- Mentions `validate_docs_structure.py`, `migrate_docs_structure.py`, `task_mgmt`, or doc/TASKS specs

## Core Capabilities

- Classify content type and map it to the correct directory:
  - `documentation/overview|architecture|services|operations|how-to|reference|decisions|product|research`
  - `TASKS/` domain taxonomy: `programs/`, `assessment/`, `content/`, `identity/`, `frontend/`, `infrastructure/`, `security/`, `integrations/`, `architecture/`, `archive/`
- Suggest compliant filenames and directory names (kebab-case, no spaces; id-based filenames in `TASKS/`)
- Ensure required frontmatter for:
  - Runbooks and ADRs (per `documentation/DOCS_STRUCTURE_SPEC.md`)
  - Task and programme docs (per canonical TASKS spec)
- Propose concrete commands for:
  - `python scripts/docs_mgmt/validate_docs_structure.py [--strict]`
  - `python scripts/docs_mgmt/migrate_docs_structure.py ...`
  - `python scripts/task_mgmt/new_task.py ...`
  - `python scripts/task_mgmt/validate_front_matter.py ...`
  - `python scripts/task_mgmt/index_tasks.py ...`

## Quick Workflow

1. Identify doc intent (architecture, runbook, ADR, how-to, product, task, programme).
2. Map to the correct directory using `DOCS_STRUCTURE_SPEC.md` and the TASKS structure spec.
3. Choose or normalize filename and directory name to match naming rules.
4. Ensure or suggest correct frontmatter for the doc type.
5. Recommend validation/migration commands using `scripts/docs_mgmt` and `scripts/task_mgmt`.

## Reference Documentation

- **Detailed Workflows & Patterns**: See `reference.md` in this directory
- **Real-World Usage Examples**: See `examples.md` in this directory
- **Normative Rules**: `.claude/rules/090-documentation-standards.md`

---

Source: https://www.openparable.com/skill/documents/docs-structure-maintainer (OpenParable). Cite the canonical URL above.
