acc-readme-template
1
总安装量
1
周安装量
#54385
全站排名
安装命令
npx skills add https://github.com/dykyi-roman/awesome-claude-code --skill acc-readme-template
Agent 安装分布
opencode
1
claude-code
1
Skill 文档
README Template Generator
Generate professional README.md files for PHP projects.
Template Structure
# {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
[](https://github.com/{owner}/{repo}/actions)
[](https://codecov.io/gh/{owner}/{repo})
[](https://packagist.org/packages/{vendor}/{package})
[](https://packagist.org/packages/{vendor}/{package})
[](LICENSE)
Minimal Badge Set
[](https://github.com/{owner}/{repo}/actions)
[](https://packagist.org/packages/{vendor}/{package})
Section Templates
Features Section
## 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
## Requirements
- PHP 8.5+
- Composer 2.0+
- Extensions: ext-json, ext-pdo
### Optional
- Redis (for caching)
- RabbitMQ (for queuing)
Installation Section (Basic)
## Installation
```bash
composer require {vendor}/{package}
### Installation Section (With Config)
```markdown
## Installation
1. Install via Composer:
```bash
composer require {vendor}/{package}
- Publish configuration (optional):
php artisan vendor:publish --provider="Vendor\Package\ServiceProvider"
- Configure environment:
# .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
## Contributing
Contributions are welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for:
- Development setup
- Coding standards
- Testing guidelines
- Pull request process
License Section
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
Complete Example
# Awesome Package
[](https://github.com/vendor/awesome-package/actions)
[](https://codecov.io/gh/vendor/awesome-package)
[](https://packagist.org/packages/vendor/awesome-package)
[](https://packagist.org/packages/vendor/awesome-package)
[](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
declare(strict_types=1);
use Vendor\AwesomePackage\Processor;
$processor = new Processor();
$result = $processor->process(['data' => 'value']);
echo $result->status; // "success"
Documentation
- ð Getting Started
- âï¸ Configuration
- ð API Reference
- ð¡ Examples
Contributing
See CONTRIBUTING.md for development setup and guidelines.
Changelog
See CHANGELOG.md for version history.
License
MIT License – see 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