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.

rulesstructure-root-files.md

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

Root-Level Documentation Files

Impact: CRITICAL (Discoverability — first impression for every new reader, every tool, every hosting platform)

A small, curated set of files lives at the repo root because GitHub, npm, Packagist, and every developer tool look for them there. Anything else belongs in docs/. Keeping the root clean turns the first directory listing into a clear signpost rather than a clutter dump.

Incorrect

❌ Cluttered root — every doc lives at the top level
.
├── README.md
├── CHANGELOG.md
├── LICENSE
├── architecture.md
├── deployment-notes.md
├── PLAN.md
├── refactor-thoughts.md
├── api-reference.md
├── adr-001.md
├── adr-002.md
├── deployment-runbook.md
├── onboarding.md
└── ...

Problems:

  • A new contributor scrolling the root sees 20+ files and can't tell what's essential
  • Architecture and runbooks bury the README and CHANGELOG
  • Each new doc adds noise at the most visible location in the repo

Correct

✅ Curated root — only conventional files; everything else in docs/
.
├── README.md                  # required — project purpose, install, usage
├── CHANGELOG.md               # required from first release
├── LICENSE                    # required
├── CONTRIBUTING.md            # if accepting external contributors
├── SECURITY.md                # if internet-facing service
├── CODE_OF_CONDUCT.md         # if open-source community
└── docs/                      # everything else
    ├── architecture/
    ├── adr/
    ├── guides/
    └── runbooks/

Benefits:

  • The root listing reads as a project index, not a junk drawer
  • Tools (GitHub, npm, Packagist, Dependabot) find the files they expect
  • New contributors see the curated set first; details live one click deeper in docs/

Allowed root-level docs

File When required What it contains
README.md Always Purpose, install, usage, license link
CHANGELOG.md After first release One section per version (Keep-a-Changelog format)
LICENSE Always The license text — plain, no .md extension by convention
CONTRIBUTING.md If external contributors Branching, commit style, PR checklist
SECURITY.md If internet-facing Vulnerability reporting policy and contact
CODE_OF_CONDUCT.md Open-source projects Contributor Covenant or equivalent
AUTHORS.md / MAINTAINERS.md Multi-author projects Maintainer list

Anything else — architecture, ADRs, guides, runbooks, API references — belongs in docs/.

Detection

# Files at root that aren't on the allow-list
ls *.md *.MD LICENSE 2>/dev/null | \
  grep -vE '^(README|CHANGELOG|CONTRIBUTING|SECURITY|CODE_OF_CONDUCT|AUTHORS|MAINTAINERS|LICENSE)(\.md)?$'

Reference: GitHub — About READMEs · Keep a Changelog

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