getting-started-template
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "getting-started-template":https://skillpi.com/zh/skills/deepskill-69614bf1744735761d07a1835885b324776308e9b09731836c552b0974d62c80。安装前核对上游来源和版本:https://github.com/dykyi-roman/awesome-claude-code。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
为 PHP 项目生成入门指南。为首次使用的用户创建分步教程,涵盖项目安装、配置、运行示例以及基本故障排查步骤。
介绍来源: third_party · dykyi-roman · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 输入和输出
- 翻译待完成,请参阅来源文档。
- 软件、账号及付费要求
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: getting-started-template
description: Generates Getting Started guides for PHP projects. Creates step-by-step tutorials for first-time users.Getting Started Template Generator
Generate beginner-friendly quick start guides.
Document Structure
# Getting Started
## Prerequisites
{what users need before starting}
## Installation
{step-by-step installation}
## Configuration
{basic config setup}
## Your First {Thing}
{hands-on tutorial}
## Next Steps
{where to go from here}
Section Templates
Prerequisites Section
## Prerequisites
Before you begin, ensure you have:
- [ ] PHP 8.4 or higher
- [ ] Composer 2.0 or higher
- [ ] A database (PostgreSQL 16+ recommended)
- [ ] Basic PHP knowledge
### Verify Your Environment
```bash
# Check PHP version
php -v
# Expected: PHP 8.4.x
# Check Composer version
composer -V
# Expected: Composer version 2.x.x
# Check required extensions
php -m | grep -E "json|pdo|mbstring"
### Installation Section
```markdown
## Installation
### Step 1: Install via Composer
```bash
composer require vendor/package
Step 2: Copy Configuration (optional)
cp vendor/vendor/package/config/config.php config/package.php
Step 3: Set Environment Variables
Add to your .env file:
PACKAGE_API_KEY=your-api-key-here
PACKAGE_DEBUG=false
Step 4: Verify Installation
php -r "require 'vendor/autoload.php'; echo 'OK';"
You should see OK if everything is installed correctly.
### Configuration Section
```markdown
## Configuration
### Basic Configuration
Create `config/package.php`:
```php
<?php
return [
'api_key' => env('PACKAGE_API_KEY'),
'debug' => env('PACKAGE_DEBUG', false),
'timeout' => 30,
];
Configuration Options
| Option | Type | Default | Description |
|---|---|---|---|
api_key |
string | - | Your API key (required) |
debug |
bool | false | Enable debug mode |
timeout |
int | 30 | Request timeout in seconds |
Environment Variables
| Variable | Required | Description |
|---|---|---|
PACKAGE_API_KEY |
Yes | Your API key |
PACKAGE_DEBUG |
No | Enable debug logging |
### Tutorial Section
```markdown
## Your First {Operation}
Let's create your first {thing} step by step.
### Step 1: Create the {Thing}
Create a new file `example.php`:
```php
<?php
declare(strict_types=1);
require 'vendor/autoload.php';
use Vendor\Package\Client;
// Initialize the client
$client = new Client([
'api_key' => 'your-api-key',
]);
echo "Client initialized!\n";
Run it:
php example.php
# Output: Client initialized!
Step 2: Perform an Action
Add to your file:
// Create a resource
$result = $client->create([
'name' => 'My First Item',
'type' => 'example',
]);
echo "Created: " . $result->id . "\n";
Run it:
php example.php
# Output:
# Client initialized!
# Created: item_abc123
Step 3: Retrieve the Result
Add to your file:
// Retrieve the resource
$item = $client->get($result->id);
echo "Name: " . $item->name . "\n";
echo "Status: " . $item->status . "\n";
Run it:
php example.php
# Output:
# Client initialized!
# Created: item_abc123
# Name: My First Item
# Status: active
Complete Example
Here's the complete code:
<?php
declare(strict_types=1);
require 'vendor/autoload.php';
use Vendor\Package\Client;
// Initialize
$client = new Client([
'api_key' => 'your-api-key',
]);
// Create
$result = $client->create([
'name' => 'My First Item',
'type' => 'example',
]);
// Retrieve
$item = $client->get($result->id);
// Output
echo "ID: " . $item->id . "\n";
echo "Name: " . $item->name . "\n";
echo "Status: " . $item->status . "\n";
### Next Steps Section
```markdown
## Next Steps
Congratulations! You've completed the getting started guide. Here's what to explore next:
### Learn More
- 📖 [Configuration Guide](configuration.md) — Advanced configuration options
- 🔧 [API Reference](api/README.md) — Complete API documentation
- 💡 [Examples](examples/) — More code examples
### Common Use Cases
| Use Case | Guide |
|----------|-------|
| Authentication | [Auth Guide](guides/authentication.md) |
| Error Handling | [Error Guide](guides/errors.md) |
| Testing | [Testing Guide](guides/testing.md) |
### Get Help
- 📚 [FAQ](faq.md) — Frequently asked questions
- 🐛 [Troubleshooting](troubleshooting.md) — Common issues
- 💬 [Community](https://github.com/vendor/package/discussions) — Ask questions
- 🐙 [GitHub Issues](https://github.com/vendor/package/issues) — Report bugs
Complete Example
# Getting Started with Awesome Package
This guide will help you install and use Awesome Package in under 5 minutes.
## Prerequisites
Before you begin, ensure you have:
- [ ] PHP 8.4 or higher
- [ ] Composer 2.0 or higher
```bash
# Verify requirements
php -v && composer -V
Installation
composer require vendor/awesome-package
Your First Request
Create hello.php:
<?php
declare(strict_types=1);
require 'vendor/autoload.php';
use Vendor\AwesomePackage\Client;
$client = new Client();
$response = $client->ping();
echo "Server says: " . $response->message . "\n";
Run it:
php hello.php
# Output: Server says: pong
Create Something Useful
Now let's create a real resource:
<?php
declare(strict_types=1);
require 'vendor/autoload.php';
use Vendor\AwesomePackage\Client;
use Vendor\AwesomePackage\Model\Widget;
$client = new Client(['api_key' => 'your-key']);
// Create a widget
$widget = $client->widgets->create(
new Widget(
name: 'My Widget',
color: 'blue'
)
);
echo "Created widget: {$widget->id}\n";
// List all widgets
$widgets = $client->widgets->list();
foreach ($widgets as $w) {
echo "- {$w->name} ({$w->color})\n";
}
Next Steps
Generation Instructions
When generating Getting Started guides:
- Keep it simple — Minimum steps to first success
- Show don't tell — Code examples over prose
- Test all examples — Ensure they run as shown
- Provide expected output — Users know if it works
- Link to more info — Next steps for deeper learning
- Use checkboxes — For prerequisites
- Progressive complexity — Build on each step
当前收录版本
0.0.1
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供完整的 PHP 项目入门指南生成模板,包含分步教程和端到端示例
- 适用于开发者快速搭建新项目文档,具有明确实用价值
亮点
- description 明确说明为 PHP 项目生成入门指南,触发词清晰,边界明确
亮点
- 文档结构完整,包含 Document Structure、Section Templates、Complete Example 和 Generation Instructions
- 步骤清晰,有端到端示例,frontmatter 完整
亮点
- 模板内容完整,代码示例规范,参数说明清晰,覆盖主要使用场景
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 83, 109, 119, 127, 153 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- github.com
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
翻译待完成,请参阅来源文档。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。