← ClaudeAtlas

prompt-maintenancelisted

Maintain prompt templates with dependency tracking, documentation, and validation. Use when auditing prompts, generating catalog, or checking template structure.
parisgroup-ai/imersao-ia-setup · ★ 1 · AI & Automation · score 80
Install: claude install-skill parisgroup-ai/imersao-ia-setup
# Prompt Maintenance Manages prompt template health across the project. ## Commands ### `/prompt-maintenance audit` Full analysis of all configured sources. **Process:** 1. Load `.prompt-maintenance.json` from project root 2. For each source: - Scan files matching pattern - Parse headers and extract metadata - Build dependency graph from `{% include %}` statements - **Scan Python files for direct template references** (PromptLoader, get_template) - Validate against rules in `references/validation-rules.md` 3. Report errors and warnings 4. Show statistics **Output Format:** ``` prompt-maintenance audit Scanning apps/ana-service/app/templates/... ✓ 68 templates analyzed ✓ 156 dependencies mapped ERRORS (N): ✗ path/file.jinja2:line - Error description WARNINGS (N): ⚠ path/file.jinja2 - Warning description Stats: By domain: lesson (12), brainstorm (8), _shared (4), ... Orphans: 2 templates not referenced Run '/prompt-maintenance sync' to update catalog. ``` ### `/prompt-maintenance sync` Regenerate documentation artifacts. **Process:** 1. Run full audit (silent mode) 2. Generate `prompts.json` for each source 3. Generate individual catalog per source 4. Generate combined `catalog.md` with Mermaid graph 5. Report files updated **Output Format:** ``` prompt-maintenance sync Scanning sources... ✓ ana-service: 68 templates Generated: ✓ apps/ana-service/prompts.json ✓ docs/prompts/ana-service.md ✓ docs/prompts/catalog.md Done. ``` ### `