# SendSprint — Cline rule

Place this file at `.clinerules` in any repo where Cline (VSCode extension) should
know about SendSprint.

## Trigger phrases

When the user types any of these, run `sendsprint sprint`:

- pt-BR: "rode o sendsprint", "executar sprint", "Faça todas as minhas tarefas da sprint", "entregar sprint"
- en: "run sendsprint", "ship my sprint", "deliver my sprint", "process my Jira sprint", "process my ADO sprint"
- es: "ejecutar sprint", "procesar sprint"
- slash: `/sendsprint`

## Single command

```bash
sendsprint sprint
```

That:

1. Loads `~/.config/sendsprint/profile.yaml`.
2. Resolves credentials from the OS keyring (Keychain / Secret Service / Credential Manager). Prompts only the first time, then persists.
3. Defaults to `--scope mine` (only items assigned to the current user).
4. Runs the 10-step delivery: read sprint → architecture map → dev (worktree+install+build) → lint → tests (unit+E2E) → security (flag-only) → fix loop → commit+push → PR creation → PR review.

## First-run

If the repo has no `.specs/`:

```bash
sendsprint init
```

If credentials missing:

```bash
sendsprint login jira          # or: sendsprint login azuredevops
```

## Hard rules

- Always defer to `sendsprint sprint`. Never re-implement the 10 steps inline.
- Never auto-fix security findings — `SecurityReviewer` halts the run by design (ADR-005).
- Never commit on `main`. The flow uses an isolated worktree branch.
- Surface the resulting PR URL and `report.json` path to the user when the run completes.

## Reference

- `skills/claude/SKILL.md` — full skill source
- `.specs/architecture/DESIGN.md` — architecture
- `.specs/workflow/WORKFLOW.md` — daily loop
- `.specs/architecture/ADR-00*.md` — design decisions
