acc-readme-template

Generates README.md files for PHP projects. Creates structured documentation with badges, installation, usage, and examples.

181 stars

Best use case

acc-readme-template is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Generates README.md files for PHP projects. Creates structured documentation with badges, installation, usage, and examples.

Teams using acc-readme-template should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/acc-readme-template/SKILL.md --create-dirs "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/acc-readme-template/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/acc-readme-template/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How acc-readme-template Compares

Feature / Agentacc-readme-templateStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Generates README.md files for PHP projects. Creates structured documentation with badges, installation, usage, and examples.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# README Template Generator

Generate professional README.md files for PHP projects.

## Template Structure

```markdown
# {Project Name}

{badges}

{one-line description}

## Features

{feature list with benefits}

## Requirements

{dependencies and versions}

## Installation

{composer command and setup steps}

## Quick Start

{minimal working example}

## Documentation

{links to detailed docs}

## Contributing

{link to CONTRIBUTING.md}

## Changelog

{link to CHANGELOG.md}

## License

{license type and link}
```

## Badge Templates

### Standard Badge Set

```markdown
[![CI](https://github.com/{owner}/{repo}/actions/workflows/ci.yml/badge.svg)](https://github.com/{owner}/{repo}/actions)
[![Coverage](https://codecov.io/gh/{owner}/{repo}/graph/badge.svg)](https://codecov.io/gh/{owner}/{repo})
[![Packagist](https://img.shields.io/packagist/v/{vendor}/{package}.svg)](https://packagist.org/packages/{vendor}/{package})
[![PHP](https://img.shields.io/packagist/php-v/{vendor}/{package}.svg)](https://packagist.org/packages/{vendor}/{package})
[![License](https://img.shields.io/github/license/{owner}/{repo}.svg)](LICENSE)
```

### Minimal Badge Set

```markdown
[![Build](https://img.shields.io/github/actions/workflow/status/{owner}/{repo}/ci.yml)](https://github.com/{owner}/{repo}/actions)
[![Version](https://img.shields.io/packagist/v/{vendor}/{package})](https://packagist.org/packages/{vendor}/{package})
```

## Section Templates

### Features Section

```markdown
## Features

- ✅ **Feature Name** — Brief description of benefit
- ✅ **Feature Name** — Brief description of benefit
- ✅ **Feature Name** — Brief description of benefit
- 🚧 **Coming Soon** — Planned feature
```

### Requirements Section

```markdown
## Requirements

- PHP 8.5+
- Composer 2.0+
- Extensions: ext-json, ext-pdo

### Optional

- Redis (for caching)
- RabbitMQ (for queuing)
```

### Installation Section (Basic)

```markdown
## Installation

```bash
composer require {vendor}/{package}
```
```

### Installation Section (With Config)

```markdown
## Installation

1. Install via Composer:

```bash
composer require {vendor}/{package}
```

2. Publish configuration (optional):

```bash
php artisan vendor:publish --provider="Vendor\Package\ServiceProvider"
```

3. Configure environment:

```bash
# .env
PACKAGE_API_KEY=your-key
PACKAGE_DEBUG=false
```
```

### Quick Start Section

```markdown
## Quick Start

```php
<?php

declare(strict_types=1);

use {Vendor}\{Package}\{MainClass};

// Initialize
${instance} = new {MainClass}();

// Basic operation
$result = ${instance}->doSomething('input');

// Output
echo $result->status; // "success"
```
```

### Documentation Section

```markdown
## Documentation

- 📖 [Getting Started](docs/getting-started.md)
- ⚙️ [Configuration](docs/configuration.md)
- 📚 [API Reference](docs/api/README.md)
- 💡 [Examples](docs/examples/)
- ❓ [FAQ](docs/faq.md)
```

### Contributing Section

```markdown
## Contributing

Contributions are welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for:

- Development setup
- Coding standards
- Testing guidelines
- Pull request process
```

### License Section

```markdown
## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
```

## Complete Example

```markdown
# Awesome Package

[![CI](https://github.com/vendor/awesome-package/actions/workflows/ci.yml/badge.svg)](https://github.com/vendor/awesome-package/actions)
[![Coverage](https://codecov.io/gh/vendor/awesome-package/graph/badge.svg)](https://codecov.io/gh/vendor/awesome-package)
[![Packagist](https://img.shields.io/packagist/v/vendor/awesome-package.svg)](https://packagist.org/packages/vendor/awesome-package)
[![PHP](https://img.shields.io/packagist/php-v/vendor/awesome-package.svg)](https://packagist.org/packages/vendor/awesome-package)
[![License](https://img.shields.io/github/license/vendor/awesome-package.svg)](LICENSE)

A PHP library for processing awesome things with type safety and modern practices.

## Features

- ✅ **Type-Safe API** — Full PHP 8.5 type declarations
- ✅ **PSR Compliant** — PSR-4, PSR-7, PSR-12
- ✅ **Zero Dependencies** — No external runtime dependencies
- ✅ **Fully Tested** — 100% code coverage

## Requirements

- PHP 8.5+
- Composer 2.0+
- ext-json

## Installation

```bash
composer require vendor/awesome-package
```

## Quick Start

```php
<?php

declare(strict_types=1);

use Vendor\AwesomePackage\Processor;

$processor = new Processor();
$result = $processor->process(['data' => 'value']);

echo $result->status; // "success"
```

## Documentation

- 📖 [Getting Started](docs/getting-started.md)
- ⚙️ [Configuration](docs/configuration.md)
- 📚 [API Reference](docs/api/README.md)
- 💡 [Examples](docs/examples/)

## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and guidelines.

## Changelog

See [CHANGELOG.md](CHANGELOG.md) for version history.

## License

MIT License - see [LICENSE](LICENSE) for details.
```

## Generation Instructions

When generating a README:

1. **Analyze** the project structure (`composer.json`, `src/`)
2. **Identify** main class/entry point
3. **Extract** dependencies and requirements
4. **Create** minimal working example
5. **Generate** appropriate badges
6. **Link** to existing documentation
7. **Verify** all links point to existing files

Related Skills

add-template

181
from majiayu000/claude-skill-registry

Add new UI style template to the ui-style-react project. This skill should be used when users want to add a new style template with HTML/CSS code, create a new preview page, or register a template in the system. Triggers include "add template", "create new style", "add new template", or when users provide HTML code for a new UI style.

add-skill-templates

181
from majiayu000/claude-skill-registry

Add new Agent Skill templates to the meta-agent-skills framework.

add-agent-templates

181
from majiayu000/claude-skill-registry

Add new Agent templates to the meta-agent-skills framework.

acc-troubleshooting-template

181
from majiayu000/claude-skill-registry

Generates troubleshooting guides and FAQ sections for PHP projects. Creates problem-solution documentation.

acc-mermaid-template

181
from majiayu000/claude-skill-registry

Generates Mermaid diagrams for technical documentation. Provides templates for flowcharts, sequence diagrams, class diagrams, ER diagrams, and C4 models.

acc-getting-started-template

181
from majiayu000/claude-skill-registry

Generates Getting Started guides for PHP projects. Creates step-by-step tutorials for first-time users.

acc-code-examples-template

181
from majiayu000/claude-skill-registry

Generates code examples for PHP documentation. Creates minimal, copy-paste ready examples with expected output.

acc-changelog-template

181
from majiayu000/claude-skill-registry

Generates CHANGELOG.md files following Keep a Changelog format. Creates version history documentation.

acc-architecture-doc-template

181
from majiayu000/claude-skill-registry

Generates ARCHITECTURE.md files for PHP projects. Creates layer documentation, component descriptions, and architectural diagrams.

acc-api-doc-template

181
from majiayu000/claude-skill-registry

Generates API documentation for PHP projects. Creates endpoint documentation with parameters, responses, and examples.

acc-adr-template

181
from majiayu000/claude-skill-registry

Generates Architecture Decision Records (ADR) for PHP projects. Creates structured decision documentation with context, decision, and consequences.

absurdist-readme-writer

181
from majiayu000/claude-skill-registry

Toolkit for creating an entertainingly stupid README that manages to give off Tim & Eric, Steve Brule vibes while maintaining a level of technical acumen that is expected of a modern open source project. This skill applies when users request a silly or absurd README.