README generator
Generate a concise, practical README.md for this repository by analysing repository-native sources of truth. Keep the result suitable for both GitHub and Packagist rendering. Do not invent details unsupported by files in this repository.
Repository-wide conventions and change discipline: AGENTS.md. README and badge policy: docs/readme-and-badges.md.
Primary inputs
composer.jsonREADME.mdsrc/**/*.phptests/**/*.phpphpunit.xml.distphpcs.xml.dist.github/workflows/*.yml.github/CONTRIBUTING.mdLICENSE
Rules
- Treat
composer.jsonas the source of truth for package metadata. - Preserve strong repository-specific content unless repository files indicate change:
composer require mhcg/monolog-wp-cli- PHP and Monolog requirements from
composer.json - Canonical usage examples unless code/tests show they are outdated
- Link to the documentation site (
https://markheydon.me.uk/monolog-wp-cli/) rather than raw markdown paths underwebsite/. - Include only active, verifiable badges (Packagist version, PHP CI).
- Use standard Markdown: headings, short paragraphs, lists, fenced code blocks.
- Keep UK English and WordPress Coding Standards for PHP snippets.
- This skill is for
README.mdonly — not forwebsite/content/pages.
Sections to include when justified
- Project name and description
- Requirements
- Installation
- Usage (with real examples)
- Development commands
- Contributing (brief, link to CONTRIBUTING.md)
- Licence
Omit filler sections (architecture diagrams, technology stack) unless the repository supports them.