SpillwaveSolutions/document-specialist-skill / skills/documentation-specialist
documentation-specialist
VerifiedThis skill should be used when creating professional software documentation (SRS, PRD, OpenAPI, SDD, architecture docs, user manuals, tutorials, runbooks) from templates (greenfield) or reverse-engineering documentation from existing code like Spring Boot or FastAPI (brownfield). Also handles documentation audits/reviews, format conversion (Markdown, DOCX, PDF), and diagram generation (Mermaid first: C4, sequence, class, ER, state, flowchart; PlantUML Salt for UI wireframes and leftover UML). Use when asked to "create documentation", "document my code", "write SRS", "generate PRD", "write DESIGN_DOC.md", "architecture document", "wireframe", or "documentation specialist".
references/reference/09-code-to-docs-detection.md
View on GitHub# Code-to-Docs: Framework Detection Patterns
---
TOKEN_BUDGET: 200
TIER: 3
LOAD_TRIGGER: On-demand when detecting technology stack for brownfield documentation
DEPENDENCIES: 09-code-to-docs-when.md
---
## 9.2 Framework Detection Patterns
### Backend Frameworks
**Spring Boot:**
- **Files**: `pom.xml` or `build.gradle`
- **Annotations**: `@SpringBootApplication`, `@RestController`, `@Service`
- **Grep patterns**: `import org.springframework`
**FastAPI:**
- **Files**: `requirements.txt` with `fastapi`, `main.py` or `app.py`
- **Patterns**: `app = FastAPI()`, `@app.get()`, `@app.post()`
- **Grep patterns**: `from fastapi import`
**Express.js:**
- **Files**: `package.json` with `"express"`
- **Patterns**: `const express = require('express')`, `app.listen()`
- **Grep patterns**: `require('express')` or `import express`
**Django:**
- **Files**: `manage.py`, `settings.py`, `requirements.txt` with `Django`
- **Patterns**: `django.conf`, `urls.py`, `views.py`
- **Grep patterns**: `from django`
**Flask:**
- **Files**: `requirements.txt` with `Flask`, `app.py`
- **Patterns**: `from flask import Flask`, `app = Flask(__name__)`
- **Grep patterns**: `from flask import`
---
### Infrastructure as Code
**Pulumi:**
- **Files**: `Pulumi.yaml`, `__main__.py` or `index.ts`
- **Patterns**: `import pulumi`, resource declarations
- **Grep patterns**: `pulumi.aws`, `pulumi.gcp`
**Terraform:**
- **Files**: `*.tf`, `terraform.tfstate`
- **Patterns**: `resource "aws_*"`, `provider "aws"`
- **Grep patterns**: `resource "`
**AWS CDK:**
- **Files**: `cdk.json`, `package.json` with `aws-cdk`
- **Patterns**: `new cdk.Stack`, `cdk deploy`
- **Grep patterns**: `import * as cdk`
---
### Frontend Frameworks
**React:**
- **Files**: `package.json` with `"react"`
- **Patterns**: `import React`, `function Component()`, JSX syntax
- **Grep patterns**: `from 'react'`
**Next.js:**
- **Files**: `next.config.js`, `pages/` directory
- **Patterns**: `export default function Page()`, `getServerSideProps`
- **Grep patterns**: `from 'next`
**Vue.js:**
- **Files**: `package.json` with `"vue"`
- **Patterns**: `<template>`, `<script>`, `.vue` files
- **Grep patterns**: `from 'vue'`
---
### Detection Algorithm
1. **Scan for detection files** (Glob):
```
pom.xml, build.gradle, requirements.txt, package.json, Pulumi.yaml
```
2. **Confirm framework patterns** (Grep):
```
@SpringBootApplication, from fastapi import, const express
```
3. **Load framework-specific mapping**:
```
mappings/backend/spring-boot-mapping.yaml
```
---
**End of Framework Detection Patterns Guide**
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |