9 Commits

  • fix: refresh stale technical content in agents, rules, and skills (#2168)
    Several published examples contained APIs that no longer exist, code that
    does not run, or model versions that drifted from reality:
    
    - agents/performance-optimizer.md used the web-vitals v3 API
      (getCLS/getFID/getLCP/getFCP/getTTFB) and reported FID. web-vitals v4
      renamed the imports to onCLS/onINP/onLCP/onFCP/onTTFB and FID was
      replaced by INP (target < 200ms)
    - rules/common/performance.md pinned stale model versions in the
      model-selection guidance; refresh to the versions the repo itself uses
      (agent.yaml pins claude-opus-4-6) and add the PowerShell variant for
      MAX_THINKING_TOKENS next to the bash export
    - skills/python-patterns/SKILL.md: both get_value examples referenced
      default_value without declaring the parameter (NameError); add
      default_value: Any = None to the EAFP and LBYL signatures
    - skills/frontend-patterns/SKILL.md: the custom useQuery example rebuilt
      refetch whenever callers passed inline fetchers/options, re-triggering
      the effect after every state update (infinite fetch loop). Keep the
      latest fetcher/options in refs so refetch stays referentially stable.
      The PASS-labelled useMemo example mutated its input with in-place sort;
      copy before sorting
    - skills/coding-standards/SKILL.md repeated the same PASS-labelled
      in-place-sort-in-useMemo example; same fix
    - rules/typescript/security.md used a vendor-specific OPENAI_API_KEY in
      generic guidance; switch to a neutral API_KEY
    
    Every hand-maintained copy of the affected content is synced in the same
    change: locale mirrors (ja-JP, ko-KR, pt-BR, tr, zh-CN, zh-TW - each only
    where it carries the affected file) and the .agents/.kiro/.cursor harness
    mirrors. Two structural divergences are left alone and noted here:
    .kiro/steering/performance.md has no extended-thinking control list to
    carry the PowerShell variant, and docs/zh-TW/rules/performance.md keeps an
    older condensed thinking section without the budget-cap line.
    rules/zh/performance.md is intentionally untouched - the rules/zh tree is
    being retired in a separate change
  • fix(ja-JP): address review feedback and add 5 missing skills
    - Fix Chinese term '提炼' → '蒸留' in commands/rules-distill.md
    - Fix '重大な所見' (Critical→重大) in agents/opensource-sanitizer.md
    - Fix non-transactional persistence in swift-actor-persistence/SKILL.md:
      add rollback logic so cache stays consistent if disk write fails
    - Clarify anti-pattern wording: 'configurable file URL' → 'externally
      mutable after init' to remove internal inconsistency (P2)
    - Fix broken relative link in videodb/reference/api-reference.md:
      ../../../../../skills/... → ./editor.md
    - Add 5 previously missing SKILL.md translations:
      skill-scout, tinystruct-patterns, ui-to-vue, vite-patterns,
      windows-desktop-e2e
  • docs: add native Japanese translation of ECC documentation (ja-JP)
    Translate everything-claude-code repository to Japanese including:
    - 17 root documentation files
    - 60 agent documentation files
    - 80 command documentation files
    - 99 rule files across 18 language directories (common, angular, arkts, cpp, csharp, dart, fsharp, golang, java, kotlin, perl, php, python, ruby, rust, swift, typescript, web)
    - 199 skill documentation files
    
    Total: 455 files translated to Japanese with:
    - Consistent terminology glossary applied throughout
    - YAML field names preserved in English (name, description, etc.)
    - Code blocks and examples untouched (comments translated)
    - Markdown structure and relative links preserved
    - Professional translation maintaining technical accuracy
    
    This translation expands ECC accessibility to Japanese-speaking developers and teams.
    
    Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
  • docs(ja-JP): translate plain text code blocks to Japanese
    Translate English prose inside plain text code blocks (```text, ```)
    across ja-JP documentation to Japanese, following the same approach
    as PR #753 (zh-CN translation).
    
    Translated content includes:
    - Output template labels and status messages
    - Folder tree inline comments
    - CLI workflow descriptions
    - Error/warning message examples
    - Commit message templates and PR title examples
    
    Technical identifiers, file paths, and actual code remain untranslated.
  • feat(ecc): prune plugin 43→12 items, promote 7 rules to .claude/rules/ (#245)
    ECC community plugin pruning: removed 530+ non-essential files
    (.cursor/, .opencode/, docs/ja-JP, docs/zh-CN, docs/zh-TW,
    language-specific skills/agents/rules). Retained 4 agents,
    3 commands, 5 skills. Promoted 13 rule files (8 common + 5
    typescript) to .claude/rules/ for CC native loading. Extracted
    reusable patterns to EXTRACTED-PATTERNS.md.