dev-workflow

Prompt: Update Context Files

Run this AFTER the documentation and audit prompts have been completed. Updates .cursorrules and CLAUDE.md in each repo using the generated documentation and audit findings.


Instructions for AI

You have access to freshly generated documentation (docs/) and audit reports (audit/) for this project. Your job is to update the AI context files in each repository so they reflect the current state of the codebase.

Process

  1. Read all files in docs/ and audit/ directories.
  2. Read the existing .cursorrules and CLAUDE.md in each repo.
  3. Update each file using the process below.
  4. Do NOT delete existing rules or conventions that are still accurate — merge new context into what’s already there.

For each repo, update .cursorrules with:

For each repo, update CLAUDE.md with:

Quality checks