AGENT SKILL

review-feature-suite

Reviews a whole suite of `.feature` files against each other and reconciles them. This is cross-file consistency auditing for Gherkin and BDD. Makes sure that the suite holds one shared language across files, reuses step phrasing instead of duplicating it, carries no contradictory or redundant scenarios, and stays consistent in tags, naming, and data. Use whenever the user has several `.feature` files, in a Cucumber, SpecFlow, Behave, or plain Gherkin suite, and wants to audit, align, reconcile, or de-duplicate them as a set. Use it also when the user says "our features use different words for the same thing", "do these scenarios contradict each other", "find duplicate steps across our features", or "make our feature files consistent". To author or refine one feature on its own, use a single-feature skill such as define-behavior where one is available.

License 许可
MIT
最近更新
2026-11-06
Stars
★ 1
Forks
0

01 前言 Front Matter

name
review-feature-suite
description
Reviews a whole suite of `.feature` files against each other and reconciles them. This is cross-file consistency auditing for Gherkin and BDD. Makes sure that the suite holds one shared language across files, reuses step phrasing instead of duplicating it, carries no contradictory or redundant scenarios, and stays consistent in tags, naming, and data. Use whenever the user has several `.feature` files, in a Cucumber, SpecFlow, Behave, or plain Gherkin suite, and wants to audit, align, reconcile, or de-duplicate them as a set. Use it also when the user says "our features use different words for the same thing", "do these scenarios contradict each other", "find duplicate steps across our features", or "make our feature files consistent". To author or refine one feature on its own, use a single-feature skill such as define-behavior where one is available.
allowed-tools
[ "Read", "Glob", "Grep", "Edit", "AskUserQuestion" ]
argument-hint
[path to a features directory or glob]

03 SKILL.md 正文

Review Feature Suite

A single .feature file can be flawless on its own and still be wrong next to its neighbors. A BDD suite earns its value through three properties. The whole team shares one language, all the way down into the code. Step definitions are written once and reused. The features stand as living documentation that does not contradict itself. Those properties exist only across files, so you can only check them across files. That is the whole job of this skill: read every .feature file as one corpus, and reconcile it.

Work in two phases: critique first, edit second. Build the picture, present the findings, settle the judgment calls with the user, and only then change files.

Build the inventory first

The findings live in the relationships between files. Do not read one file at a time and judge as you go. Assemble a compact cross-file picture first, then reason over it. Use Glob to enumerate the .feature files from the path or glob that the user gave, and search the project when the user gave neither. Then use Grep to pull the raw material out of all files at once, instead of holding every full file in context:

  • Steps: every Given, When, Then, And, and But line, so you see which phrasings recur and which are near-duplicates.
  • Tags: every @tag, so you see the taxonomy and its typos.
  • Titles: every Feature:, Scenario:, and Scenario Outline: line.
  • Actors and data: the roles, the currency, number, and date values, and the named entities that recur, so drift in how they are written stands out.

Grep is the deterministic extraction layer. Your judgment turns that inventory into findings.

What to check

There are four clusters. The first two are usually mechanical to fix, once you choose the canonical form. The third is judgment that you report rather than resolve. The fourth is lint.

Shared language. The same role, object, or state must carry the same name everywhere, and it must reuse the words that the business already uses. Hunt synonym drift, such as order against purchase against cart, user against customer against shopper, and sign in against log in against authenticate. Hunt role-name drift too, such as Editor against editor against Content Editor. Also flag a role or state that scenarios lean on and the suite never introduces. The fix is to pick one canonical term per concept and use it everywhere. First confirm that the words really name one thing, as the next section describes.

Step-library consistency. Steps that mean the same thing must be phrased identically, because each distinct phrasing tends to spawn its own step definition in the automation layer. Drift here quietly doubles the code behind the suite. Cluster steps by behavior, not by string similarity. Given I am logged in and Given the user is signed in are the same step, despite low lexical overlap. Given the cart holds 3 items and Given the cart holds 4 items are deliberately different, despite high overlap. Lexical similarity proves nothing on its own, so judge by what the step does. Also flag parameterization drift, where one file hardcodes a value that another file parameterizes.

Logical consistency. Here the suite can actively mislead its readers. Look for contradictions, which are two scenarios that assert different outcomes for the same precondition and action. One example is SPRING10 that gives 10% off in one feature and 15% off in another. Another is a rule stated one way here and the opposite way there. Look for duplicated behavior specified in two places, because the two copies drift apart under maintenance. Look for orphaned preconditions, such as Given the user has a premium subscription when no scenario specifies how a user becomes premium. Report all of these, and resolve none of them in silence, because picking a side is a business decision rather than a cleanup.

Conventions and metadata lint. Check the connective tissue for consistency. File naming must use kebab-case aligned with the feature title, with one Feature per file. The tag taxonomy must carry no typos such as @regresion, and no single idea tagged two ways. Units, currency, dates, and the phrasing of observable outcomes must match, so €72 and 72 euros cannot both appear. Scenario titles must be declarative and say what is true, rather than "test X", and no title can repeat across files.

Resolve ambiguity before you fix anything

A suite-wide rename is only as good as the canonical form behind it, and several of those choices belong to the user. Collect every ambiguous point, and ask through AskUserQuestion, before you propose edits. A guess here is expensive: a wrong canonical term, or a side chosen in silence in a contradiction, propagates one confident mistake across every file at once.

Ask about at least these four things:

  • Which synonym is canonical when several name one concept. Do not assume that the most frequent one is the one that the business prefers.
  • Whether a near-name distinction is intentional. order against cart, customer against account, and submit against confirm can be real product distinctions. The suite is then right to keep them, rather than collapse them as drift.
  • Which outcome is correct in each contradiction. You report the conflict, and the user decides the truth.
  • Whether duplicated behavior is redundant or deliberate, before you merge it away.

Batch these into as few rounds as you can, so the user does not get drip-fed questions. Carry the answers into the fixes.

Critique first, fix second

Present the findings before you touch anything. Rank them by severity rather than group them by cluster, so the user sees what matters most first:

  • Blocking: a contradiction, or anything that makes the suite specify the wrong behavior.
  • Important: vocabulary drift, a duplicate or near-duplicate step, an orphaned precondition, or a real convention break.
  • Nit: cosmetic lint.

Tag each finding with its cluster, and point at the specific files and lines. Then offer to apply the findings. Offer three choices: every blocking and important finding, everything, or a subset the user picks. Make the edits directly. Get two things right while you apply them:

  • A vocabulary or step normalization must hit every occurrence in all files, not only the ones you quoted. A half-applied rename leaves the suite less consistent than before.
  • Never resolve a contradiction automatically. Apply a side only after the user chooses it, as Resolve ambiguity before you fix anything describes.

Before you finish

Re-read your changes as a skeptical teammate, and hunt the failures that survive a first pass:

  • A rename that missed a file, a Background, or a Scenario Outline placeholder, which leaves the drift that you set out to remove.
  • A normalization that flattened an intentional distinction that the user wanted to keep.
  • A "contradiction" that was two legitimately different contexts, now wrongly reconciled.
  • A canonical term that you picked yourself instead of confirming with the user.

04 同仓库更多 Skills

azborgonovo
azborgonovo/ai-skills

work-item

Drafts a well-formed work item with testable acceptance criteria, then creates it in whatever tracker is connected, when the user asks for that explicitly. Applies the same standard to tighten an existing work item. Use when the user invokes /work-item, or asks to draft, write up, create, or fix up a ticket, issue, task, story, bug report, or sub-task, for Jira, GitHub, Azure DevOps, Linear, or any other tracker. Use it even when the user names no tracker and never says "ticket", as in "log a bug for...", "file an issue about...", "write up a task for...", "can you create a story for...", and "this ticket has no acceptance criteria, can you add some". Do NOT use it for general prose writing, a PR description, or a commit message, because those follow different conventions.

★ 1
azborgonovo
azborgonovo/ai-skills

triage-work-item

Triages a tracker work item, which is a bug, a task, or a story, end-to-end against the codebase. It reads the item with its full comment thread, links, and parent epic, cross-references related items, investigates the codebases behind the affected feature, corroborates with attached evidence and observability data, then posts a verified analysis comment back to the item. That comment gives the root cause for a bug, or the current behavior, the approach, and the effort for a change request. Ships with Jira and GitHub Issues tracker adapters, plus Grafana and CloudWatch observability adapters, and degrades to any reachable platform. Use when the user gives a work-item URL or key, on Jira (`…atlassian.net/browse/KEY`) or GitHub (`github.com/<o>/<r>/issues/<n>`), and asks to triage, investigate, diagnose, or root-cause it, even without the word "triage", as in "look into TICKET-123 and post what you find". Do not use it to read or summarize a work item with no code investigation, or to write new work items.

★ 1
azborgonovo
azborgonovo/ai-skills

update-branch

Brings a branch up to date with its base branch, usually main. It rebases onto origin/<base>, or merges when the user agrees, then builds and runs the relevant tests. It pushes on its own when the risk is low, and asks first, with the reason, when it is not. It never uses a plain --force, and it never disturbs uncommitted work: a clone on another branch gets a separate git worktree. This skill is user-only: it runs only when the user invokes /update-branch [branch] [--base <branch>] [merge]. When the user wants to update a branch with main, rebase onto main, or fix "branch is behind main", suggest this command.

★ 1
azborgonovo
azborgonovo/ai-skills

standard-first

Guides technical implementation to always prefer the standard, officially-documented solution over custom or AI-generated code. Use when you are about to write new code for a feature, suggest or add a library or package, scaffold a new project, or configure a framework, in any language, including .NET and C#, Node.js and npm, Python, Go, Java, and the rest. Use it above all when the problem sounds like something that a built-in framework feature or a package registry already solves, such as logging enrichment, auth, serialization, retries, health checks, or migrations. Do not skip this skill because the answer feels obvious from training data.

★ 1
azborgonovo
azborgonovo/ai-skills

team-topologies

Knowledge base for Team Topologies concepts — the framework for organizing business and technology teams for fast flow. Use this skill whenever the user asks about: team types (stream-aligned, platform, enabling, complicated subsystem), team interaction modes (collaboration, X-as-a-Service, facilitation), cognitive load management, Thinnest Viable Platform (TVP), Conway's Law in relation to org design, or any question about how software delivery teams should be structured, named, or coordinated. Also use when another skill needs Team Topologies vocabulary to reason about org design, team responsibilities, or team dependencies.

★ 1
azborgonovo
azborgonovo/ai-skills

pareto

Processes the user's request through the Pareto Principle. It ranks the causes that generate most of the outcome, spends roughly a fifth of the effort on the interventions that address them, and reports what that effort bought. This skill is user-only: it runs only when the user invokes /pareto [request]. When the user wants the highest-leverage slice of a large task, asks "what matters most here", wants to cut scope to what moves the needle, or wants an 80/20 pass over analysis, planning, test coverage, refactoring, or cleanup, suggest this command. Do not use it for work whose value depends on being complete, such as a security fix, a compliance change, a migration, or a specific reported bug.

★ 1