testing-test-writing
Write Focused Pest Tests
Teams often add tests too late or cover implementation details instead of behavior. This skill guides Claude, Codex, and Claude Code to write focused Pest tests for critical paths.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "testing-test-writing" from https://skillstore.io/skills/devanb-testing-test-writing.md and its manifest at https://skillstore.io/api/skills/devanb-testing-test-writing/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "testing-test-writing". Ask for tests covering registration validation and successful account creation.
Expected outcome:
The assistant proposes focused feature tests for required fields, invalid email input, duplicate accounts, and successful registration behavior.
Using "testing-test-writing". Ask for unit tests around a pricing rule with several scenarios.
Expected outcome:
The assistant suggests concise Pest unit tests using datasets for discounts, default pricing, edge cases, and expected totals.
Using "testing-test-writing". Ask whether a completed API feature has enough coverage.
Expected outcome:
The assistant lists critical endpoint behavior, validation failures, authorization cases, and external dependency mocks to add before release.
Security Audit
SafeSKILL.md line 12 uses markdown code spans for directory names, so the command execution alert is a false positive. SKILL.md line 28 links outside the skill directory with a parent-directory path, creating a real filesystem boundary concern. No evidence found for prompt injection or data exfiltration intent.
Capability review items (1)
These are real local capabilities that may be expected for this skill, so they require review but are not counted as confirmed malicious behavior.
Risk Factors
โ๏ธ External commands (1)
๐ Filesystem access (1)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/devanb-testing-test-writing/audits/10?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/devanb-testing-test-writing?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/devanb-testing-test-writing?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/devanb-testing-test-writing/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/devanb-testing-test-writing.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
DevanB. (2026). testing-test-writing security audit report (audit version 10) [Author version unspecified]. Skillstore. https://skillstore.io/skills/devanb-testing-test-writing/audits/10BibTeX citation
@techreport{devanb-devanb-testing-test-writing-2026,
author = {DevanB},
title = {testing-test-writing security audit report (audit version 10)},
institution = {Skillstore},
year = {2026},
number = {10},
url = {https://skillstore.io/skills/devanb-testing-test-writing/audits/10},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "testing-test-writing security audit report (audit version 10)"
version: "unspecified"
type: report
authors:
- name: "DevanB"
date-released: "2026-07-09"
url: "https://skillstore.io/skills/devanb-testing-test-writing/audits/10"
identifiers:
- type: other
value: "skillstore:devanb-testing-test-writing:audit:10"
description: "Skillstore immutable audit report identifier"
Compare variants
2 installable variantsEach author remains a separate installable skill. The recommended variant is ranked by Skillstore evidence.
Why this variant is first
eis-its-testing-test-writing
2026-09-09
devanb-testing-test-writing
2026-09-09
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Add Feature Coverage
Create focused tests for a new user workflow before a feature is completed.
Review Critical Paths
Identify business rules, validation behavior, and API endpoints that need reliable tests.
Standardize Pest Style
Align generated tests around clear names, behavior assertions, mocks, and datasets.
Try These Prompts
Write Pest tests for this small feature. Focus on the main success path and one important failure path.
Review this user workflow and propose focused Pest feature tests for its critical behavior.
Write Pest tests for this service interaction. Mock external dependencies and assert observable behavior.
Assess this completed feature and define the minimum strategic Pest coverage before release.
Best Practices
- Start with the highest-value user workflow before adding edge-case coverage.
- Test observable behavior and outcomes instead of private implementation details.
- Use mocks and datasets when they make tests faster and clearer.
Avoid
- Do not generate broad snapshot tests when targeted assertions would be clearer.
- Do not test private methods instead of public behavior.
- Do not skip critical business paths because they require setup.