modify-agent-prompts
Modify Agent Prompts and Configuration
Agent Architecture
review-item-processor/
├── agent.py # Prompt generators + agent execution
├── model_config.py # Model registry with capabilities
├── tools/
│ ├── factory.py # Dynamic tool creation
│ ├── knowledge_base.py # Bedrock KB integration
│ ├── code_interpreter.py
│ └── mcp_tool.py # MCP tool support
└── index.py # Lambda handler entry point
Common Modifications
1. Modifying Document Review Prompts
More from aws-samples/review-and-assessment-powered-by-intelligent-documentation
deploy-cdk-stack
Deploy RAPID application AWS infrastructure using CDK, including stack deployment, database migrations, and post-deployment verification. Use when explicitly asked to deploy, when running CDK bootstrap for first-time setup, or when deploying after code or infrastructure changes. Only execute when user says "please deploy".
1add-example
Add new example use cases to the Examples feature, including file setup, metadata registration, thumbnail generation, and link verification. Use when a contributor provides PDF/PNG/TXT files for a new use case, when adding entries to the Examples page, or when verifying existing example GitHub URLs are accessible.
1build-and-format
Run build verification and code formatting across all RAPID project components (backend, frontend, CDK). Use after implementing code changes, before committing, after modifying Prisma schema, or before creating a pull request.
1ui-css-patterns
UI/CSS design patterns and component reference for the RAPID frontend, covering color semantics, button variant selection, status badge colors, dark mode, spacing, and component inventory. Use when implementing UI components, choosing button variants or colors, styling with Tailwind CSS, or checking available shared components.
1modify-cdk-workflows
Modify CDK Step Functions workflows (ReviewProcessor and ChecklistProcessor) for the RAPID application, including workflow step changes, Map State concurrency, retry/timeout configuration, error handling, and parameter updates. Use when changing workflow step sequences, adjusting concurrency, modifying retry logic, or adding/removing workflow steps.
1test-database-feature
Run repository integration tests against a local MySQL database for the RAPID backend. Use after implementing new repository methods, modifying Prisma database schema, testing use cases that depend on database access, or verifying data access patterns.
1