Use this when running or adding tests (compile/lint/unit/E2E), updating test utilities, or working with Playwright/visual testing in markdowntown.
Installation
Details
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
npx agent-skills-cli listSkill Instructions
name: markdowntown-testing description: Use this when running or adding tests (compile/lint/unit/E2E), updating test utilities, or working with Playwright/visual testing in markdowntown.
Testing + Playwright E2E
When to use
- Adding or updating unit/integration tests.
- Running the required CI checks before commit.
- Designing or debugging Playwright/E2E flows.
Required checks (default workflow)
npm run compilenpm run lintnpm run test:unit
E2E + visual tests
npm run test:e2eruns Vitest E2E withvitest.e2e.config.ts.npm run test:visualruns Playwright visual tests (playwright-visual.config.ts).- Set
E2E_BASE_URLif you need a non-default host.
Workflow guidance
- Prefer small, focused unit tests in
__tests__for components and lib helpers. - When adding a new user flow, update the E2E narratives so behavior stays aligned.
- If a test fails due to output changes, update snapshots/fixtures and document why.
References
- codex/skills/markdowntown-testing/references/tests.md
- codex/skills/markdowntown-testing/references/playwright.md
Guardrails
- Keep tests deterministic; avoid time-based flakiness where possible.
- When documenting QA evidence, use
qa-verification.
More by joelklabo
View allLightning/LNbits integration for nostrstack, including regtest flows, staging/prod config, observability, and payment/zap behavior. Use when editing payment flows, Lightning provider code, or running LNbits-related tests.
Use when asked to create a deep-research handoff bundle: do web research, codebase analysis, Gemini Oracle critique, and produce a prompt + context folder on Desktop for another AI agent (include a zipped archive of the bundle).
Nostrstack API development (Fastify + Prisma) including routing patterns, services, tenancy resolution, LightningProvider integration, and Nostr endpoints. Use when editing apps/api (routes, services, providers, Prisma schema, OpenAPI) or adding API features/tests.
Chrome DevTools QA workflow for the Sketch Magic kid-first UI. Use when validating Console/Network/Performance, investigating “tap doesn’t work”, /api/convert failures, mobile touch issues, or when a proof video must be backed by DevTools evidence.
