agentleFS
Microsoft AzureKnown publisherAzure/azure-dev/cli/azd/extensions/skills/azd-extension-spec-authoring/SKILL.md

azd-extension-spec-authoring

Skill573 starsChanged 27 days agoMITView on GitHub

Draft, update, and statically review user-facing feature and experience specs for azd extensions. USE FOR: CLI or YAML contract changes, acceptance criteria, and checking readiness for parallel product and test development. DO NOT USE FOR: implementation, executable test generation, live runs, CI design, or architecture decisions alone.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the applicable repository guidance, feature brief, and any existing spec.

    line 16
  2. Distinctive:

    Keep the existing outline or use these three labels for a new spec.

    line 27
  3. Very specific:

    Start with the main workflow.

    line 33
  4. Distinctive:

    Use the smallest test boundary that proves the behavior.

    line 42
  5. Distinctive:

    Before handoff, check that a developer can implement the public behavior without guessing and that a test author who has not seen the …

    line 46
  6. Distinctive:

    Ask the owner about unresolved behavior instead of inventing it.

    line 49
  7. Distinctive:

    Keep spec work at the documentation level.

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill 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
SKILL.md

azd Extension Spec Authoring

Read the applicable repository guidance, feature brief, and any existing spec. Derive expected behavior from the agreed user contract, not the implementation.

Minimum content, not a fixed outline

  • Goal: Say what the user needs to accomplish and why the change matters.
  • User-facing behavior: Describe what the user does and what the feature promises. Include public commands, flags, or YAML inputs when they matter.
  • Acceptance: Say how to prove each material promise through a public interface. A short change can combine the behavior and its acceptance example.

Keep the existing outline or use these three labels for a new spec. Add non-goals, compatibility, error cases, permissions, cleanup, or open decisions only when they change what someone must build or verify. Omit empty sections.

Write only the scenarios needed for handoff

Start with the main workflow. Add a separate case only if it tests a distinct promise or meaningful risk. Write the starting state, concrete user action or steps, and observable result. Use Given/When/Then when helpful, not as required syntax. For example:

Given a Responses agent is selected, when the user runs azd ai agent invoke "message" --no-wait without --long-running, then the CLI fails and explains that --no-wait requires --long-running.

Use the smallest test boundary that proves the behavior. Reserve live E2E for promises that require a real service interaction. State any required environment capability, not the fixture implementation or CI setup. Keep P0/P1 owner-defined.

Before handoff, check that a developer can implement the public behavior without guessing and that a test author who has not seen the implementation PR can identify the inputs, steps, and assertions that would reject incorrect behavior. Ask the owner about unresolved behavior instead of inventing it; report missing fixtures separately. Hand off a spec link and scenario anchor; add stable IDs only when tracking benefits from them, and preserve existing IDs. Link any tracking issue rather than copying the steps.

Keep spec work at the documentation level. For review-only requests, report gaps without editing. Do not generate test code, run live operations, or change CI.

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.