Skip to content
Back to skills

Aval Pr

ASecurity

Write issues and pull requests as specs an agent can act on: fixed sections, filterable labels, no prose to interpret. Trigger: create or file an issue, report a bug, request a feature, open or prepare a PR, branch naming, PR description, labels.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
developmentgo

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned December 2, 2026

npx -y skills add alvaroofernaandez/aval --skill aval-pr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Aval Pr?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Aval Pr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/alvaroofernaandez-aval-pr/badge)](https://www.skillsdirectory.com/skills/alvaroofernaandez-aval-pr)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: aval-pr
description: "Write issues and pull requests as specs an agent can act on: fixed sections, filterable labels, no prose to interpret. Trigger: create or file an issue, report a bug, request a feature, open or prepare a PR, branch naming, PR description, labels."
---

## Activation contract

Load when creating an issue, naming a branch or opening a PR. Issues and PRs are **specs for agents first**: the lightest form an agent can parse and act on without asking. Humans read the same text. Commit shape and chained PRs: `aval-work-units`.

## Hard rules

- **Fixed sections, in order**: Goal, Scope, Acceptance criteria, Files, Test plan, Out of scope. Templates: [templates/issue.md](templates/issue.md), [templates/pr.md](templates/pr.md). Fill every section; write `none` instead of deleting one.
- **No prose an agent must interpret.** One-line goal; scope and criteria as short bullets; each criterion is checkable by a command or an observable result ("`go test ./x` passes", "`aval foo` exits 0"), never "works well".
- **Facts, not stories.** Real paths, commands and numbers read from the repo or a run. No history, no emojis, no motivation essay. Hypotheses are labelled `hypothesis`, never stated as root cause.
- **A diagram only when it removes ambiguity** (a flow or a state machine that bullets cannot say). Then one small Mermaid block, not several.
- **Labels an agent can filter on**, exactly one per axis (below). A PR copies the issue's `type:` and `area:`.
- **Search first**: `gh issue list --state all --search "<keywords>"`; extend a duplicate instead of opening another.
- **Link, do not repeat**: `Closes #N` in the PR body when an issue exists; the PR does not restate the issue.
- **No AI attribution** in titles, bodies or commits. Never push or open a PR unasked.

## Labels

| Axis | Values | Meaning |
| --- | --- | --- |
| `type:` | `feat` `fix` `docs` `refactor` `perf` `test` `chore` `breaking` | same words as the Conventional Commit type |
| `area:` | the repo's own (`area:core`, `area:tui`, ...) | the module touched; one |
| `size:` | `s` (<= 100 changed lines) `m` (<= 400) `l` (> 400, split first) `exception` | review budget |
| `status:` | `ready` `in-progress` `blocked` `review` | `ready` = the spec is complete and an agent can start |

Create what is missing with `gh label create "type:fix" --force --color <hex>`; never invent a fifth axis.

## Issue

1. Search for duplicates, then fill `templates/issue.md`.
2. Title: `type(scope): outcome`, under 70 characters.
3. `gh issue create --title "..." --body-file <file> --label "type:fix,area:core,size:s,status:ready"`.
4. Bug: Goal states the observed vs expected behaviour; the Test plan is the reproduction command.

## Branch

`<type>/<kebab-description>`, matching `^(feat|fix|chore|docs|refactor|perf|test|build|ci|revert)/[a-z0-9._-]+$`. Chain slices add `-01-`, `-02-` (see `aval-work-units`).

## Pull request

1. Confirm the diff holds one unit and stays within 400 changed lines; otherwise split first.
2. Fill `templates/pr.md` from the issue's sections plus what actually changed: Files lists real files, Test plan lists commands that ran with their results.
3. Title is the Conventional Commit of the change.
4. `gh pr create --title "..." --body-file <file> --label "type:fix,area:core,size:s,status:review"`.
5. Chained PR: also fill the chain block (position, base, depends on, follow-up).

## Output contract

Return the issue or PR URL, its labels, and the template sections left as `none` with the reason.

Files in this skill

  • SKILL.md3.5 KB
  • templates/issue.md320 B
  • templates/pr.md520 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.