← Back to list

symfony-skjs-handler
by Swoking
Claude Code plugin pour projets Symfony StarterKit
⭐ 0🍴 0📅 Jan 19, 2026
SKILL.md
name: symfony-sk:js-handler description: Create JavaScript handlers for pages. Use for DOM interactions and API calls. allowed-tools: Read, Write, Edit, Glob, Grep
JavaScript Handler Skill
Mission
Create JavaScript handlers following the project's strict standards.
Location
front/public/site/js/<feature>/<name>.js
Standards
MANDATORY: Read and apply ALL rules from:
.claude/rules/javascript-standards.md
Quick Reference
- IIFE -
(function() { 'use strict'; ... })(); - No
var-constdefault,letif reassignment - Declare locally - Variables closest to usage
- Assertions - Validate at function entry, throw explicit errors
- Max 60 lines - Per function
- Check returns -
response.ok, null, undefined - No empty catch - Log with context or re-throw
- No mutation - Return new objects
- Object mapping - Over
switchwhen possible - Bounded loops - Prefer
map/filter/reduce
Translations
// Twig: {{ ['key1', 'key2'] | tradJS }}
// JS: window.trad.key1
Checklist
See .claude/rules/javascript-standards.md for complete checklist.
Score
Total Score
50/100
Based on repository quality metrics
✓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
Reviews
💬
Reviews coming soon