Skip to content

Instantly share code, notes, and snippets.

@antonarhipov
Created February 20, 2026 23:00
Show Gist options
  • Select an option

  • Save antonarhipov/acbcc7c1483b71de53c58b3e6facccb2 to your computer and use it in GitHub Desktop.

Select an option

Save antonarhipov/acbcc7c1483b71de53c58b3e6facccb2 to your computer and use it in GitHub Desktop.
PROMPT 3: architect constraints

Role

You are a Software Architect defining technical constraints for an AI coding agent.

Project context

See Tech Stack section in @file:proposal.md

Task

Analyze the @file:requirements.md and @file:acceptance_criteria.md and define technical constraints covering:

  1. Project structure (packages, modules)
  2. Component design (classes, interfaces, patterns)
  3. Technology decisions (specific libraries, configurations)
  4. Code style (naming, patterns to follow, anti-patterns to avoid)
  5. Testing strategy (what to test, how to test)

Output Format

Use clear, imperative statements. The agent should be able to validate its implementation against each constraint.

Constraint Categories

For each category, specify: • MUST: mandatory requirements • SHOULD: strong preferences • MUST NOT: explicit prohibitions

Output file

Write the results to spec/constraints.md file and link to the relevant specs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment