Agent skill

Javascript Typescript

by julianromli in julianromli/opencode-template

JavaScript and TypeScript development with ES6+, Node.js, React, and modern web frameworks.

MITAuto-check passedFrontend & Design

Install Javascript Typescript

skills CLI
$ npx skills add julianromli/opencode-template --skill javascript-typescript -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install julianromli/opencode-template javascript-typescript --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/julianromli/opencode-template.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skill/javascript-typescript .claude/skills/javascript-typescript && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
javascript-typescript
GitHub stars
144
Token cost
~783 tokens
SKILL.md length
26 words
Files
1
Skills in repo
16
Repo updated
First seen
Licence
MIT

At a glance

JavaScript and TypeScript development with ES6+, Node.js, React, and modern web frameworks.

  • Full-stack JavaScript/TypeScript projects
  • SKILL.md covers TypeScript Configuration, Type Patterns, Modern JavaScript and React Patterns, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Javascript Typescript is an agent skill from julianromli/opencode-template. JavaScript and TypeScript development with ES6+, Node.js, React, and modern web frameworks. Use for frontend, backend, or full-stack JavaScript/TypeScript projects.

Its SKILL.md is about 780 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design. It works with JavaScript, TypeScript, Node.js and React. The repository describes itself as: OpenCode CLI Template by @faizntfd. The licence is MIT.

When your agent uses it

  • Full-stack JavaScript/TypeScript projects

Example prompts

  • “/javascript-typescript”

Requirements

  • Node.js

What it can do on your machine

Read from SKILL.md and the folder at commit 37ceab2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript, javascript and json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Javascript Typescript loads about 783 tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 26 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~47
When it runs · the whole SKILL.md, loaded when a task matches
~783

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from julianromli/opencode-template at commit 37ceab2, republished under its MIT licence (© julianromli). 26 words, ~783 tokens.

Download SKILL.mdSave it as .claude/skills/javascript-typescript/SKILL.md (or your agent's skills folder).
name
javascript-typescript
description
JavaScript and TypeScript development with ES6+, Node.js, React, and modern web frameworks. Use for frontend, backend, or full-stack JavaScript/TypeScript projects.
source
wshobson/agents
license
MIT

JavaScript/TypeScript Development

TypeScript Configuration

json
{
  "compilerOptions": {
    "target": "ES2022",
    "module": "ESNext",
    "moduleResolution": "bundler",
    "strict": true,
    "noUncheckedIndexedAccess": true,
    "noImplicitOverride": true,
    "skipLibCheck": true,
    "declaration": true,
    "outDir": "./dist"
  },
  "include": ["src/**/*"],
  "exclude": ["node_modules", "dist"]
}

Type Patterns

Utility Types
typescript
// Pick specific properties
type UserPreview = Pick<User, 'id' | 'name'>;

// Omit properties
type CreateUser = Omit<User, 'id' | 'createdAt'>;

// Make all properties optional
type PartialUser = Partial<User>;

// Make all properties required
type RequiredUser = Required<User>;

// Extract union types
type Status = 'pending' | 'active' | 'inactive';
type ActiveStatus = Extract<Status, 'active' | 'pending'>;
Discriminated Unions
typescript
type Result<T> =
  | { success: true; data: T }
  | { success: false; error: Error };

function handleResult<T>(result: Result<T>) {
  if (result.success) {
    console.log(result.data); // T
  } else {
    console.error(result.error); // Error
  }
}
Generic Constraints
typescript
interface HasId {
  id: string | number;
}

function findById<T extends HasId>(items: T[], id: T['id']): T | undefined {
  return items.find(item => item.id === id);
}

Modern JavaScript

Destructuring & Spread
javascript
const { name, ...rest } = user;
const merged = { ...defaults, ...options };
const [first, ...others] = items;
Optional Chaining & Nullish Coalescing
javascript
const city = user?.address?.city ?? 'Unknown';
const count = data?.items?.length ?? 0;
Array Methods
javascript
const adults = users.filter(u => u.age >= 18);
const names = users.map(u => u.name);
const total = items.reduce((sum, item) => sum + item.price, 0);
const hasAdmin = users.some(u => u.role === 'admin');
const allActive = users.every(u => u.active);

React Patterns

typescript
// Props with children
interface CardProps {
  title: string;
  children: React.ReactNode;
}

// Event handlers
interface ButtonProps {
  onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
}

// Custom hooks
function useLocalStorage<T>(key: string, initial: T) {
  const [value, setValue] = useState<T>(() => {
    const stored = localStorage.getItem(key);
    return stored ? JSON.parse(stored) : initial;
  });

  useEffect(() => {
    localStorage.setItem(key, JSON.stringify(value));
  }, [key, value]);

  return [value, setValue] as const;
}

Node.js Patterns

typescript
// ES Modules
import { readFile } from 'node:fs/promises';
import { join } from 'node:path';

// Error handling
process.on('unhandledRejection', (reason) => {
  console.error('Unhandled Rejection:', reason);
  process.exit(1);
});

© julianromli, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skill/javascript-typescript of julianromli/opencode-template.

Open the folder on GitHubat commit 37ceab2

Compare with similar skills

Javascript Typescript next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Javascript Typescript compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Javascript Typescript this skilljulianromli/opencode-template144—~783Automated safety check: PassMIT
Frontend UIoomol-lab/open-flow223—~857Automated safety check: PassApache-2.0
Iconify Iconsoomol-lab/open-flow223—~850Automated safety check: PassApache-2.0
Bit CLIteambit/bit18k—~2kAutomated safety check: WarnCustom licence
Ink Tui Wizardnovuhq/novu40k—~1.9kAutomated safety check: PassMIT
Generate Release Notesteambit/bit18k—~2.2kAutomated safety check: PassCustom licence

Similar skills

  • Frontend UI

    oomol-lab/open-flow

    Implement and review Open Flow frontend components, styling, layout, and interactions.

    223 GitHub stars~857 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Iconify Icons

    oomol-lab/open-flow

    Search local Iconify JSON and use UnoCSS icon classes in the Open Flow repository.

    223 GitHub stars~850 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Bit CLI

    teambit/bit

    MUST consult before running ANY bit command. An agent skill from teambit/bit.

    18k GitHub stars~2k tokensUpdated yesterday
    DevelopmentAuto-check: warnings
  • Ink Tui Wizard

    novuhq/novu

    Build terminal user interfaces (TUIs) using Ink (React for CLIs) and @inkjs/ui with a reactive, session-driven wizard pattern.

    40k GitHub stars~1.9k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Generate comprehensive release notes for Bit from git commits and pull requests.

    18k GitHub stars~2.2k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Coding Standards

    kurealnum/dotfiles

    Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.

    290 GitHub starsUsed in 17 repos~2.9k tokens
    DevelopmentAuto-check passed

More from julianromli/opencode-template

All 16 skills in this repo
  • Using Git Worktrees

    julianromli/opencode-template

    A skill your agent uses when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory…

    144 GitHub starsUsed in 27 repos~1.4k tokens
    Auto-check passed
  • Ralph

    julianromli/opencode-template

    Autonomous agent loop for completing features. An agent skill from julianromli/opencode-template.

    144 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Rsc Data Optimizer

    julianromli/opencode-template

    Optimize Next.js App Router data fetching by converting slow client-side fetching to fast server-side fetching using React Server Components (RSC).

    144 GitHub starsUsed in 1 repo~805 tokens
    Auto-check passed
  • Shadcn Management

    julianromli/opencode-template

    Manage shadcn/ui components using MCP tools. An agent skill from julianromli/opencode-template.

    144 GitHub starsUsed in 1 repo~733 tokens
    Auto-check passed
  • Frontend UI Animator

    julianromli/opencode-template

    Analyze and implement purposeful UI animations for Next.js + Tailwind + React projects.

    144 GitHub stars~1.2k tokensUpdated 8 mo ago
    Auto-check passed
  • Agents Md Generator

    julianromli/opencode-template

    Generate hierarchical AGENTS.md structures for codebases. An agent skill from julianromli/opencode-template.

    144 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check: notes

Questions about Javascript Typescript

What does Javascript Typescript do?

JavaScript and TypeScript development with ES6+, Node.js, React, and modern web frameworks. Javascript Typescript is an agent skill from julianromli/opencode-template.js, React, and modern web frameworks.

When should I use Javascript Typescript?

Javascript Typescript fits situations like: full-stack JavaScript/TypeScript projects.

How do I install Javascript Typescript in Claude Code?

Run `npx skills add julianromli/opencode-template --skill javascript-typescript -a claude-code`. Or copy the skill folder (skill/javascript-typescript in julianromli/opencode-template) into .claude/skills/javascript-typescript in your project. Claude Code loads it when a task matches its description.

How do I install Javascript Typescript in Codex?

Run `npx skills add julianromli/opencode-template --skill javascript-typescript -a codex`. Or copy the skill folder (skill/javascript-typescript in julianromli/opencode-template) into .agents/skills/javascript-typescript in your project. Codex loads it when a task matches its description.

Can I use Javascript Typescript in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add julianromli/opencode-template --skill javascript-typescript -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/javascript-typescript, .gemini/skills/javascript-typescript, .github/skills/javascript-typescript and .opencode/skills/javascript-typescript in your project.

What does Javascript Typescript need to run?

SKILL.md names no scripts, command-line tools or credentials: Javascript Typescript is instructions for the agent only. Our summary lists: Node.js.

Does Javascript Typescript access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Javascript Typescript safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Javascript Typescript use?

Javascript Typescript is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Javascript Typescript use?

About 783 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Javascript Typescript?

Skills that share tags, products or a category with Javascript Typescript: Frontend UI (oomol-lab/open-flow, 223 stars), Iconify Icons (oomol-lab/open-flow, 223 stars), Bit CLI (teambit/bit, 18k stars) and Ink Tui Wizard (novuhq/novu, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Javascript Typescript?

julianromli (a GitHub user) maintains it in julianromli/opencode-template, which has 144 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on February 3, 2026.

Source: julianromli/opencode-template on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.