agentleFS
GusY2KGusY2K/y2k-labs/.cursor/rules/po-skills.mdc

y2k-labs / rules

Cursor rule3 starsChanged 9 months agoApache-2.0View on GitHub

PO Skills - Product Owner automation for Azure DevOps

  • Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.

    Of the Cursor rule files we read, the 1,531 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository3 other files it gives its agents.

The file

We split this po-skills.mdc into the rules it gives an agent

4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Instructions: Read skills/azure-devops-backlog-creator/SKILL.md for the full execution protocol.

    line 20
  2. Very specific:

    Instructions: Read skills/backlog-health-audit/SKILL.md for audit rules and severity levels.

    line 29
  3. Very specific:

    Instructions: Read skills/sprint-planner/SKILL.md for the planning algorithm.

    line 38
  4. Very specific:

    Instructions: Read skills/work-item-templates/SKILL.md for the full template catalog.

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
po-skills.mdc
---
description: PO Skills - Product Owner automation for Azure DevOps
globs:
alwaysApply: true
---

# PO Skills for Azure DevOps

This project provides 4 Product Owner agent skills that automate Azure DevOps backlog management. All skills require the Azure CLI with the `azure-devops` extension and authenticated access (`az login`).

## Available Skills

### 1. azure-devops-backlog-creator
**Trigger:** User provides a document (PRD, spec, feature brief, meeting notes) and asks to create work items, generate a backlog, or populate Azure DevOps.

**What it does:** Reads the document and creates a full backlog hierarchy: Epics, Features, User Stories, Tasks, and Bugs with parent-child links, acceptance criteria (Given/When/Then), story points (Fibonacci), priority (1-4), and session tagging for rollback.

**Invocation:** `/azure-devops-backlog-creator <document> [--org=<org>] [--project=<project>] [--dry-run] [--type=<agile|scrum|basic>]`

**Instructions:** Read `skills/azure-devops-backlog-creator/SKILL.md` for the full execution protocol. Always show a plan and wait for user approval before creating items.

### 2. backlog-health-audit
**Trigger:** User asks to audit, check, clean up, or review backlog quality. Phrases like "audit my backlog", "check my board", "find stale items", "grooming prep".

**What it does:** Scans the existing Azure DevOps backlog and generates a health report (0-100 score) identifying: stories without acceptance criteria, bugs without repro steps, orphaned tasks, stale items, duplicates, unbalanced sprints.

**Invocation:** `/backlog-health-audit [--org=<org>] [--project=<project>] [--output=<report.md>] [--fix]`

**Instructions:** Read `skills/backlog-health-audit/SKILL.md` for audit rules and severity levels. Read-only by default; only auto-fix LOW severity issues when `--fix` is passed.

### 3. sprint-planner
**Trigger:** User asks to plan sprints, assign items to iterations, balance sprint load, or check capacity. Phrases like "plan the next sprint", "distribute the backlog", "velocity planning".

**What it does:** Analyzes the backlog and suggests optimal sprint assignments based on velocity (auto-calculated from last 3 sprints), priority ordering, dependency awareness, and load balancing (targets 80-90% capacity).

**Invocation:** `/sprint-planner [--velocity=<points>] [--sprints=<count>] [--output=<plan.md>] [--assign]`

**Instructions:** Read `skills/sprint-planner/SKILL.md` for the planning algorithm. Never assign items to sprints without user approval.

### 4. work-item-templates
**Trigger:** User asks to scaffold, template, or generate standard work items for common patterns (API endpoint, CRUD feature, database migration, CI/CD pipeline, etc.).

**What it does:** Generates pre-built Azure DevOps work item hierarchies from 18 proven templates across backend, frontend, full-stack, DevOps, and bug-fix categories.

**Invocation:** `/work-item-templates <template-name> [--title=<name>] [--dry-run]`

**Instructions:** Read `skills/work-item-templates/SKILL.md` for the full template catalog. Show the template, let the user customize, then create after confirmation.

## Prerequisites

All skills require:
1. Azure CLI installed (`az --version`)
2. Azure DevOps extension (`az extension add --name azure-devops`)
3. Authentication (`az login`)
4. Defaults configured (`az devops configure --defaults organization=https://dev.azure.com/ORG project=PROJECT`)

## Key Rules

- **Never create items without user approval** of the plan
- **Never modify or delete existing work items** unless explicitly asked
- **Always verify after creation** with count checks and hierarchy validation
- **Tag all created items** with session tags for rollback support

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.