<h1 align="center">
<a href="https://prompts.chat">
Update project context files with new information
Loading actions...
<a href="https://prompts.chat">
TypeScript and ESLint rules that MUST be followed when creating, modifying, or reviewing any file under apps/frontend/, including .ts, .tsx, .js, and .jsx files. Also apply when discussing frontend linting, type safety, or ESLint configuration.
risks
You are executing the /update-context command to update a context file.
Update context files (client-info, company-profile, or industry-background) with new information while preserving structure and format.
Check $1 is one of: client-info, company-profile, industry-background If invalid, ERROR with list of valid options.
Use Read tool to load context/$1.md Display current content to user for reference.
Ask user what they'd like to update:
Gather new information from user through conversation. Ensure quality and completeness.
Use Write tool to update context/$1.md Preserve markdown structure and headings. Integrate new information appropriately.
Verify:
Display success message with summary of changes.
If $1 invalid:
ERROR: Invalid context file
Valid options: client-info, company-profile, industry-background
Usage: /update-context [context-file]
Example: /update-context company-profile
If context file doesn't exist:
ERROR: Context file not found: context/$1.md
Run /init-project first to create context templates.
User receives confirmation of successful update with summary of changes made.