plugins/project/skills/project-context/SKILL.md
Generates and maintains a hierarchical .context/ directory with architecture overviews, coding conventions, domain glossaries, and dependency maps that give any LLM working in the project the right background. Use when setting up a new project for AI-assisted development, when the user asks to create or update context docs, when onboarding a new LLM tool to an existing codebase, or when the user says the AI doesn't understand their project.
npx skillsauth add lucasilverentand/skills project-contextInstall 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.
Build and maintain the .context/ directory — a set of markdown files that give any LLM (Claude, Cursor, Copilot, Windsurf, etc.) the background it needs to work effectively in this codebase. These files are tool-agnostic. Agent-specific files like CLAUDE.md or .cursorrules reference them.
basename $(git rev-parse --show-toplevel)git rev-parse --show-toplevells .context/ 2>/dev/null || echo "no .context/ directory".context/ exists) -> follow "Initial setup" below.context/ exists) -> follow "Audit and update" belowRun these to understand the codebase:
ls the root and major directories to understand structurepackage.json, Cargo.toml, go.mod, pyproject.toml, or equivalent for dependenciesgit log --oneline -20 for recent activity and commit style**/*.config.*, **/tsconfig*, biome.json, .eslintrc*, etc.Based on analysis, recommend which documents the project needs. Every project gets overview.md. The rest depend on complexity:
|Document|When to include|What it covers|
|---|---|---|
|overview.md|Always|Architecture, module boundaries, data flow, key decisions|
|conventions.md|Projects with >5 files|Coding standards, naming, error handling, file organization|
|glossary.md|Domain-heavy projects|Business terms, entity definitions, domain relationships|
|dependencies.md|Projects with >3 external deps|Key deps, why chosen, how configured, what for|
|<dirname>.md|Major subdirectories (src/, api/, lib/, etc.)|Subdirectory-specific architecture and conventions|
Present the plan as a checklist and get user confirmation before generating.
For each document in the plan:
references/document-formats.md.context/<name>.mdGenerate overview.md first since other documents reference it.
After generating .context/, suggest additions to agent-specific files:
See .context/ for project architecture, conventions, and domain knowledge.Don't overwrite existing content — append the pointer or suggest where to add it.
Compare the current .context/ files against the actual codebase:
.context/*.md filePresent a table:
| File | Status | What changed |
|---|---|---|
| overview.md | Stale | New api/ module added, auth rewritten |
| conventions.md | Accurate | — |
| glossary.md | Missing terms | "workspace" and "tenant" used but undefined |
For each stale or missing item:
.context/ file with accurate informationWhen the user asks for a specific document:
references/document-formats.md.context/ doesn't exist yet, create it and also generate overview.md as a baselineContext documents serve LLMs, not humans. This changes how you write:
src/auth/ with the main entry point at src/auth/index.ts" beats "the auth module"|File|What it covers|
|---|---|
|references/document-formats.md|Templates and structure for each document type|
development
Cross-platform Apple Human Interface Guidelines: color, typography, layout, materials, motion, accessibility, SF Symbols, branding, plus shared UI elements (activity views, rating indicators, web views, …) and meta sections (components, patterns, technologies). Use when the design topic is platform-agnostic. User says: "iOS color tokens", "SF Symbols", "Apple typography", "dark mode guidance".
development
Guides a full system design from idea to spec — sequences requirements gathering, architecture decomposition, data modeling, API design, and document writing into a coherent workflow with clear handoffs. Use when the user asks to "design a system", "build X from scratch", "architect something end-to-end", "plan a new service", or has a broad design ask that spans multiple concerns. Also use when the user says things like "I need to build X" without specifying which aspect to start with. This is the entry point for any design task that isn't clearly scoped to a single skill (data model only, API only, etc.).
development
Synthesizes build-ready design systems and DESIGN.md files from chat briefs, screenshots, moodboards, videos, URLs, live pages, or local image folders while preserving the target product identity. Use when the user asks to "make a design system from these screenshots", "turn this moodboard into DESIGN.md", "extract the design language from this video", "define the UX vibe and rules from these references", or create cohesive UI rules from visual inspiration.
development
Reviews and critiques an existing or proposed system design — flags single points of failure, missing non-functional requirements, scaling bottlenecks, security gaps, operational blind spots, unjustified tech choices, and places where the design will fall over under load or failure. Produces a structured review with severity-tagged findings, not just vibes. Use when the user asks for a second opinion on an architecture, requests a design review, wants feedback on a proposed system, pastes a design doc, or says things like "review this design", "what's wrong with X", "poke holes in this", or "is this a good architecture".