Back to list
Swoking

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

  1. IIFE - (function() { 'use strict'; ... })();
  2. No var - const default, let if reassignment
  3. Declare locally - Variables closest to usage
  4. Assertions - Validate at function entry, throw explicit errors
  5. Max 60 lines - Per function
  6. Check returns - response.ok, null, undefined
  7. No empty catch - Log with context or re-throw
  8. No mutation - Return new objects
  9. Object mapping - Over switch when possible
  10. 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