agentleFS
aadisthunderaadisthunder/readme-skill/.agents/skills/readme/SKILL.md

readme

Skill0 starsChanged 59 days agoMITView on GitHub

Generates or elevates repository README files into production-grade, high-converting, and beautifully structured project front doors. Gathers concrete evidence from codebase files, builds centered hero branding, curated Shields.io badges, Mermaid architecture diagrams, responsive two-column feature matrices, and verified setup commands.

  • Reads credentials
  • Installs packages

16 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 6 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 16 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When generating or upgrading a README, never invent benchmark numbers, hypothetical test suites, or uninstalled dependencies.

    line 20
  2. Distinctive:

    Before writing a single line of Markdown, inspect the repository to collect concrete ground truth:

    line 38
  3. Very specific:

    Read runnable scripts (npm run dev, npm test, pytest, docker compose up, cargo build).

    line 47
  4. Very specific:

    Check required runtime prerequisites (Node.js version, Python version, Docker).

    line 48
  5. Very specific:

    Look for .env.example or config files to identify required environment variables.

    line 50
  6. Distinctive:

    Security Guardrail: Never include real API keys, secrets, or production passwords in the README.

    line 51
  7. Distinctive:

    Every flagship README starts with an unmistakable, centered hero section:

    line 72
  8. Distinctive:

    Instead of flat, monotonous bullet lists, structure feature breakdowns using clean two-column HTML tables.

    line 198
  9. Distinctive:

    Before saving the generated README, verify:

    line 317

“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Unified README Skill

This skill guides AI agents in crafting authentic, high-impact, and beautifully structured README.md files for any software project. It is modeled on high-converting open-source repositories and proven designs from production AI/web projects (such as Bravo, Pragati, and AI Parking System).


The Core Philosophy: Evidence-First

The Golden Rule: Every claim, metric, and command in a README must be grounded in actual repository evidence. A claim you cannot run or verify from the codebase is a claim you must not make.

When generating or upgrading a README, never invent benchmark numbers, hypothetical test suites, or uninstalled dependencies. Always inspect the codebase first.


Workflow: Step-by-Step Procedure

flowchart TD
  A[Phase 1: Codebase Audit] --> B[Phase 2: Archetype Detection]
  B --> C[Phase 3: Hero & Badges Synthesis]
  C --> D[Phase 4: Architecture & Flow Diagramming]
  D --> E[Phase 5: Two-Column Feature Matrix]
  E --> F[Phase 6: Step-by-Step Quick Start]
  F --> G[Phase 7: Verification & Quality Pass]

Phase 1: Codebase Audit (Fact Extraction)

Before writing a single line of Markdown, inspect the repository to collect concrete ground truth:

  1. Identity & Metadata:
    • Inspect package manifests (package.json, pyproject.toml, Cargo.toml, go.mod, pom.xml).
    • Extract: Project name, accurate description, version, license, author/organization.
  2. Tech Stack & Dependencies:
    • Note major frameworks (React, Vue, Vite, Next.js, FastAPI, Django, Express, Spring).
    • Note specialized libraries (LangChain, LangGraph, Tailwind CSS, Capacitor, PyTorch, Supabase, Firebase).
  3. Execution & Scripts:
    • Read runnable scripts (npm run dev, npm test, pytest, docker compose up, cargo build).
    • Check required runtime prerequisites (Node.js version, Python version, Docker).
  4. Environment & Secrets:
    • Look for .env.example or config files to identify required environment variables.
    • Security Guardrail: Never include real API keys, secrets, or production passwords in the README.
  5. Differentiators & Architecture:
    • Examine entry points (src/index.*, src/App.*, main.py) to understand data flow, storage model (e.g. client-side localStorage, Supabase, SQLite), and external API integrations.

Phase 2: Archetype & Audience Alignment

Identify which archetype best fits the project and adjust emphasis accordingly:

ArchetypeKey CharacteristicsREADME Focus
AI / Agent ApplicationsLangGraph, Gemini, Groq, tool loops, memory, guardrailsTool execution loop, privacy boundary, model selection, live telemetry
Web Apps & SaaSClient-side apps, full-stack portals, dashboardsLive demo badge, user journeys, responsive feature tables, role permissions
CLI & Developer ToolsUtilities, linters, generators, test harnesses1-line installation, quickstart command, copy-paste terminal usage
Libraries & SDKsPackages published to npm, PyPI, crates.ioAPI reference snippet, bundle size, TypeScript types, import examples

Phase 3: Hero & Branding Anatomy

Every flagship README starts with an unmistakable, centered hero section:

<div align="center">

<!-- Optional Logo or Emblem -->
<img src="public/logo.svg" alt="Project Logo" width="100" height="100" />

# Project Name

<p>
  <strong>A bold, 1-sentence value proposition highlighting what it does and why it matters.</strong><br />
  Key Differentiator 1 · Key Differentiator 2 · Key Differentiator 3
</p>

<!-- Curated Badge Row (Maximum 3 to 5 high-signal badges) -->
[![Live Demo](https://img.shields.io/badge/Live%20Demo-project.web.app-8b5cf6?style=for-the-badge&logo=googlechrome&logoColor=white)](https://project.web.app)
[![License: MIT](https://img.shields.io/badge/License-MIT-22c55e?style=for-the-badge)](LICENSE)
[![CI Status](https://img.shields.io/badge/CI-passing-22c55e?style=for-the-badge&logo=githubactions&logoColor=white)](#)
[![Security / Privacy](https://img.shields.io/badge/Privacy-100%25%20Client--Side-blue?style=for-the-badge)](#)

<!-- Centered Quick Navigation Bar -->
<p>
  <a href="#why-this-exists">Why This Exists</a> •
  <a href="#how-it-works">How It Works</a> •
  <a href="#features">Features</a> •
  <a href="#quick-start">Quick Start</a> •
  <a href="#roadmap">Roadmap</a>
</p>

</div>

---

Phase 4: Tech Stack Grid

Curate official Shields.io badges using recognizable brand logos and coherent colors:

### Tech Stack

<div align="center">

![React](https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB)
![Vite](https://img.shields.io/badge/Vite-1e1e2e?style=for-the-badge&logo=vite&logoColor=646CFF)
![TypeScript](https://img.shields.io/badge/TypeScript-3178C6?style=for-the-badge&logo=typescript&logoColor=white)
![TailwindCSS](https://img.shields.io/badge/Tailwind_CSS-38B2AC?style=for-the-badge&logo=tailwind-css&logoColor=white)
![Firebase](https://img.shields.io/badge/Firebase-FFCA28?style=for-the-badge&logo=firebase&logoColor=black)

</div>

Phase 5: "Why This Exists" & The Problem/Solution

Ground the project in real developer or user empathy. Explain what existing tools get wrong and why this architecture was chosen:

## Why This Exists

Most existing solutions require complex server infrastructure, costly database subscriptions, and risk leaking sensitive API credentials. 

**Project Name** solves this by keeping the entire execution boundary inside your local environment:
- **Zero backend required** — operates completely client-side.
- **Direct API communication** — your credentials go straight from your device to the model provider.
- **Instant deployment** — serves as static assets from any CDN or hosting bucket.

Include a Comparison Table where relevant:

| Dimension | Traditional Approach | Project Name |
| :--- | :--- | :--- |
| **Trust Boundary** | Server proxy stores history & keys | 100% local device storage |
| **Latency** | Network hop to backend server | Direct API streaming |
| **Hosting Cost** | $20+/mo servers & databases | $0 (Static hosting) |
| **Telemetry** | Full user tracking enabled | Zero telemetry, zero tracking |

Phase 6: System Architecture & Mermaid Diagrams

Visual architecture makes complex logic instantly understandable. Use clean Mermaid flowcharts or sequence diagrams:

Flowchart Pattern (Agent / Tool Loop)

## How It Works

```mermaid
flowchart LR
  A[User Prompt] --> B[Input Guardrails]
  B -->|Allowed| C[Agent Engine]
  B -->|Blocked| R[Safe Rejection]
  C -->|Requires Tool| D[Autonomous Tools<br/>Search · Code · Storage]
  D --> C
  C -->|Verified| E[Streaming Response]
```

Sequence Diagram Pattern (Request Lifecycle)

```mermaid
sequenceDiagram
  autonumber
  actor User
  participant App as Client UI
  participant Engine as Local Decision Engine
  participant API as LLM Provider

  User->>App: Submits Prompt
  App->>Engine: Evaluate Guardrails & Memory
  Engine->>API: Stream Prompt + System Context
  API-->>Engine: Stream Tokens & Tool Calls
  Engine-->>App: Render Live Markdown & Tool Steps
```

Phase 7: Responsive Two-Column Feature Matrix

Instead of flat, monotonous bullet lists, structure feature breakdowns using clean two-column HTML tables. This creates high density and visual polish:

## Features

<table>
  <tr>
    <td width="50%" valign="top">
      <h3>🤖 Multi-Provider Models</h3>
      Switch between multiple state-of-the-art providers instantly:
      <ul>
        <li><strong>Google Gemini:</strong> Gemini 2.5 Flash, 2.5 Pro</li>
        <li><strong>Groq Cloud:</strong> Llama 3.3 70B with ultra-low latency</li>
        <li>Dynamic fallback when provider rate limits are hit</li>
      </ul>
    </td>
    <td width="50%" valign="top">
      <h3>🛡️ Deterministic Guardrails</h3>
      Client-side safety checks running with zero network latency:
      <ul>
        <li>Regex pattern blocking for private keys and tokens</li>
        <li>Custom blocklist and output token caps</li>
        <li>Transparent rejection feedback with zero silent failures</li>
      </ul>
    </td>
  </tr>
  <tr>
    <td width="50%" valign="top">
      <h3>🧠 Layered Memory</h3>
      State management built for long-term multi-session continuity:
      <ul>
        <li><strong>Session:</strong> Active conversation thread cache</li>
        <li><strong>Persistent:</strong> Cross-chat fact memory in <code>localStorage</code></li>
        <li>Autonomous memory saving and manual edit modal</li>
      </ul>
    </td>
    <td width="50%" valign="top">
      <h3>⚡ Zero Infrastructure</h3>
      No DevOps burden or recurring server expenses:
      <ul>
        <li>Runs purely static files on Firebase Hosting or Vercel</li>
        <li>Works offline for cached tools and historical records</li>
        <li>Instant spin-up in less than 5 seconds</li>
      </ul>
    </td>
  </tr>
</table>

Phase 8: Quick Start & Local Setup

Provide crisp, non-interactive terminal commands that users can copy and run immediately:

## Quick Start

### Prerequisites
- **Node.js** v18+ or v20+ ([Download](https://nodejs.org/))
- **Git** ([Download](https://git-scm.com/))

### Installation

1. **Clone the repository:**
   ```bash
   git clone https://github.com/username/project-name.git
   cd project-name
   ```

2. **Install dependencies:**
   ```bash
   npm install
   ```

3. **Configure environment variables:**
   ```bash
   cp .env.example .env.local
   ```
   Add your API keys in `.env.local`:
   ```env
   VITE_GEMINI_API_KEY=your_gemini_api_key_here
   ```

4. **Start the local development server:**
   ```bash
   npm run dev
   ```
   Open `http://localhost:5173` in your browser.

Phase 9: Verification & Reproducible Proof

Enforce credibility by documenting exact commands used to run tests or verify the build:

## Verification & Testing

Every metric and feature in this repository is tested and reproducible:

```bash
# Run the complete test suite
npm test

# Run end-to-end integration tests
npm run test:e2e

# Run linter and type-checker
npm run lint
npx tsc --noEmit
```

Phase 10: Quality Verification Checklist

Before saving the generated README, verify:

  • No Fake Claims: Every listed dependency and script actually exists in the project.
  • Working Badges: All badge URLs follow valid Shields.io syntax and target existing routes.
  • Valid Mermaid: Diagram syntax parses without syntax errors (quote special characters in labels).
  • Balanced HTML: All <table>, <tr>, <td>, and <div> tags are properly matched and closed.
  • Mobile Scannable: Tables wrap properly and code blocks specify exact language syntax highlighting.
  • Zero Secret Leakage: No private tokens, credentials, or production connection strings are included.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.