Skip to content

About

Skill to enforce agents to write TypeScript as if it were Go 🧩

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typescript-as-go

An agent skill that teaches coding agents to write TypeScript as if it were Go:

  • Simple
  • Explicit
  • No magic

GitHub Release GitHub License GitHub Repo stars

Usage

Install the skill:

npx skills add revett/typescript-as-go

This installs into the current project and works with Claude Code, Cursor, Codex, and 75+ other agents. Add -g to install it globally.

Then add the following to your AGENTS.md:

## Code Style

It is critically important that you abide by all the rules set out in the
`typescript-as-go` skill when writing Typescript, no exceptions.

To update the skill to the latest version:

npx skills update typescript-as-go

Why

I wrote Go (by hand) for ~10 years before LLMs arrived and found it easy to follow due to how restricted it is as a language. By design it is boring, as there are such few ways to implement something.

Contrasting that with Typescript, it is a language that allows for a far greater amount of magic, which makes reading code slower for me personally. Given that reading and reviewing code is now of far greater importance, my theory is that simpler code that achieves the same desired outcome, is a good thing.

Changelog

See CHANGELOG.md for a list of all notable changes to the skill.

Acknowledgements

About

Skill to enforce agents to write TypeScript as if it were Go 🧩

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors