skills/applying-frontend-patterns/SKILL.md
Framework-agnostic frontend component design patterns. Use when: component patterns, Container/Presentational, フロントエンドパターン, コンポーネント設計.
npx skillsauth add thkt/claude-config applying-frontend-patternsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Pattern | When to Use | | ------------------------ | ----------------------- | | Container/Presentational | Data fetching + display | | Custom Hooks | Shared behavior | | Composition | Flexible components | | State Management | Local → Shared → Global |
| Container (Logic) | Presentational (UI) | | ----------------- | ----------------------- | | Fetches data | Receives data via props | | Manages state | Stateless (ideally) | | Handles events | Calls callback props | | No styling | All styling lives here |
| Scope | Tool | Example | | ------ | ------------- | ------------------ | | Local | useState | Form input, toggle | | Shared | Context | Theme, auth status | | Global | Zustand/Redux | App-wide cache |
Simple one-off components, prototypes (YAGNI), no reuse expected.
| Topic | File |
| ---------------------- | ------------------------------------------------------------ |
| Container/Presentation | ${CLAUDE_SKILL_DIR}/references/container-presentational.md |
documentation
Generates and updates .claude/OUTCOME.md interactively. When the file is absent or empty (no Behavior / all sections TBD), collects content via AskUserQuestion and writes the stub; when present, shows the current state and applies updates.
development
Judge a SKILL.md against craft axes (single responsibility, description distinctiveness, imperative voice, verifiable completion, calibration, progressive disclosure) and apply the fixes the audit surfaces. Do not use for format-presence-only checks (use reviewer-prompt) or reproducibility loops (use /tuning).
tools
Internal helper for /think Step 11. Renders SOW.md + Spec.md as an integrated Astro view and returns a dev server URL.
development
Extract repository spec while detecting bugs, spec gaps, and consistency drift via dual-purpose documentation. OUTCOME.md-axis question-driven exploration with ephemeral output. Do NOT use for code review (use /audit or /polish), feature implementation (use /code), planning only (use /think), or single-bug fix (use /fix).