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.

Stars 145
Forks 15

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

  1. 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
  2. The [ENRICH] block in the terminal output already printed a pre-populated template for comments-enriched.json. Use it — fill in the null fields for each module.

  3. For each module that has tagged or untagged comments, determine:

    • purpose: 1 sentence — what does this module do, inferred from the comments
    • techDebt: "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: true if this is a business feature (auth, payments, users, orders, notifications...) false if infrastructure (utils, helpers, config, logging, db, cache...)
    • ideas: array of up to 3 concrete improvement suggestions drawn from the comments, or []
    • Leave purpose: null for modules with zero comments — do not invent
  4. Write .wednesday/codebase/analysis/comments-enriched.json using the Write tool (not Bash, not Python — just Write tool directly).

  5. 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:

json
{
  "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.json directly — write to comments-enriched.json (the overlay)

Expand your agent's capabilities with these related and highly-rated skills.

wednesday-solutions/ai-agent-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.

145 15
Explore
wednesday-solutions/ai-agent-skills

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.

145 15
Explore
wednesday-solutions/ai-agent-skills

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.

145 15
Explore
wednesday-solutions/ai-agent-skills

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.

145 15
Explore
wednesday-solutions/ai-agent-skills

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.

145 15
Explore
wednesday-solutions/ai-agent-skills

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.

145 15
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results