# Map the Current CookMode V2 Codebase

Understanding an unfamiliar codebase is slow when architecture and file ownership are unclear. This skill produces factual maps of CookMode V2 components, data flow, and implementation locations.

## Install

```bash
npx skillstore add adamfehse/cookmode-v2-source-of-truth
```

## Metadata

- Status: approved
- Slug: adamfehse-cookmode-v2-source-of-truth
- Skillstore revision: r2
- Version status: missing
- Tree hash: 1965c8e7980764eb12665e2377fb2b950e88504a49093d5e442d8563797c4bc4
- Author: AdamFehse
- GitHub username: AdamFehse
- License: MIT
- Repository: https://github.com/AdamFehse/cookmodeV2/tree/main/.claude/skills/source-of-truth
- Ref: 80999bf530a7874d7bedf8ce202001ecb4c4f5e0
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands
- Quality score: 76
- Public page: https://skillstore.pages.dev/skills/adamfehse-cookmode-v2-source-of-truth
- Manifest: https://skillstore.pages.dev/api/skills/adamfehse-cookmode-v2-source-of-truth/manifest

## Capabilities

- Explains the documented React component flow from App through recipe views.
- Maps the documented Supabase, React hook, and real-time data flow.
- Identifies referenced CookMode V2 files and documented line ranges.
- Produces factual component and feature documentation in Markdown.
- Summarizes the documented styling approach and database tables.

## Use Cases

- Onboard to the recipe application: Request a map of the main components and data flow before making your first change.
- Locate a feature implementation: Find the documented files and interactions behind recipe scaling or real-time updates.
- Prepare technical handoff notes: Create a factual overview of the current architecture for teammates or stakeholders.

## Prompt Templates

### Explain a component

```
Explain what RecipeModal does in CookMode V2. Include where it fits in the component flow.
```

### Trace recipe data

```
Describe how recipe data moves from local state to Supabase and back to connected clients.
```

### Map recipe scaling

```
Document the current recipe-scaling feature. Include the relevant files, documented line ranges, data changes, and interactions.
```

### Create an architecture reference

```
Create a factual Markdown architecture map for CookMode V2. Cover frontend structure, hooks, Supabase integration, styling, and database tables. Do not suggest changes.
```

## Limitations

- It documents only the CookMode V2 implementation available in the working project.
- It does not verify that referenced files or line numbers remain current without inspecting them.
- It avoids recommendations, refactoring plans, and root-cause analysis unless explicitly requested.
- It cannot implement changes or run the application by itself.

## Best Practices

- Ask for a specific feature, component, or data path when possible.
- Request file paths and interactions when preparing implementation work.
- Ask explicitly for analysis or recommendations if you need more than factual documentation.

## Anti Patterns

- Do not treat the documentation as proof that the current repository has not changed.
- Do not expect unsolicited refactoring or performance recommendations.
- Do not use this skill as a substitute for testing runtime behavior.

## Security Audit

- Audited at: 2026-07-18T09:57:31.942\+00:00
- Summary: All 15 static external-command detections are false positives caused by Markdown fences and inline code formatting in SKILL.md. The skill contains documentation guidance only; no executable shell or Ruby command is present. No prompt-injection, credential-exfiltration, or destructive intent was found.

## Stats

- Views: 191
- Downloads: 8
- Favorites: 0
- Popularity score: 0
