bk-implement-typescript

Generate idiomatic TypeScript code with spec traceability markers from implementation plans.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/dikini/knot --skill bk-implement-typescript
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bk-implement-typescript
Source: https://github.com/dikini/knot/tree/main/.agents/skills/bk-implement-typescript
Command: npx skills add https://github.com/dikini/knot --skill bk-implement-typescript

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the generation of idiomatic TypeScript code, including modules, types, functions, and tests, directly from implementation plans and specifications.

Core Features & Use Cases

  • Code Generation: Writes clean, best-practice TypeScript code.
  • Spec Traceability: Embeds markers linking code to requirements for verification.
  • Test Generation: Creates unit tests based on acceptance criteria.
  • Use Case: When tasked with implementing a new API endpoint in TypeScript, this Skill can generate the necessary service files, interfaces, and corresponding unit tests, ensuring adherence to the defined specification.

Quick Start

Implement task TS-001 from the plan located at ./plans/feature-x.md.

Frequently Asked Questions about bk-implement-typescript

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate TypeScript code from an implementation plan?

To generate TypeScript code from an implementation plan, use this Skill to automate creating modules, types, interfaces, and functions. It parses your plan specifications and outputs idiomatic TypeScript files following best practices.

What is spec traceability in TypeScript code generation?

Spec traceability in TypeScript code generation embeds markers directly within your modules and functions to link them back to original requirements. This mechanism enables automated compliance checking and verifies that acceptance criteria are met.

Can I automatically generate unit tests based on acceptance criteria in TypeScript?

Yes, you can automatically generate unit tests based on acceptance criteria in TypeScript. This Skill creates corresponding test files alongside your generated service files and interfaces, ensuring adherence to defined specifications.

Does this TypeScript code generator support error handling patterns?

Yes, this TypeScript code generator supports error handling patterns. It structures your modules and functions using established best practices for error management while integrating traceability markers for compliance verification.

What is the best way to structure TypeScript modules from a specification?

The best way to structure TypeScript modules from a specification is using scope-based structure generation. This approach creates clean, idiomatic service files, types, and interfaces directly mapped to your implementation plan requirements.

Do I need a specific plan format to implement TypeScript tasks?

You need an implementation plan defined in a markdown file format to implement TypeScript tasks. The Skill reads these plans, such as a file located at ./plans/feature-x.md, to generate the required code and tests.