test-specialist-agent

Writes, improves, and converts Pest tests for the ndestates-io project.

Updated Jun 17, 2026
One-click install
npx skills add https://github.com/ndestates/ndestates-website --skill test-specialist-agent-ndestates
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: test-specialist-agent
Source: https://github.com/ndestates/ndestates-website/tree/main/.copilot/skills/test-specialist-agent
Command: npx skills add https://github.com/ndestates/ndestates-website --skill test-specialist-agent-ndestates

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Maintaining and converting test suites in the ndestates-io project requires consistent conventions, safe test-database usage, and behavior-preserving refactors, which are easy to get wrong without dedicated guidance. ## Core Features & Use Cases - Test Writing and Improvement: Creates or improves tests with Pest as the preferred framework, following project testing conventions loaded from the project cache. - Legacy Test Conversion: Converts legacy tests (e.g., old Property tests) to Pest while keeping behavior identical. - Safety Guardrails: Restricts execution to DDEV with the test database only, and triggers a security checklist when tests touch forms or dependencies. - Use Case: Ask the agent to convert a legacy Property test to Pest; it loads the project testing docs, rewrites the test preserving logic, and runs the suite to green. ## Quick Start Invoke /test-specialist-agent with a target such as "convert legacy Property test" or "improve valuation service tests" and let it run the tests to green.

Frequently Asked Questions about test-specialist-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert legacy tests to Pest?▼

Invoke the test-specialist-agent with the legacy test target, such as "convert legacy Property test". It loads the project testing docs, rewrites the test in Pest while keeping behavior identical, and runs the suite to green.

How do I write tests for the ndestates-io project?▼

Use the /test-specialist-agent command with a description of what to test, for example "valuation service". The agent loads TESTING.md and project conventions first, then writes Pest tests and runs them against the test database.

What testing framework does this project use?▼

Pest is the preferred testing framework for ndestates-io. The agent writes new tests in Pest and converts legacy tests to Pest while preserving their original logic and behavior.

Can tests run against the production database?▼

No. The agent is restricted to DDEV with the test database only. This guardrail prevents tests from touching production or development data during execution.

When is a security checklist required for test changes?▼

A security checklist is triggered when tests involve form changes or dependency changes. The agent flags these cases and calls out any infrastructure or logic impacts before completing the work.