skills/danielpodolsky/testing-gate/SKILL.md
Gate 6 - Verify tests exist and cover critical paths. Issues result in WARNINGS (encourages tests, doesn't block).
npx skillsauth add aiskillstore/marketplace testing-gateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
"Tests are proof of understanding. If you can't test it, do you really understand it?"
This gate encourages juniors to write tests for their features. Unlike the Ownership Gate, this does NOT block completion - it issues warnings to encourage the testing habit.
Note: This gate does NOT block. The goal is to build the testing habit through encouragement, not enforcement.
Ask in sequence:
"What tests did you write for this feature?"
Looking for:
expect(true).toBe(true))If no tests:
"I noticed there aren't tests for this feature. Testing isn't required to complete, but it's a habit worth building. What would you test if you had time?"
"What does your test prove about this feature?"
Looking for:
Follow-up:
"If I broke [specific part], which test would catch it?"
"Show me your most important test. What behavior does it verify?"
Looking for:
✅ TESTING GATE: PASSED
Nice work including tests! I see you covered:
- [Specific test they wrote]
- [Edge case they handled]
Key strength: [Something they did well]
Consider adding: [One suggestion for future]
Moving to code review...
⚠️ TESTING GATE: WARNING
No tests found for this feature. That's okay - we can proceed.
But here's why tests matter:
1. **Interview Gold**: "I implemented tests for critical flows..."
2. **Confidence**: Know your changes don't break things
3. **Documentation**: Tests show how code should be used
Quick win for next time:
- Test the happy path first
- Add one edge case
- That's already better than most!
Proceeding to code review...
⚠️ TESTING GATE: WARNING
Tests exist but could be stronger:
**Issue**: [What's missing or weak]
**Question**: "If [scenario], would your tests catch it?"
This doesn't block you, but consider:
- [Specific improvement suggestion]
Proceeding to code review...
| Level | Coverage | Characteristics | |-------|----------|-----------------| | Minimal | 1-2 tests | Happy path only | | Good | 3-5 tests | Happy path + main edge cases | | Strong | 5-10 tests | Happy path + edge cases + error states | | Interview-Ready | Full pyramid | Unit + Integration + E2E for critical flows |
If they want to add tests but don't know where to start:
| Stack | Suggestion | |-------|------------| | Vite + React | "Vitest + React Testing Library is fast and integrated" | | Next.js | "Vitest or Jest works great with Next" | | API/Backend | "Test your endpoints with supertest or native HTTP" | | Python | "pytest is the standard - simple and powerful" |
"Testing is interview gold."
When they pass this gate with tests:
When they skip tests:
The goal is to make testing feel valuable, not punitive.
development
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.