# @venthezone/typescript-opencode

TypeScript-specific OpenCode plugin components for TS/React/Node development.

## Installation

1. Install the package:
```bash
npm install @venthezone/typescript-opencode@latest
```
2. Add to your `opencode.json`:
```json
{
  "plugins": ["@venthezone/typescript-opencode"]
}
```

**Note:** This package extends `@venthezone/essential-opencode` which is a peer dependency.

## What's Included

### Agents (3)
| Agent | Description |
|-------|-------------|
| `tdd-guide` | Test-driven development specialist for TypeScript |
| `architect` | System architecture and design patterns |
| `e2e-runner` | End-to-end test execution and debugging |

### Skills (2)
- `backend-patterns` - Node.js, Express, Fastify patterns
- `frontend-patterns` - React, Next.js, component patterns

## Usage

```typescript
import {
  tddGuideAgent,
  architectAgent,
  backendPatternsSkill,
  frontendPatternsSkill,
} from '@venthezone/typescript-opencode';

// TypeScript-specific agents have expertise in:
// - TypeScript strict mode
// - React patterns
// - Node.js best practices
// - Testing with Vitest/Jest
```

## When to Use

Use this package when working on:
- TypeScript projects
- React/Next.js applications
- Node.js backends
- Full-stack TypeScript applications

For language-agnostic projects, use `@venthezone/essential-opencode` instead.

## Peer Dependencies

- `@opencode-ai/plugin` >= 1.0.0
- `@venthezone/essential-opencode` ^1.0.0

## License

MIT
