microsoft/accordant/test-generation
Claude Code and agent skill by microsoft/accordant
- vendor
Checking that the SKILL.md file is still in the repository.
How Accordant generates and runs tests - use this skill when configuring test generation, understanding state graphs, or running tests
Install
npx vskill@latest install microsoft/accordant/test-generationSKILL.md
The same SKILL.md was published earlier as microsoft/accordant/test-generation.
Test Generation in Accordant
Accordant generates tests by exploring the state graph defined by your spec, then running the generated sequences against your real system.
The State Graph
Starting from an initial state, Accordant applies each input to compute resulting states, then recurses. This builds a graph where:
- Nodes = States the system can be in
- Edges = Operations that transition between states
Generating Tests
Basic Usage
TestGenerationOptions
| Option | Description | Default | |
|---|---|---|---|
MaxDepth | Maximum sequence length | 5 | |
StateConstraint | Prune states during exploration | None | |
MaxConcurrencyLevel | For concurrent test generation | 3 | |
SequentialTestCaseAlgorithm | How paths are extracted | StateCoverage |
Constraining the State Space
Prevent state explosion with StateConstraint:
Test Case Algorithms
StateCoverage (Default)
Visits each unique state at least once:
TransitionCoverage
Exercises every edge (transition) in the graph — can generate many tests:
RandomWalk
Samples paths probabilistically — good for large state spaces:
Running Tests
Basic Execution
TestExecutionOptions
| Option | Description | |
|---|---|---|
BeforeEachAsync | Reset system before each test case | |
AfterEachAsync | Cleanup after each test case | |
OnStepExecuted | Log each operation's request/response for debugging |
Resetting State
Each test expects the system to start in the initial state. Reset with BeforeEachAsync:
Visualizing the State Graph
Generate a GraphViz visualization:
Custom Node Labels
Manual Conformance Testing
Validate individual operations without auto-generation:
Complete Example
Common Issues
Too Many Test Cases
- Reduce
MaxDepth - Add
StateConstraintto prune uninteresting states - Use fewer inputs or more targeted inputs
Tests Failing Unpredictably
- Ensure
BeforeEachAsyncproperly resets state - Check for timing issues (async operations may not complete)
- Verify inputs match what the spec expects
Next Steps
- Concurrency Testing: Test race conditions with
GenerateConcurrentTestsandRunTests - Async Operations: Handle background work with polling
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 1 Oct 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagent/skills/test-generation/SKILL.md
Popularity
- Repository stars
- 62
- Repository forks
- 9
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/microsoft/accordant/test-generation)