16 Testing banner
codeaashu codeaashu

16 Testing

DevOps community

Description

# Prompt 16: Add Test Infrastructure & Smoke Tests ## Context You are working in `/workspaces/claude-code`. The leaked source does not include any test files or test configuration (they were presumably in a separate directory or repo). We need to add a test framework and write smoke tests for core subsystems. ## Task ### Part A: Set up Vitest ```bash bun add -d vitest @types/node ``` Create `vitest.config.ts`: ```ts import { defineConfig } from 'vitest/config' import { resolve } from 'path

Installation

Installs to ~/.claude/skills/codeaashu-claude-code-16-testing/SKILL.md

Terminal
mkdir -p ~/.claude/skills/codeaashu-claude-code-16-testing && curl -fsSL https://raw.githubusercontent.com/codeaashu/claude-code/HEAD/prompts/16-testing.md -o ~/.claude/skills/codeaashu-claude-code-16-testing/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository