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.
In this repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- cli/azd/AGENTS.mdAGENTS.md
- cli/azd/extensions/AGENTS.mdAGENTS.md
- cli/azd/extensions/azure.ai.agents/AGENTS.mdAGENTS.md
- cli/azd/extensions/azure.ai.connections/AGENTS.mdAGENTS.md
- cli/azd/extensions/azure.ai.inspector/AGENTS.mdAGENTS.md
- cli/azd/extensions/azure.ai.projects/AGENTS.mdAGENTS.md
- cli/azd/extensions/azure.ai.routines/AGENTS.mdAGENTS.md
- cli/azd/extensions/azure.ai.skills/AGENTS.mdAGENTS.md
- cli/azd/extensions/azure.ai.toolboxes/AGENTS.mdAGENTS.md
- ext/vscode/AGENTS.mdAGENTS.md
- .github/skills/extension-user-contract-review/evals/fixtures/cli/azd/AGENTS.mdAGENTS.md
- ext/vscode/.github/copilot-instructions.mdCopilot instructions
- azd-extension-e2e-testingSkill
- azd-extension-unit-testingSkill
- azdSkill
- agentic-workflowsSkill
- azd-code-reviewerSkill
- azd-grpc-contractsSkill
- azd-preflightSkill
- changelog-generationSkill
- extension-user-contract-reviewSkill
- foundry-extension-scenario-authoringSkill
- foundry-extension-scenario-pr-regressionSkill
- foundry-extension-scenario-suite-runSkill
- senseiSkill
- tool-version-upgradeSkill
- weekly-demo-videoSkill
- weekly-reportSkill
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
- Distinctive: line 16
Read the applicable repository guidance, feature brief, and any existing spec.
- Distinctive: line 27
Keep the existing outline or use these three labels for a new spec.
- Very specific: line 33
Start with the main workflow.
- Distinctive: line 42
Use the smallest test boundary that proves the behavior.
- Distinctive: line 46
Before handoff, check that a developer can implement the public behavior without guessing and that a test author who has not seen the …
- Distinctive: line 49
Ask the owner about unresolved behavior instead of inventing it.
- Distinctive: line 54
Keep spec work at the documentation level.
≈ “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.
Files
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-waitwithout--long-running, then the CLI fails and explains that--no-waitrequires--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.
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
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.

