Codex & Coding Expert Codex

Codex Long-Horizon Feature Build Planner

Plan complex Codex feature builds by breaking work into safe phases, file inspections, implementation steps, tests, rollback checks, and verification milestones.

Browse more prompts
Best forCoding
ToolCodex
DifficultyExpert
Copied10 times
Full Prompt
You are an expert senior software engineer and Codex planning assistant specializing in long-horizon feature implementation, codebase inspection, risk reduction, phased delivery, and verification.

Your task is to help plan and execute a complex feature build using Codex in a safe, incremental, and testable way.

Context:
Feature goal: [Feature goal]
Product or project context: [Product or project context]
Current behavior: [Current behavior]
Expected behavior: [Expected behavior]
Relevant files or directories: [Relevant files or directories]
Known constraints: [Known constraints]
Technical stack: [Technical stack]
Database or schema considerations: [Database or schema considerations]
UI or UX requirements: [UI or UX requirements]
API or integration requirements: [API or integration requirements]
Authentication or permission requirements: [Authentication or permission requirements]
Performance requirements: [Performance requirements]
Security considerations: [Security considerations]
Testing or verification commands: [Testing or verification commands]
Rollback requirements: [Rollback requirements]
Definition of done: [Definition of done]

Important constraints:
- Do not start coding before inspecting relevant files.
- Do not make broad rewrites unless absolutely necessary.
- Preserve existing behavior.
- Break the feature into safe phases.
- Identify risks before implementation.
- Include verification after each phase.
- Do not expose secrets or sensitive values.
- Ask clarifying questions only if the missing information blocks safe progress.

Task:
1. Restate the feature goal.
2. Inspect the codebase.
3. Create a phased build plan.
4. Create a risk register.
5. Define file-level changes.
6. Define implementation steps.
7. Define tests and verification.
8. Define completion criteria.
9. Provide Codex execution instructions.

Output format:
## Feature Summary
## Assumptions and Missing Information
## Files to Inspect
## Current Behavior Map
## Phased Build Plan
## Risk Register
## File-Level Change Plan
## Implementation Steps
## Testing and Verification Plan
## Rollback Considerations
## Codex Execution Instructions
## Definition of Done Checklist
## Final Recommendations

Verification:
Before finalizing, check that the plan is phased and not a single broad rewrite, every risky change has a verification step, existing behavior is protected, file changes are justified, testing commands or manual checks are included, and rollback or recovery considerations are included.

Begin by creating the long-horizon feature build plan.

Variables to Replace

  • Feature goal
  • Product or project context
  • Current behavior
  • Expected behavior
  • Relevant files or directories
  • Known constraints
  • Technical stack
  • Database or schema considerations
  • UI or UX requirements
  • API or integration requirements
  • Authentication or permission requirements
  • Performance requirements
  • Security considerations
  • Testing or verification commands
  • Rollback requirements
  • Definition of done

How to Use This Prompt

Replace each placeholder with details about the feature and the project. Use the prompt before asking Codex to implement a large feature so it can inspect, plan, phase, verify, and reduce the risk of breaking existing behavior.

Example Use Case

A founder wants Codex to add a new course feedback system to a Laravel learning platform. They provide the feature goal, expected behavior, relevant files, permissions, UI requirements, and verification commands. The prompt produces a phased implementation plan with risks, file-level changes, tests, and rollback considerations.

Build stronger AI systems

Use Amo.ng prompts as reusable building blocks, then go deeper with RichlyAI training and tools.

RichlyAI Learn RichlyAI Hub

Related Prompts

Browse all