All skills
asyrafhussin avatar

/project-docs

@6cadc91

Project documentation lifecycle for PHP/Laravel and Node/TypeScript/React projects — bootstrapping essential docs, naming and folder conventions, freshness, and cleanup of AI-generated junk and stale files. Use when starting a new project, setting up docs/ structure, auditing markdown files, cleaning up the docs folder, or deciding which docs to keep, archive, or delete. Triggers on "set up docs", "audit docs", "clean up markdown", "what docs does this project need", "organize docs folder", "find stale docs".

Use this Skill: https://skilld.dev/gh/asyrafhussin/agent-skills/project-docs

This session only. Nothing lands on disk.

rulesessential-readme.md

≈796 tokens on demand. Your agent reads this file only when SKILL.md points to it.

README — Required Content

Impact: CRITICAL (First impression for every reader; missing or stale README is the #1 onboarding blocker)

The README is the front door. Every new contributor, every dependency review, every "is this project maintained?" check starts here. A weak README means each onboarding repeats the same questions in Slack.

Required sections (in order)

# Project Name

One-sentence description: what does this do, for whom.

[Badges optional — build, version, license]

## Overview

2–3 sentences expanding on the one-liner. Who uses this, what problem it solves.

## Requirements

- PHP 8.3+ / Node 22+
- MySQL 8.0+ / Redis (if used)
- Any other prerequisites

## Installation

```bash
git clone …
composer install
npm install
cp .env.example .env
php artisan key:generate
php artisan migrate
```

## Usage

How to run it locally:

```bash
php artisan serve            # backend
npm run dev                  # frontend
```

How to run tests:

```bash
php artisan test
npm test
```

## Documentation

- [Architecture overview](docs/architecture/overview.md)
- [Deployment guide](docs/guides/deployment.md)
- [API reference](docs/api/openapi.yaml)

## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md).

## License

[MIT](LICENSE) (or whichever)

Incorrect

❌ Sparse README missing essentials
# my-app

A web app.

## Setup

Run npm install. Should work.

Problems:

  • No description of what the app does or for whom
  • No requirements (which Node version? what database?)
  • "Should work" — when it doesn't, the reader has no context
  • No path to architecture docs, deployment, contributing
  • No license — many companies' legal review will block adoption

What to include vs leave out

Include:

  • One-sentence description
  • Requirements (with versions)
  • Install / run / test commands
  • Links to deeper docs (docs/)
  • License

Don't include:

  • A full API reference (link to docs/api/)
  • Detailed architecture (link to docs/architecture/overview.md)
  • Release history (that's CHANGELOG.md)
  • Long FAQs (docs/guides/troubleshooting.md)

A README that's longer than one screen is doing too much. Split it.

Verification

Add a Last verified: YYYY-MM-DD line at the top of installation. Once a quarter, walk through the steps from scratch on a clean checkout and update the date.

## Installation

_Last verified on a clean checkout: 2026-04-12_

git clone …
…

Detection

# Does README exist and have minimum required sections?
test -f README.md || echo "MISSING README.md"
for h in 'Overview' 'Requirements' 'Installation' 'Usage' 'License'; do
  grep -q "^## $h" README.md || echo "MISSING SECTION: ## $h"
done

Reference: Make a README · GitHub — About READMEs

Source: SKILL.md on GitHub

No alerts16d3 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The skill is a comprehensive documentation lifecycle management tool for PHP/Laravel and Node.js projects. It provides a set of 25 rules for organizing, naming, and maintaining project documentation. The analysis found no security issues; the skill utilizes standard auditing practices and suggests well-known industry tools for documentation linting and quality assurance.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

Signed by skilld at 6cadc91. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 5 months ago
metadata
{
  "author": "agent-skills",
  "version": "1.0.0"
}

README badge

README badge for asyrafhussin/agent-skills/project-docs