Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

js-ts-authoring

Skill by chattocorp

Guides AI assistants when writing or revising JavaScript and TypeScript source, including scripts, tests, and Svelte modules. Applies the repository's documentation and Prettier practices.

  • Score 76
  • 3k stars
  • AGPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install js-ts-authoring

Built from the published package, never by AI.

git clone --depth 1 https://github.com/chattocorp/chatto /tmp/chatto && mkdir -p ~/.claude/skills && cp -r /tmp/chatto/.agents/skills/js-ts-authoring ~/.claude/skills/js-ts-authoring

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install js-ts-authoring in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The js-ts-authoring skill guides an AI assistant when it writes or revises JavaScript and TypeScript source, including scripts, tests, and Svelte modules. It first reads the nearest AGENTS.md and follows the package's existing module, type, and test conventions. For Svelte work, it also uses the repository's Svelte skills and checks.

The skill sets rules for typed API boundaries, JSDoc documentation, and comments that explain behavior. Before finishing, it runs Prettier on every changed source file through the root pnpm workspace, then runs the relevant type, lint, and test checks and reports which ones ran. It suits teams working in a pnpm repository that want consistent, documented JavaScript and TypeScript output.

Written from the project's SKILL.md and checked against it.

What it can do

  • Follow repository conventionsReads the nearest AGENTS.md and follows the package's existing module, type, and test conventions.
  • Type boundariesModels input and output types at API boundaries and narrows unknown before use.
  • Code documentationDocuments public functions, classes, and types with JSDoc or the package's documentation style.
  • Behavior commentsAdds inline comments where a branch, ordering rule, or calculation needs context.
  • Prettier formattingRuns Prettier on every JavaScript, TypeScript, or Svelte file it creates or changes.
  • Type, lint, and test checksRuns the relevant checks after formatting and reports which checks actually ran.
  • Svelte supportUses the repository's Svelte skills and checks for Svelte components and modules.

What you need

  • pnpm workspace
  • mise

Try asking

  • Write a TypeScript utility module with JSDoc for the public functions.
  • Revise this Svelte store and format it with the package's Prettier config.
  • Add tests for this script, then run Prettier and the relevant checks.

Good to know

  • Generated protobuf clients should not be hand-edited; change the source and regenerate through the repository workflow.
  • The Prettier commands are shown for a root pnpm workspace run through mise.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/js-ts-authoring/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md2 KB

Alternatives to js-ts-authoring

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

js-ts-authoring: common questions

Does this skill format my code automatically?

It instructs the assistant to run Prettier on every changed JavaScript or TypeScript source file before finishing. Svelte files are formatted with the nearest package's Prettier configuration.

Does it work with Svelte projects?

Yes. For Svelte components and modules, the skill also uses the repository's Svelte skills and checks.

What does it do with comments and documentation?

It asks for JSDoc on public APIs and short comments that explain behavior, while avoiding a comment on every line.

How do I install js-ts-authoring?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is js-ts-authoring free?

The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.

Is js-ts-authoring safe to use?

It scores 76 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to js-ts-authoring?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

js-ts-authoring Install

Add to stack

Loading.