doc-generation
Skill1 starsChanged 9 months agoApache-2.0View on GitHub
Generate OpenAPI specs, GraphQL docs, architecture diagrams (Mermaid/C4), README scaffolding, and automate changelogs from code and commit history.
- Installs packages
2 other projects use a version of this.
Adopted by
Most recently taken up by
- qunyou-agent/finance-skillstheir own version, first seen Jul 6, 2026
- LisonEvf/finance-skillstheir own version, first seen May 15, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- qunyou-agent/finance-skills★ 4same name
- LisonEvf/finance-skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository73 other files it gives its agents.
- accessibility-wcagSkill
- api-designSkill
- api-testingSkill
- asset-optimizationSkill
- audio-systemsSkill
- aws-essentialsSkill
- ci-cd-pipelinesSkill
- codebase-analysisSkill
- code-reviewerSkill
- container-securitySkill
- cost-optimizationSkill
- database-designSkill
- data-visualizationSkill
- docker-kubernetesSkill
- docxSkill
- email-notificationsSkill
- env-configSkill
- flutter-mobileSkill
- framer-motionSkill
- frontend-code-reviewSkill
- frontend-designSkill
- fullstack-developerSkill
- game-enginesSkill
- gameplay-designSkill
- game-programming-languagesSkill
- game-serversSkill
- git-workflowSkill
- godot-4Skill
- golang-proSkill
- go-linter-configurationSkill
- graphics-renderingSkill
- i18n-localizationSkill
- incident-responseSkill
- level-designSkill
- llm-integrationSkill
- local-securitySkill
- memory-managementSkill
- monetization-systemsSkill
- monitoring-observabilitySkill
- multiplayer-netcodeSkill
- nextjs-16Skill
- notebooklm-researchSkill
- npm-packageSkill
- oauth-authSkill
- particle-systemsSkill
- performance-optimizationSkill
- playwright-testingSkill
- postgres-advancedSkill
- programming-architectureSkill
- project-migrationSkill
- publishing-platformsSkill
- python-best-practicesSkill
- react-nativeSkill
- redis-patternsSkill
- refactoring-patternsSkill
- remotion-best-practicesSkill
- rust-best-practicesSkill
- scraping-automationSkill
- security-reviewSkill
- seo-metaSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 8 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Follow this workflow for every API documentation task.
- Distinctive: line 13
Add annotations to every endpoint with summary, description, tags, examples
- Distinctive: line 16
Verify all endpoints have descriptions and response examples
- Very specific: line 97
Create .spectral.yaml at project root:
- Distinctive: line 107
Follow these steps when generating a README for any project.
- Very specific: line 109
Read package.json, go.mod, or pyproject.toml to extract name, version, description
- Distinctive: line 112
Check for Docker/compose files to include container instructions
- Distinctive: line 174
Follow this workflow when setting up automated changelogs.
- Distinctive: line 179
Add CI workflow for automated releases
- Distinctive: line 241
Use Mermaid for all inline documentation diagrams.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Act as a documentation engineer. Generate specs from annotated code, scaffold READMEs from project structure, automate changelogs from commits, and produce Mermaid diagrams that render natively on GitHub.
OpenAPI Spec Generation
Follow this workflow for every API documentation task.
- Identify the framework (tsoa, swaggo, FastAPI, NestJS)
- Add annotations to every endpoint with summary, description, tags, examples
- Generate the spec file
- Lint with Spectral
- Verify all endpoints have descriptions and response examples
BAD, missing descriptions and examples:
paths:
/users/{id}:
get:
summary: Get userGOOD, complete documentation:
paths:
/users/{id}:
get:
summary: Get user by ID
description: |
Retrieves detailed user information including profile data,
preferences, and account status.
tags: [users]
parameters:
- name: id
in: path
required: true
schema:
type: integer
example: 42
responses:
'200':
description: User found
content:
application/json:
example:
id: 42
name: "John Doe"
email: "john@example.com"TypeScript (tsoa)
@Route('users')
export class UserController extends Controller {
/**
* Retrieves a user by ID
* @param userId The user's unique identifier
*/
@Get('{userId}')
public async getUser(@Path() userId: number): Promise<User> {
return { id: userId, name: 'John', email: 'john@example.com' };
}
}npx tsoa spec # outputs swagger.jsonGo (swaggo)
// @Summary Get user by ID
// @Description Retrieves user information
// @Tags users
// @Produce json
// @Param id path int true "User ID"
// @Success 200 {object} User
// @Router /users/{id} [get]
func getUser(c *gin.Context) {}swag init # outputs docs/swagger.jsonLint Every Spec
spectral lint openapi.yamlCreate .spectral.yaml at project root:
extends: ["spectral:oas"]
rules:
operation-description: error
operation-tags: errorREADME Scaffolding
Follow these steps when generating a README for any project.
- Read
package.json,go.mod, orpyproject.tomlto extract name, version, description - Scan for CI config (
.github/workflows/) to generate badge URLs - Scan for a LICENSE file to determine license type
- Check for Docker/compose files to include container instructions
- Output the README using this structure:
# Project Name
[](https://github.com/user/repo/actions)
[](LICENSE)
> One-sentence description extracted from package manifest.
## Quick Start
\```bash
git clone https://github.com/user/repo.git
cd repo
npm install && npm start
\```
## Configuration
| Variable | Required | Description |
|----------|----------|-------------|
| `DATABASE_URL` | Yes | PostgreSQL connection string |
| `JWT_SECRET` | Yes | Secret for signing tokens |
## Architecture
\```mermaid
flowchart TD
A[Client] --> B[API Gateway]
B --> C[Service]
C --> D[(Database)]
\```
## License
MITBAD, no badges, no env table, no architecture:
# My App
Install it and run it.GOOD, scannable, complete, machine-parseable env config:
# My App
[](actions-url)
> Description from package.json
## Quick Start
...install steps...
## Configuration
| Variable | Required | Description |
...table rows...Changelog Automation
Follow this workflow when setting up automated changelogs.
- Enforce Conventional Commits format in the project
- Choose a generator:
standard-version(manual) or Release Please (CI) - Configure and run first release
- Add CI workflow for automated releases
Conventional Commits Format
type(scope): subject
feat(auth): add JWT refresh token support
fix(api): prevent race condition in user creation
docs: update API authentication guideGenerate with standard-version
npm install -D standard-version
npx standard-version --first-release # first time
npx standard-version # subsequentAutomate with Release Please
# .github/workflows/release.yml
name: Release
on:
push:
branches: [main]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: google-github-actions/release-please-action@v3
with:
release-type: node
package-name: my-packageBAD, manual changelog with inconsistent format:
## Changes
- added login
- fixed stuff
- updated depsGOOD, generated from conventional commits:
## [1.2.0](compare-url) (2024-02-14)
### Features
* **auth:** add JWT refresh token support ([abc123](commit-url))
### Bug Fixes
* **api:** prevent race condition in user creation ([def456](commit-url))Mermaid Diagrams
Use Mermaid for all inline documentation diagrams. It renders natively on GitHub and GitLab.
Sequence Diagram (API flows)
sequenceDiagram
participant User
participant API
participant Auth
participant DB
User->>API: POST /login
API->>Auth: Validate credentials
Auth->>DB: Query user
DB-->>Auth: User data
Auth-->>API: JWT token
API-->>User: 200 + Set-CookieER Diagram (data models)
erDiagram
USER ||--o{ ORDER : places
USER {
int id PK
string email UK
string name
}
ORDER ||--|{ ORDER_ITEM : contains
ORDER {
int id PK
int user_id FK
datetime created_at
}Export to Static Images
npm install -g @mermaid-js/mermaid-cli
mmdc -i diagram.mmd -o diagram.svg
mmdc -i diagram.mmd -o diagram.png -b transparentBAD, ASCII art or external image with no source:
## Architecture
GOOD, Mermaid source inline, renders on GitHub, versionable:
## Architecture
```mermaid
flowchart TD
A[Client] --> B[API]
B --> C[(DB)]
```Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

