generated from bisco/codex-bootstrap
Initial commit
This commit is contained in:
37
.codex/prompts/bugfix.md
Normal file
37
.codex/prompts/bugfix.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# Bugfix prompt
|
||||
|
||||
```text
|
||||
You are working in this repository as Codex.
|
||||
|
||||
Mandatory instructions:
|
||||
- Read AGENTS.md and all relevant files under .codex/ before making changes.
|
||||
- Start from develop.
|
||||
- Create a dedicated fix branch.
|
||||
- Reproduce the bug with a failing test before implementing the fix, when practical.
|
||||
- Implement the minimal fix.
|
||||
- Run the configured Docker-based test command from .codex/project.md.
|
||||
- Update documentation and ADRs if required.
|
||||
- Commit using Conventional Commits.
|
||||
|
||||
Bug description:
|
||||
<DESCRIBE THE BUG HERE>
|
||||
|
||||
Expected behavior:
|
||||
<DESCRIBE EXPECTED BEHAVIOR HERE>
|
||||
|
||||
Observed behavior:
|
||||
<DESCRIBE OBSERVED BEHAVIOR HERE>
|
||||
|
||||
Acceptance criteria:
|
||||
<LIST ACCEPTANCE CRITERIA HERE>
|
||||
|
||||
Final response must include:
|
||||
- branch name;
|
||||
- commit hash;
|
||||
- root cause;
|
||||
- summary of changes;
|
||||
- tests executed and result;
|
||||
- documentation/ADR updates;
|
||||
- residual risks;
|
||||
- rollback notes.
|
||||
```
|
||||
30
.codex/prompts/documentation.md
Normal file
30
.codex/prompts/documentation.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# Documentation prompt
|
||||
|
||||
```text
|
||||
You are working in this repository as Codex.
|
||||
|
||||
Mandatory instructions:
|
||||
- Read AGENTS.md and all relevant files under .codex/ before making changes.
|
||||
- Start from develop.
|
||||
- Create a dedicated docs branch.
|
||||
- Write documentation in English.
|
||||
- Keep documentation practical, concise, and operationally useful.
|
||||
- Update ADRs if documenting an architectural decision.
|
||||
- Run tests only if documentation changes affect generated docs, examples, commands, or checked files.
|
||||
- Commit using Conventional Commits.
|
||||
|
||||
Documentation task:
|
||||
<DESCRIBE DOCUMENTATION WORK HERE>
|
||||
|
||||
Acceptance criteria:
|
||||
<LIST ACCEPTANCE CRITERIA HERE>
|
||||
|
||||
Final response must include:
|
||||
- branch name;
|
||||
- commit hash;
|
||||
- summary of documentation changes;
|
||||
- tests/checks executed, if applicable;
|
||||
- ADR updates;
|
||||
- residual risks;
|
||||
- rollback notes.
|
||||
```
|
||||
36
.codex/prompts/refactor.md
Normal file
36
.codex/prompts/refactor.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# Refactor prompt
|
||||
|
||||
```text
|
||||
You are working in this repository as Codex.
|
||||
|
||||
Mandatory instructions:
|
||||
- Read AGENTS.md and all relevant files under .codex/ before making changes.
|
||||
- Start from develop.
|
||||
- Create a dedicated refactor branch.
|
||||
- Preserve existing behavior.
|
||||
- Do not introduce new features.
|
||||
- Do not perform unrelated cleanups.
|
||||
- Add tests only if coverage is missing for the behavior being preserved.
|
||||
- Run the configured Docker-based test command from .codex/project.md.
|
||||
- Update documentation and ADRs if required.
|
||||
- Commit using Conventional Commits.
|
||||
|
||||
Refactor goal:
|
||||
<DESCRIBE THE REFACTOR HERE>
|
||||
|
||||
Non-goals:
|
||||
<LIST WHAT MUST NOT CHANGE>
|
||||
|
||||
Acceptance criteria:
|
||||
<LIST ACCEPTANCE CRITERIA HERE>
|
||||
|
||||
Final response must include:
|
||||
- branch name;
|
||||
- commit hash;
|
||||
- summary of changes;
|
||||
- confirmation that behavior is preserved;
|
||||
- tests executed and result;
|
||||
- documentation/ADR updates;
|
||||
- residual risks;
|
||||
- rollback notes.
|
||||
```
|
||||
31
.codex/prompts/security-review.md
Normal file
31
.codex/prompts/security-review.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# Security review prompt
|
||||
|
||||
```text
|
||||
You are working in this repository as Codex.
|
||||
|
||||
Mandatory instructions:
|
||||
- Read AGENTS.md, .codex/security.md, and all enabled profiles before reviewing.
|
||||
- Do not make broad rewrites.
|
||||
- If fixes are requested, create a dedicated fix branch from develop.
|
||||
- Treat Docker, Ansible, deployment, authentication, authorization, logging, and CI/CD files as security-sensitive.
|
||||
- Run the configured Docker-based validation/test command if changes are made.
|
||||
- Update docs/security.md and ADRs if required.
|
||||
- Commit using Conventional Commits if changes are made.
|
||||
|
||||
Security review scope:
|
||||
<DESCRIBE SCOPE HERE>
|
||||
|
||||
Requested outcome:
|
||||
- Review only
|
||||
- Review and fix critical issues
|
||||
- Review and propose changes without applying them
|
||||
|
||||
Final response must include:
|
||||
- reviewed areas;
|
||||
- findings by severity;
|
||||
- changes made, if any;
|
||||
- tests executed and result, if applicable;
|
||||
- documentation/ADR updates;
|
||||
- residual risks;
|
||||
- rollback notes, if changes were made.
|
||||
```
|
||||
33
.codex/prompts/task.md
Normal file
33
.codex/prompts/task.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# Generic task prompt
|
||||
|
||||
Use this prompt for a generic implementation task.
|
||||
|
||||
```text
|
||||
You are working in this repository as Codex.
|
||||
|
||||
Mandatory instructions:
|
||||
- Read AGENTS.md and all relevant files under .codex/ before making changes.
|
||||
- Start from develop.
|
||||
- Create a dedicated feature branch.
|
||||
- Use the logical agent orchestration defined in .codex/orchestration.md.
|
||||
- Apply pragmatic TDD.
|
||||
- Implement only the minimal necessary change.
|
||||
- Run the configured Docker-based test command from .codex/project.md.
|
||||
- Update documentation and ADRs if required.
|
||||
- Commit using Conventional Commits.
|
||||
|
||||
Task:
|
||||
<DESCRIBE THE TASK HERE>
|
||||
|
||||
Acceptance criteria:
|
||||
<LIST ACCEPTANCE CRITERIA HERE>
|
||||
|
||||
Final response must include:
|
||||
- branch name;
|
||||
- commit hash;
|
||||
- summary of changes;
|
||||
- tests executed and result;
|
||||
- documentation/ADR updates;
|
||||
- residual risks;
|
||||
- rollback notes.
|
||||
```
|
||||
Reference in New Issue
Block a user