agentleFS
farukzahrafarukzahra/agent-skills/.cursor/rules/finish-task-dev-server.mdc

agent-skills / rules

Cursor rule0 starsChanged 3 months agoMITView on GitHub

Ao concluir tarefas, subir servidor dev e informar URL de teste

The file

Files
finish-task-dev-server.mdc
---
description: Ao concluir tarefas, subir servidor dev e informar URL de teste
alwaysApply: true
---

# Servidor dev ao concluir tarefa

Sempre que terminar uma task de implementação, correção ou validação de UI/API:

1. **Detectar a stack** — `AGENTS.md`, `README.md`, `package.json`, `docs/stack.md`.
2. **Verificar se o servidor já está no ar** — checar terminais e portas documentadas.
3. **Subir o que faltar sem pedir permissão** — backend, frontend ou app full-stack, conforme o projeto.
4. **Validar** — health check, título da página ou endpoint equivalente documentado no projeto.
5. **Informar ao usuário** — URLs efetivas (incluindo porta de fallback se a padrão estiver ocupada).

## Faruk Base / example

Stack Next.js full-stack (front + API no mesmo processo):

```bash
cd example && pnpm dev
```

- URL padrão: http://localhost:3000
- Fallback se 3000 ocupada: http://localhost:3001
- Validar: `GET /api/health` ou página de login

Não encerrar a resposta sem as URLs de teste quando a task alterou código executável.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.