Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

readmeREADME 控制

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

442

周安装

19

GitHub Stars

3

下载量

155
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:readme(README 控制)
来源仓库:https://github.com/dedalus-erp-pas/foundation-skills
仓库路径:skills/readme
安装命令:
npx skills add https://github.com/dedalus-erp-pas/foundation-skills --skill readme
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/dedalus-erp-pas/foundation-skills --skill readme

简介

readme 生成或更新面向产品负责人的法语 README,配 Mermaid 图表提升可读性。

  • 同步审查 docs/ 目录下所有技术文档,自动生成 CLAUDE.md 和 AGENT.md 辅助开发。
  • 适用于项目初始化、重大变更后更新或新成员 onboarding 时的文档梳理需求。
  • 应保留已有事实和命令,避免虚构未确认的信息,对外文案需控制语气防夸大。
  • readme 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

README Generator

Generates (or updates) a README.md oriented Product Owner, written in French, concise and illustrated with Mermaid diagrams. Reviews and improves all technical documentation in the docs/ directory. Also generates CLAUDE.md and AGENT.md if they don't exist.


When to Use

  • No README.md exists at the project root
  • The existing README.md is outdated after major changes
  • After a significant feature addition or architectural change
  • Onboarding a Product Owner or new stakeholder on the project

The Job

Step 1: Explore the Codebase

Thoroughly explore the project to understand its purpose, architecture, and tech stack:

  • Package manifest: Read package.json, composer.json, pyproject.toml, Cargo.toml, or equivalent at root and in sub-packages (monorepo)
  • Project structure: List top-level directories and key files to understand the architecture
  • Documentation: Check for docs/ directory. Read the first 20-30 lines of each .md file in docs/ to deduce a short French description (one line) for each — this will be used in the Table of Contents
  • CI/CD: Look for .github/workflows/, .gitlab-ci.yml, Jenkinsfile, Dockerfile, docker-compose.yml
  • Database: Look for migrations, schemas, Prisma/TypeORM/Sequelize config
  • Routes/Controllers: Scan for route definitions, API endpoints, controllers
  • Git info: Run git log --oneline -10 and git remote -v to understand recent activity and hosting
  • Environment: Look for .env.example, environment configuration files

Step 2: Create or Update

  • Check if README.md exists at the project root
  • If it does NOT exist: Create it from scratch using the template below
  • If it DOES exist: Read the existing content, update factual sections (stack, architecture, features), and preserve any custom sections added by the team

Step 3: Generate the Content

Follow the template defined in the "README Template" section below. All content must be in French, following the writing guidelines.

Step 4: Write the File

Save README.md at the project root.

Step 5: Generate CLAUDE.md and AGENT.md

Only if these files do NOT exist at the project root. If they already exist, do not touch them.

  • CLAUDE.md — Generate instructions for Claude Code based on codebase exploration (see dedicated section below)
  • AGENT.md — Generate instructions for autonomous AI agents based on codebase exploration (see dedicated section below)

Step 6: Review Technical Documentation

Review every .md file in the docs/ directory and propose improvements following the Documentation Quality Rules defined below.

For each file:

  1. Read the entire file
  2. Evaluate against each rule in the Documentation Quality Rules section
  3. Propose concrete improvements — rewrite sections that violate the rules
  4. Apply changes directly to the files
  5. Report a summary of changes per file to the user

Do NOT delete or remove existing documentation files. Only improve their content.

Step 7: Identify Missing Documentation

Cross-reference the codebase exploration (Step 1) with the existing docs/ files to detect critical or important features that are not documented.

  1. Inventory documented topics — List what each docs/*.md file covers
  2. Inventory codebase features — From Step 1, list key features, modules, APIs, integrations, workflows, and architectural decisions found in the code
  3. Gap analysis — Compare the two lists. Flag any feature that is:

- Used in production code but has no corresponding documentation - A core business workflow (e.g., authentication, data pipeline, external integrations) - An architectural decision that would confuse a new team member without context - A complex module with non-obvious behavior

  1. Propose new documentation files — For each gap, present to the user:

- Suggested file name (e.g., docs/authentication-flow.md) - One-line description of what it would cover - Priority: Critique (blocks understanding of the system) or Important (significantly helps onboarding)

  1. Ask the user which proposed files to create
  2. Generate approved files following the Documentation Quality Rules — in French, concise, PO-oriented, with Mermaid diagrams where useful

Step 8: Confirm

Summarize to the user what was done:

  • Which files were created vs. updated
  • Key sections included
  • Any information that could not be determined and was left as placeholder
  • Documentation review: list of docs/ files reviewed with a one-line summary of improvements applied per file
  • Missing documentation: list of new doc files proposed, which were approved and created

README Template

The generated README.md must follow this structure:

# [Project Name]

Short description (1-2 sentences, non-technical). Explain what the product does and who it's for.

## Table des matières

Auto-generated table of contents listing all README sections with anchor links. Include a sub-section for technical documentation:

## Table des matières

- [À quoi sert ce produit ?](#à-quoi-sert-ce-produit-)
- [Fonctionnalités principales](#fonctionnalités-principales)
- [Comment ça fonctionne](#comment-ça-fonctionne)
- [Environnements](#environnements)
- [Déploiement](#déploiement)
- [Stack technique](#stack-technique)
- [Documentation complémentaire](#documentation-complémentaire)

### Documentation technique

| Document | Description |
|----------|-------------|
| [Architecture REST & WebSocket](docs/REST-WebSocket-Architecture.md) | Description de l'architecture API |
| [Schéma de base de données](docs/database-schema.md) | Structure des tables et relations |

Important: The description for each doc file must be deduced from actually reading the file content (Step 1), not invented.

## À quoi sert ce produit?

Business value explanation. 3-5 bullet points describing what the product enables, from the user's perspective.

## Fonctionnalités principales

List of features oriented toward user benefit. Use bullet points. Focus on what the user can do, not how it's implemented.

## Comment ça fonctionne

High-level architecture diagram using Mermaid graph LR or graph TD, followed by a short textual explanation.

graph LR A[Utilisateur] --> B[Application Web] B --> C[API Backend] C --> D[Base de données] C --> E[Services externes] `

L'utilisateur interagit avec l'application web, qui communique avec l'API backend. Le backend gère la logique métier et stocke les données en base.


### `## Environnements`

Table with environment information:
EnvironnementURLDescription
Développementhttp://localhost:3000Environnement local
Staginghttps://staging.example.comPré-production
Productionhttps://app.example.comEnvironnement de production

Use actual URLs if found in config, otherwise use realistic placeholders.

### `## Déploiement`

CI/CD pipeline as a Mermaid `graph LR` diagram, followed by a short explanation.

### `## Stack technique`

Categorized tech stack in 3-5 lines:
  • Frontend : React, TypeScript, TailwindCSS
  • Backend : Node.js, NestJS, TypeORM
  • Base de données : PostgreSQL
  • Hébergement : Docker, GitLab CI/CD

### `## Documentation complémentaire`

Links to `docs/` files if they exist. If no docs folder exists, omit this section.

---

## Mermaid Diagram Rules

1. **Labels in French** — All node labels and edge labels must be in French
2. **Maximum 8-10 nodes** per diagram — Keep diagrams readable and high-level
3. **Allowed types:** `graph`, `flowchart`, `sequenceDiagram`
4. **Forbidden types:** `classDiagram`, `erDiagram`, `stateDiagram` (too technical for PO audience)
5. **Textual explanation** under every diagram — The diagram alone is not enough
6. **Simple and clear** — Avoid nested subgraphs, complex conditions, or technical details

### Example Mermaid Diagram

graph LR A[Développeur] -->|Push du code| B[GitLab CI] B -->|Tests auto| C{Tests OK ?} C -->|Oui| D[Déploiement Staging] C -->|Non| E[Notification erreur] D -->|Validation manuelle| F[Déploiement Production]


Ce diagramme illustre le pipeline de déploiement continu. Lorsqu'un développeur pousse du code, les tests automatiques se lancent. Si les tests réussissent, le code est déployé en staging puis, après validation manuelle, en production.

---

## French Writing Guidelines

- **Natural and professional French**, use "vous" (vouvoiement)
- **Avoid anglicisms** except for technical terms without French equivalent (WebSocket, Docker, CI/CD, API, etc.)
- **Short sentences:** maximum 20 words per sentence
- **Bullet points preferred** over long paragraphs
- **No technical jargon** — Write for a Product Owner, not a developer
- **No code blocks** in the README (except Mermaid diagrams)
- **Acronyms explained** at first occurrence (ex: "CI/CD (Intégration et Déploiement Continus)")
- **Consistent terminology** throughout the document

---

## Documentation Quality Rules

These rules apply when reviewing and improving files in `docs/`. Each doc file must comply.

### Language

- **Written in French** — All content must be in French
- **Exception:** Technical terms without French equivalent (API, WebSocket, Docker, CI/CD, JSON, etc.) stay in English
- **Vouvoiement** — Use "vous" consistently
- **Acronyms explained** at first occurrence

### Conciseness

- **Short sentences** — Maximum 20 words per sentence
- **Bullet points over paragraphs** — Prefer structured lists to long blocks of text
- **No filler** — Remove introductions like "Dans cette section, nous allons voir..." — go straight to the point
- **One idea per paragraph** — If a paragraph covers two topics, split it

### Readability

- **Scan-friendly structure** — Use headings (H2, H3) liberally so the reader can jump to what they need
- **Bold key terms** on first mention in a section
- **Tables for comparisons** — When comparing options, features, or configurations, use a table instead of prose
- **Code examples short and focused** — Maximum 10-15 lines per code block, with a one-line comment explaining the purpose

### Audience

- **Product Owner oriented by default** — Explain the "what" and "why" before the "how"
- **Technical depth when the subject requires it** — Parsers, protocols, database schemas, API contracts can and should include technical details
- **Label technical sections clearly** — Use a heading or callout (e.g., "> **Détail technique**") so non-technical readers can skip them

### Mermaid Diagrams

- **Prefer a diagram over a long description** — If a concept involves a flow, sequence, or architecture, use Mermaid instead of (or in addition to) text
- **Follow the Mermaid Diagram Rules** defined above (French labels, max 8-10 nodes, allowed types, textual explanation below)
- **Replace verbose explanations** — If a section has 5+ lines describing a flow or architecture, consider replacing or supplementing with a diagram

### Structure

- **Every doc file must start with a H1 title** matching the file name / topic
- **A short intro paragraph** (1-2 sentences) right after the title explaining what this document covers and who it's for
- **Logical section order:** Context/Purpose → How it works → Details/Reference → Examples

---

## Create vs. Update Mode

### Creation Mode (no existing README.md)

Generate all sections from scratch based on codebase exploration.

### Update Mode (README.md already exists)

1. Read the existing README.md
2. Identify which sections match the template
3. Update factual sections (stack, architecture, features, environments) with current codebase state
4. **Preserve custom sections** that don't match the template — they may have been added manually by the team
5. Update the table of contents to reflect all sections

---

## CLAUDE.md Generation

**Only generate if `CLAUDE.md` does not exist at the project root.**

Explore the codebase to deduce and include:

- **Project overview:** One-paragraph summary of what the project is
- **Tech stack and key dependencies** with versions
- **Project structure:** Key directories and their purpose
- **Useful commands:** dev, build, test, lint, migrate, seed — with actual commands found in package.json scripts or Makefile
- **Code conventions:** Naming patterns, file structure patterns, architectural patterns observed (e.g., React hooks, service pattern, controller/route separation)
- **Git workflow:** Branch naming conventions (if observable), commit message patterns (from git log)
- **Key files and directories** that Claude should know about
- **Gotchas and important notes** specific to the project (e.g., monorepo structure, shared packages, environment variables needed)
- **Patterns to follow** when writing new code (deduced from existing code style)

---

## AGENT.md Generation

**Only generate if `AGENT.md` does not exist at the project root.**

Explore the codebase to deduce and include:

- **Project summary and objective** (2-3 sentences)
- **Monorepo structure** and dependencies between packages (if applicable)
- **Essential commands:** install, dev, build, test, migrate, seed — with actual commands
- **Code conventions to respect** when making automated changes
- **Development workflow:** Branches, commits, CI/CD pipeline
- **Important notes for automated modifications:** What to avoid, what to always do, critical files not to modify

---

## Example Output

Here is a condensed example of the expected README format:

Overwatch

Plateforme de supervision applicative permettant de surveiller la santé et les performances de vos applications en temps réel.

Table des matières

Documentation technique

DocumentDescription
Architecture APIVue d'ensemble de l'architecture REST

À quoi sert ce produit ?

  • Surveiller la disponibilité de vos applications en continu
  • Recevoir des alertes en cas de dysfonctionnement
  • Visualiser l'historique de santé via des tableaux de bord
  • Gérer les environnements de déploiement (dev, staging, production)
  • Centraliser la supervision de toutes vos applications

Fonctionnalités principales

  • Tableau de bord temps réel — Vue d'ensemble de la santé de toutes vos applications
  • Historique de santé — Graphiques et métriques sur les performances passées
  • Gestion multi-environnements — Suivi par environnement de déploiement
  • Alertes automatiques — Notification en cas de dégradation du service

Comment ça fonctionne

mermaid graph LR A[Utilisateur] --> B[Interface Web] B --> C[API NestJS] C --> D[Base PostgreSQL] C --> E[Vérification de santé] E --> F[Applications surveillées] ``

L'utilisateur accède à l'interface web pour consulter l'état de ses applications. L'API backend effectue des vérifications de santé régulières et stocke les résultats en base de données.

Stack technique

  • Frontend : React 18, TypeScript, TailwindCSS
  • Backend : NestJS, TypeORM, PostgreSQL
  • Infrastructure : Docker, GitLab CI/CD

---

## Checklist

Before saving the README.md, verify:

- All content is in French (except technical terms)
- Table of contents matches all sections with correct anchor links
- Documentation technique sub-section lists all `docs/*.md` files with descriptions deduced from content
- Mermaid diagrams are valid and have max 8-10 nodes
- Mermaid diagrams use only allowed types (graph, flowchart, sequenceDiagram)
- Every diagram has a textual explanation below it
- Labels in Mermaid diagrams are in French
- No code blocks (except Mermaid)
- Sentences are under 20 words
- Vouvoiement used consistently
- Acronyms explained at first occurrence
- CLAUDE.md generated only if it did not exist
- AGENT.md generated only if it did not exist
- All `docs/*.md` files reviewed against Documentation Quality Rules
- Docs are in French, concise, scan-friendly, and PO-oriented
- Mermaid diagrams added where they replace verbose explanations
- Gap analysis performed: codebase features vs. existing documentation
- Missing critical/important docs proposed to user before creation
- New doc files follow Documentation Quality Rules
- User informed of what was created/updated, docs improved, and new docs proposed/created

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.79%
按下载量换算57

Claude

29.14%
按下载量换算45

Cursor

18.72%
按下载量换算29

Gemini CLI

8.1%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills