← スキル一覧に戻る
1. Check if
3. Create

symfony-skcheck-config
by Swoking
Claude Code plugin pour projets Symfony StarterKit
⭐ 0🍴 0📅 2026年1月19日
SKILL.md
name: symfony-sk:check-config description: Verify project configuration before using other skills/agents. Creates .claude/project.json if missing. allowed-tools: Read, Write, Edit, Glob, AskUserQuestion user-invocable: false
Check Config Skill
Mission
Verify that the project is properly configured for Symfony StarterKit plugin. This skill is called automatically by agents before they start their work.
Verification Steps
1. Check if .claude/project.json exists
# File should exist at project root
.claude/project.json
2. If missing, gather information
Use AskUserQuestion to collect:
{
"questions": [
{
"question": "Quel est le code du projet ? (préfixe des containers Docker, ex: kotchi, myproject)",
"header": "Code projet",
"options": [
{"label": "Entrer le code", "description": "Je vais saisir le code du projet"}
],
"multiSelect": false
},
{
"question": "Quelle est l'URL/hostname de la VM du projet ? (ex: kotchi2, myproject.dev)",
"header": "URL VM",
"options": [
{"label": "Pas de VM", "description": "Développement local uniquement"},
{"label": "Entrer l'URL", "description": "Je vais saisir l'URL de la VM"}
],
"multiSelect": false
},
{
"question": "Le projet a-t-il un back office ?",
"header": "Back office",
"options": [
{"label": "Oui", "description": "Le projet a front + back office"},
{"label": "Non", "description": "Uniquement front office"}
],
"multiSelect": false
}
]
}
3. Create .claude/project.json
After collecting answers, create the file:
{
"projectCode": "<user-provided-code>",
"projectUrl": "<user-provided-url-or-null>",
"hasBack": true|false,
"ssh": {
"host": "<projectUrl>",
"password": "<ask-if-needed>"
}
}
4. Verify required fields
| Field | Required | Description |
|---|---|---|
projectCode | Yes | Docker container prefix |
projectUrl | No | SSH hostname (null if local) |
hasBack | Yes | Boolean for back office |
Return Values
After verification, return the config for the calling agent:
CONFIG_OK:
- projectCode: <code>
- projectUrl: <url>
- hasBack: <true/false>
Or if user cancels:
CONFIG_CANCELLED: User declined to configure project
Usage by Agents
Agents should call this skill at the start:
## Step 0: Verify Configuration
Before starting, invoke the `symfony-sk:check-config` skill to ensure project is configured.
If config is missing, the skill will ask the user for information.
If user cancels, STOP and inform user that configuration is required.
SSH Configuration (Optional)
If projectUrl is provided and SSH is needed:
- Check if
.claude/project.jsonhasssh.password - If missing, ask user for SSH password
- Store in project.json (this file should be in .gitignore)
Checklist
-
.claude/project.jsonexists -
projectCodeis set -
hasBackis set (boolean) - If remote VM:
projectUrlis set
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です