Typescript Write
ListedHelps with TypeScript, content writing as part of developing backend services and APIs workflows.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add peterfile/my-common-skills --skill typescript-write -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
peterfile
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.
Declares what it does: failed
SKILL.md declares a name and description but has almost no body, so there is nothing to review.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No undeclared network calls: passed
Makes no network calls.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned peterfile/my-common-skills at 3522219b3f.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- 3522219b3f
- Scanned
- 2 files, 17 lines
About this skill
What it does
This skill allows AI agents to write TypeScript code. It can generate new TypeScript files, add functions or classes to existing files, and modify existing TypeScript code based on instructions. The agent leverages its understanding of TypeScript syntax and semantics to produce functional and readable code.
When to use it
- Generating boilerplate: Quickly create initial project structures or components with basic TypeScript scaffolding.
- Adding functionality: Extend existing TypeScript projects by adding new features, functions, or classes.
- Refactoring code: Modify existing TypeScript code for improved readability, performance, or maintainability.
- Automating repetitive tasks: Generate common TypeScript patterns or snippets to reduce manual coding effort.
Key capabilities
- TypeScript code generation
- Code modification within existing files
- Function and class creation
- Understanding of TypeScript syntax and semantics
Example prompts
- "Write a TypeScript file named
user.tswith a function that validates email addresses." - "Add a new method called
calculateTotalto theCartclass incart.ts." - "Refactor the
processOrderfunction inorder.tsto use async/await."
Tips & gotchas
- Ensure the AI agent has access to any relevant project dependencies or type definitions for accurate code generation.
- The skill's output should always be reviewed and tested thoroughly before deployment, as with any automatically generated code.