← ClaudeAtlas

component-context-generatorlisted

Generates a CONTEXT.md file for a PrestaShop shared component inside the `.ai/Component/` folder. Trigger this skill when the user asks to "generate a context for [Component]", "document the [X] component", "fill in the CONTEXT.md for [Component]", or when working inside `.ai/Component/` directories. Components live under `src/Core/{Name}/` and/or `src/Adapter/{Name}/` — they are shared infrastructure, not business domains. Examples: Grid, Form, Hook, CQRS, Translation, Router.
jeffsenso/prestashop-skills · ★ 4 · Web & Frontend · score 76
Install: claude install-skill jeffsenso/prestashop-skills
# PrestaShop Component CONTEXT.md Generator ## Purpose Generate a lean, accurate `CONTEXT.md` for a PrestaShop shared component (`src/Core/{Name}/` + `src/Adapter/{Name}/`) by exploring the real codebase. Components are **not** business domains — they have no CQRS structure. They provide shared infrastructure consumed by many domains. ## Output format **Principle: paths not inventories.** Class names are greppable on demand. What earns tokens is: - The layer table (where to look) - Non-obvious patterns (things that would surprise a competent PHP developer) ```markdown # {Component Name} Component > **Status:** Draft — this context file is a starting point and should be refined by domain experts. ## Purpose {1–2 sentences: what this component provides and what it does NOT do} ## Layers | Layer | Path | |-------|------| | {layer name} | {path} | ## Non-obvious patterns - {bullet: surprising architectural decision, gotcha, or non-obvious constraint} ## Canonical examples - {file path — 1-line role} ## Skills - [`skill-name`](../../skills/skill-name/SKILL.md) — one-line description ## Related - [{Component}]({path}) — {why related} ``` **`## Skills` is optional** — only include it if a skill in `.ai/skills/` targets this component. Omit the section entirely if no relevant skill exists. **Do NOT include:** `## Coding standards`, `## Do`, `## Don't`, `## Testing expectations`, `## Architecture overview` with verbose subsections. These inflate token cost without