chore: moving towards agentic development
Some checks failed
Backend CI/CD / build_and_deploy (push) Has been cancelled
Frontend CI/CD / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-04-24 21:12:26 -04:00
parent df3e602015
commit b6eb692c27
179 changed files with 2880 additions and 866 deletions

View File

@@ -0,0 +1,30 @@
# Backend Task Prompt
You are implementing a backend task in this repository.
## Read First
- `AGENTS.md`
- `docs/ARCHITECTURE.md`
- `docs/DEVELOPMENT_WORKFLOW.md`
- `docs/AGENTIC_WORKFLOW.md`
- Relevant feature spec in `docs/FEATURES/`
- Relevant task file in `docs/TASKS/`
## Instructions
- Implement only the requested backend task.
- Keep code under `backend/src/Socialize.Api`.
- Follow the existing FastEndpoints module structure.
- Add or update tests under `backend/tests/Socialize.Tests` when the behavior is testable.
- Do not introduce repository/service layers unless the task explicitly requires it.
## After Coding
Run or recommend:
```bash
dotnet build backend/Socialize.slnx
dotnet test backend/Socialize.slnx
./scripts/update-openapi.sh
```

24
docs/PROMPTS/debug.md Normal file
View File

@@ -0,0 +1,24 @@
# Debug Prompt
You are debugging a specific failure in this repository.
## Read First
- `AGENTS.md`
- `docs/ARCHITECTURE.md`
- `docs/DEVELOPMENT_WORKFLOW.md`
## Error
Paste the full error here.
## Instructions
- Identify the most likely root cause.
- Make the smallest safe fix.
- Do not refactor unrelated code.
- Explain how to verify the fix.
## Validation
List the exact command or commands to run after the fix.

View File

@@ -0,0 +1,30 @@
# Frontend Task Prompt
You are implementing a frontend task in this repository.
## Read First
- `AGENTS.md`
- `docs/ARCHITECTURE.md`
- `docs/DEVELOPMENT_WORKFLOW.md`
- `docs/AGENTIC_WORKFLOW.md`
- Relevant feature spec in `docs/FEATURES/`
- Relevant task file in `docs/TASKS/`
## Instructions
- Implement only the requested frontend task.
- Existing route-level app screens live under `frontend/src/views/app`.
- New isolated feature slices should prefer `frontend/src/features/<feature>`.
- Use `frontend/src/config.js` for runtime configuration.
- Preserve token refresh behavior in `authStore` and `frontend/src/plugins/api.js`.
- Use generated API types from `frontend/src/api/schema.d.ts` when the endpoint has been generated.
## After Coding
Run or recommend:
```bash
cd frontend
npm run build
```

29
docs/PROMPTS/refactor.md Normal file
View File

@@ -0,0 +1,29 @@
# Refactor Prompt
You are refactoring part of this repository.
## Read First
- `AGENTS.md`
- `docs/ARCHITECTURE.md`
- `docs/AGENTIC_WORKFLOW.md`
- Relevant feature spec
## Scope
Describe the exact refactor boundary.
## Rules
- Preserve behavior.
- Do not add features.
- Keep the diff focused.
- Update docs if structure or workflow changes.
- Run tests/builds after.
## Validation
```bash
dotnet test backend/Socialize.slnx
cd frontend && npm run build
```