Agent skill
brownfield-enrich
Schema reference for comment enrichment. The enrichment workflow is printed by `wednesday-skills map` in the `[ENRICH]` block — follow those instructions.
Install this agent skill to your Project
npx add-skill https://github.com/wednesday-solutions/ai-agent-skills/tree/main/skills/brownfield-enrich
SKILL.md
When to use
This skill is a schema reference. The full enrichment workflow is printed by wednesday-skills map
in the [ENRICH] block when no API key is set — follow those steps directly.
Load this skill only when you need the comments-enriched.json format spec or the enrichment rules.
What to do
-
Read
.wednesday/codebase/analysis/comments-raw.md- Each
## \dir/`` section is one module - Tagged table: severity, tag, file, line, comment text
- Substantive untagged list: developer explanations and architecture notes
- Each
-
The
[ENRICH]block in the terminal output already printed a pre-populated template forcomments-enriched.json. Use it — fill in thenullfields for each module. -
For each module that has tagged or untagged comments, determine:
purpose: 1 sentence — what does this module do, inferred from the commentstechDebt:"high"|"medium"|"low"|"none"- high = multiple FIXME/BUG/XXX or systemic HACK/KLUDGE
- medium = several TODO/HACK
- low = minor TODOs only
- none = no debt signals
isBizFeature:trueif this is a business feature (auth, payments, users, orders, notifications...)falseif infrastructure (utils, helpers, config, logging, db, cache...)ideas: array of up to 3 concrete improvement suggestions drawn from the comments, or[]- Leave
purpose: nullfor modules with zero comments — do not invent
-
Write
.wednesday/codebase/analysis/comments-enriched.jsonusing the Write tool (not Bash, not Python — just Write tool directly). -
Report to dev:
- How many modules were enriched
- How many are biz features vs infrastructure
- Top 3 modules by tech debt
comments-enriched.json schema
This is a flat overlay — only enrichment fields. The CLI merges it with comments.json on load.
Do NOT copy the full comments.json structure. Write only this shape:
{
"enrichedAt": "2026-03-24T12:00:00.000Z",
"reversePrd": "2–3 paragraphs: what the project does, who uses it, main flows, biggest debt areas",
"modules": {
"src/auth": {
"purpose": "Handles JWT-based authentication and session management",
"techDebt": "medium",
"isBizFeature": true,
"ideas": ["Extract token refresh into a dedicated service", "Add rate limiting to login"]
},
"src/utils": {
"purpose": "Shared string/date utilities",
"techDebt": "none",
"isBizFeature": false,
"ideas": []
}
}
}
Never
- Read raw source files — only read
comments-raw.md - Write Python or Bash scripts to manipulate JSON — use the Write tool directly
- Run
wednesday-skills map(full re-parse) — not needed; the CLI picks up enrichment automatically - Write to
comments.jsondirectly — write tocomments-enriched.json(the overlay)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
wednesday-design
Design and UX guidelines for Wednesday Solutions projects. Covers visual design tokens, animation patterns, component standards, accessibility, and user experience best practices for React/Next.js applications. ENFORCES use of approved component libraries only.
brownfield-gaps
Improves graph coverage for a specific file with dynamic/unannotated patterns (event emitters, dynamic require, global injection). Use when dep-graph shows gaps on a file or when chat/query returns "not mapped". Not for querying — only for improving coverage.
onboard-dev-agent
Use when a dev is new to the project, asks for an overview, or wants to get oriented quickly. Fills graph gaps then runs a guided codebase interview.
pr-review-agent
Full PR review orchestrator. Use when asked to review a PR or check if it is ready to merge. Runs blast radius + drift check on changed files, then hands off to pr-review for comment triage and fixes. Do NOT use pr-review directly for full reviews — use this.
module-audit-agent
Use when asked to audit a module, check its health, or assess whether it should be refactored. Runs structural query, risk check, and test generation automatically.
deploy-checklist
Pre-deploy and post-deploy checklist skill. Ensures env vars, migrations, CI, rollback plan, smoke tests, and monitoring are verified before and after every deployment.
Didn't find tool you were looking for?