v1bh0r/precise-ledger-pro/nw-distill
Claude Code and agent skill by v1bh0r/precise-ledger-pro
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Creates E2E acceptance tests in Given-When-Then format from requirements and architecture. Use when preparing executable specifications before implementation.
Install
npx vskill@latest install v1bh0r/precise-ledger-pro/nw-distillSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as v1bh0r/precise-ledger-pro/nw-distill.
NW-DISTILL: Acceptance Test Creation and Business Validation
Wave: DISTILL (wave 5 of 6) | Agent: Quinn (nw-acceptance-designer)
Overview
Create E2E acceptance tests from requirements|architecture|infrastructure design using Given-When-Then format. Produces executable specifications bridging business requirements and technical implementation. Infrastructure design from DEVOPS informs test environment setup.
Interactive Decision Points
Decision 1: Feature Scope
Question: What is the scope of this feature? Options:
- Core feature -- primary application functionality
- Extension -- modular add-on or integration
- Bug fix -- regression tests for a known defect
Decision 2: Test Framework
Question: Which test framework to use? Options:
- pytest-bdd -- Python BDD framework
- Cucumber -- Ruby/JS BDD framework
- SpecFlow -- .NET BDD framework
- Custom -- user provides details
Decision 3: Integration Approach
Question: How should integration tests connect to services? Options:
- Real services -- test against actual running services
- Test containers -- ephemeral containers for dependencies
- Mocks for external only -- real internal, mocked external services
Decision 4: Infrastructure Testing
Question: Should acceptance tests cover infrastructure concerns? Options:
- Yes -- include CI/CD validation, deployment smoke tests
- No -- functional acceptance tests only
Acceptance Criteria: Port-to-Port Principle
Every AC MUST name the driving port (entry point) through which the behavior is exercised. This enables port-to-port acceptance tests that make TBU (Tested But Unwired) defects structurally impossible.
Each AC includes:
- Observable outcome: what the user/system sees
- Driving port: the entry point that triggers the behavior (service, handler, endpoint, CLI command)
Without the driving port, a crafter can write correct code that is never wired into the system.
Features: "When user {action} via {driving_port}, {observable_outcome}" Bug fixes: "When {trigger}, {modified_code_path} produces {correct_outcome} instead of {current_broken_behavior}"
Prior Wave Consultation
Before beginning DISTILL work, read targeted prior wave artifacts:
- DISCOVER (skip): DISCUSS already synthesized DISCOVER evidence into requirements and acceptance criteria.
- DISCUSS (primary input): Read from
docs/feature/{feature-id}/discuss/:
acceptance-criteria.md— primary input for test creationstory-map.md— drives walking skeleton priority and release slicinguser-stories.md— story-to-test traceabilitywave-decisions.md— quick check for upstream changes
- DESIGN (structural context): Read from
docs/feature/{feature-id}/design/:
architecture-design.md— port boundaries define test scopecomponent-boundaries.md— determines which components tests exercisewave-decisions.md— check for upstream changes from DISCUSS
- DEVOPS (test environment): Read from
docs/feature/{feature-id}/devops/:
platform-architecture.md— test environment setupci-cd-pipeline.md— test execution contextwave-decisions.md— check for infrastructure constraints affecting tests
DISTILL is the major synthesis point. Its job is to translate all prior wave knowledge into executable acceptance tests. The acceptance criteria from DISCUSS + architecture from DESIGN + infra from DEVOPS are sufficient. Raw DISCOVER artifacts are not needed — they were already synthesized into DISCUSS requirements.
READING ENFORCEMENT: You MUST read every file listed in Prior Wave Consultation above using the Read tool before proceeding. After reading, output a confirmation checklist (✓ {file} for each read, ⊘ {file} (not found) for missing). Do NOT skip files that exist — skipping causes acceptance tests disconnected from requirements and architecture.
After reading, check whether any acceptance test assumptions contradict prior wave decisions. Use wave-decisions.md files to detect upstream changes. Example: DISCUSS acceptance criteria reference a "notification email" but DESIGN's wave-decisions.md notes email was removed in favor of in-app notifications — tests must reflect the DESIGN decision.
Document Update (Back-Propagation)
When DISTILL work reveals gaps or contradictions in prior waves:
- Document findings in
docs/feature/{feature-id}/distill/upstream-issues.md - Reference the original prior-wave document and describe the gap
- If acceptance criteria from DISCUSS are untestable as written, note the specific criteria and why
- Resolve with user before writing tests against ambiguous or contradictory requirements
Rigor Profile Integration
Before dispatching the acceptance designer, read rigor config from .nwave/des-config.json (key: rigor). If absent, use standard defaults.
- `agent_model`: Pass as
modelparameter to Task tool. If"inherit", omitmodel(inherits from session).
Agent Invocation
@nw-acceptance-designer
Execute \*create-acceptance-tests for {feature-id}.
Context files: see above.
Configuration:
- model: rigor.agent_model (omit if "inherit")
- test_type: {Decision 1: core|extension|bugfix}
- test_framework: {Decision 2: specflow|cucumber|pytest-bdd}
- integration_approach: {Decision 3} | infrastructure_testing: {Decision 4}
- interactive: moderate | output_format: gherkin
Success Criteria
- [ ] All user stories have corresponding acceptance tests
- [ ] Step methods call real production services (no mocks at acceptance level)
- [ ] One-at-a-time implementation strategy established (@skip/@pending tags)
- [ ] Tests exercise driving ports, not internal components (hexagonal boundary)
- [ ] Walking skeleton created first with user-centric scenarios (features only; optional for bugs)
- [ ] Infrastructure test scenarios included (if Decision 4 = Yes)
- [ ] Handoff package ready for nw-software-crafter (DELIVER wave)
Examples
Example 1: Core feature acceptance tests
Quinn creates Given-When-Then acceptance tests from requirements and architecture, establishes walking skeleton first, then milestone features with @skip tags for one-at-a-time implementation.
Next Wave
Handoff To: nw-software-crafter (DELIVER wave) Deliverables: Feature files|step definitions|test-scenarios.md|walking-skeleton.md
Wave Decisions Summary
Before completing DISTILL, produce docs/feature/{feature-id}/distill/wave-decisions.md:
DISTILL is the major synthesis point. DELIVER reads DISTILL output as its authoritative specification — the acceptance tests encode all prior wave decisions into executable form.
Expected Outputs
Bug fix regression tests:
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingnWave/skills/nw-distill/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
pluginCustom plugin integration
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/v1bh0r/precise-ledger-pro/nw-distill)