Sign inSign up

t2fn/typescript-claude-abliterated

By t2fn

•Updated 20 days ago

TypeScript toolchain and debuggers, optimized for frontend and backend development, token efficiency

Image
Machine learning & AI
Developer tools
0

3.1K

t2fn/typescript-claude-abliterated repository overview

⁠typescript-claude-abliterated — TypeScript Development Stack with Claude Code

Cost savings: use the tweakcc reduced system prompt + specialized TypeScript tools for the best results. A default Claude Code prompt injects 30K+ characters per turn — that's $90/MTurn on Sonnet and $150 on Opus for tokens you never read. The tweakcc thinkingVerbs and ablated prompts trim this to ~10K, saving up to 90% on cached reads and ~$4.50/hour in input for a coding session at 100 requests/hour.

Drop a TypeScript project into a container and ask Claude to compile, lint, format, test, and ship it. This image combines Claude Code (abliterated) with TypeScript, biome, eslint, prettier, tsx, vitest, and more — a complete TypeScript development workstation.

⁠What It Does

This container is a focused TypeScript development environment. Mount whatever TypeScript projects, libraries, or services you want to work on, start the container, and Claude automatically gets:

  • TypeScript toolchain — tsc, tsx, native type checking, and compilation
  • biome — fastest all-in-one linter + formatter (Rust-based, replaces ESLint + Prettier)
  • eslint + prettier — comprehensive linting and formatting
  • tsx — TypeScript executor (run .ts files directly, no compilation step)
  • vitest — fast Vite-based testing framework
  • turbo — monorepo build system with incremental caching
  • @swc/core — Rust-accelerated compiler for fast builds
  • Abliterated Claude — lean ~10K system prompt, 200+ skills, subagent support, and low token cost

No configuration, no setup. Give it a TypeScript project and ask Claude to compile, lint, format, and ship.

# First, navigate to your project directory.
# cd $HOME/git/my-project

# Build a TypeScript project with Claude and biome working together
docker run -u $(id -u):$(id -g) -e ANTHROPIC_API_KEY=sk-... \
    -v "$PWD:/workdir:rw" \
    t2fn/typescript-claude-abliterated:latest

# Or with podman:
podman run -u $(id -u):$(id -g) --userns=keep-id \
    -e ANTHROPIC_API_KEY=sk-... \
    -v "$PWD:/workdir:rw" \
    t2fn/typescript-claude-abliterated:latest

# Then send a prompt:
# "biome check my project, run vitest, and fix all issues"

# Or with a local Ollama model:
docker run -u $(id -u):$(id -g) -e OLLAMA_MODEL=gemma4:31b \
    -e OLLAMA_HOST=10.12.2.4 \
    -e ANTHROPIC_API_KEY=sk-... \
    -v "$PWD:/workdir:rw" \
    t2fn/typescript-claude-abliterated:latest

# Or with podman:
podman run -u $(id -u):$(id -g) --userns=keep-id \
    -e OLLAMA_MODEL=gemma4:31b \
    -e OLLAMA_HOST=10.12.2.4 \
    -e ANTHROPIC_API_KEY=sk-... \
    -v "$PWD:/workdir:rw" \
    t2fn/typescript-claude-abliterated:latest

Claude connects to the tooling, calls biome check, traces dependencies via npm, and returns a natural-language report — all from one prompt.

⁠Why This Container?

⁠TypeScript development without the workstation

Building TypeScript applications typically means installing the TypeScript compiler, setting up npm, and installing multiple linting and formatting tools. This container bundles it all and makes it accessible to Claude via a single -p prompt.

Without this containerWith typescript-claude-abliterated
Install TypeScript, biome, eslint, prettier, vitest, turbodocker run — everything is ready
Write TypeScript code, run lint commands, parse output manuallyClaude calls biome check and gets actionable fixes directly
Manually manage package.json, tsconfig.json, npm dependenciesAsk Claude — it knows the npm ecosystem
One project per analysis sessionMount multiple projects; Claude checks them sequentially
Manual biome.json, eslint.config.mjs, .prettierrc configurationPre-configured biome.json, eslint.config.mjs, .prettierrc, tsconfig.json
⁠What Claude can do

The container works with any TypeScript project under /workdir:

  • TypeScript packages — full npm package management (add, remove, install, verify)
  • Linting — biome (RECOMMENDED), eslint, with TypeScript-specific rules
  • Formatting — biome format or prettier with matching configs
  • Testing — vitest for unit and integration tests with coverage
  • Compilation — tsc with strict mode, @swc/core for fast compilation
  • Monorepo — turbo for incremental builds across packages
  • Execution — tsx for running TypeScript without compilation

⁠Toolkit

⁠TypeScript Tools
ComponentSourceDescription
TypeScriptnpmCore compiler (tsc, ts)
Claude Codeclaude-abliterated/Abliterated CLI with tweakcc, 200+ skills, rules
biomecrates.ioFastest all-in-one linter + formatter (Rust)
eslintnpmComprehensive linter (TypeScript-specific rules)
prettiernpmCode formatter (consistent layout)
tsxnpmTypeScript executor (run .ts directly)
vitestnpmTesting framework (Vite-based, fast)
turbonpmMonorepo build system (incremental)
ts-patchnpmTypeScript compiler patcher
tsconfig-pathsnpmPath resolution for tsconfig
@swc/corenpmRust-accelerated compiler (fast alternative)
⁠Why this container is better suited for development

Prompt Claude to use standard TypeScript linting practices. You can say "use the typescript skill to lint my project, ensure functions are not too complex, and apply biome formatting" and Claude will apply TypeScript-specific linting rules, break tasks down properly, and mock test each segment for efficacy.

Directed skills improve code quality and resilience. With abliterated Claude and directed skills:

  • Ask Claude to lint: "run biome check, fix all issues, and run vitest" — Claude applies biome rules and runs tests automatically
  • Break tasks down: instead of a monolithic refactor, Claude splits the work into subagent tasks — each module gets tested independently before integration
  • Ensure mock-tested efficacy: Claude generates and runs mock tests for each segment, verifying that changes don't break existing behavior
  • Monorepo support: ask Claude to "run turbo build and vitest across all packages" — incremental caching reduces wall-clock time
  • Avoid overcorrection: the ablated system prompt avoids the "STRICTLY PROHIBITED" trap that causes Claude to overzealously fix style at the expense of correctness

Say "use the typescript skill to..." to directly task Claude with TypeScript-specific skills — biome linting, tsx execution, vitest testing, and TypeScript compilation with tsc or @swc/core.

⁠claude-tools

Extends Claude Code with specialized command-line tools. Available scripts are automatically in $PATH and activate via slash commands or Claude's built-in tool use:

claude-fix    # Fix code issues with context-aware edits
claude-ask    # Ask questions, get answers without side effects
claude-bash   # Run bash with smarter timeouts and session persistence
claude-agent  # Launch Claude as a persistent agent

To invoke the claude-tools development shell, add /bin/bash to your docker run or podman run command. This starts an interactive shell where claude-tools are available on $PATH and Claude Code is configured for development:

# claude-tools development shell with Docker
docker run -u $(id -u):$(id -g) -e ANTHROPIC_API_KEY=sk-... \
    -v "$PWD:/workdir:rw" \
    t2fn/typescript-claude-abliterated:latest /bin/bash

# Or with podman:
podman run -u $(id -u):$(id -g) --userns=keep-id \
    -e ANTHROPIC_API_KEY=sk-... \
    -v "$PWD:/workdir:rw" \
    t2fn/typescript-claude-abliterated:latest /bin/bash

From the shell you can run claude-fix, claude-ask, claude-bash, claude-agent, and send slash commands (/fix, /ask, /plan) directly to Claude. Use claude-fix --comment to post inline PR comments or --fix to apply findings directly.

More examples: mijuny/claude-tools/tree/main/README.md⁠

⁠Cost Savings with tweakcc

This container runs on claude-abliterated:rocky10, which uses the tweakcc (tweakcc-fixed) reduced system prompt to cut ~67% off daily-flow prompts — from ~30K to ~10K characters. For TypeScript development, this means:

  • Focused tools, focused rules — TypeScript-specific rules (biome, eslint, tsconfig) are loaded on-demand, not every turn
  • tweakcc thinkingVerbs — 207 safe movement-only verbs reduce cognitive drift on every turn
  • Cost-per-hour comparison: ~$4.50/hour savings on input tokens alone for a typical 100-request/hour session
  • Better output — fewer contradictory always-on rules means less "overcorrection" waste on each turn

"Claude" and "Claude Code" are registered trademarks of Anthropic, PBC. This project uses the name "Claude" in a nominative (descriptive) sense — it identifies the Anthropic product (Claude Code) that this project is built to work with, consistent with the nominative fair use doctrine. The use is necessary: a third-party project cannot refer to "Claude Code" without using the mark itself.

This project is not affiliated with, endorsed by, or sponsored by Anthropic, PBC. The name "typescript-claude-abliterated" is a third-party project name where:

  • "typescript" — descriptive reference to the TypeScript programming language (nominative fair use)
  • "claude" — descriptive reference to Anthropic's Claude Code (nominative fair use)
  • "abliterated" — coined portmanteau ("ablation" + "obliteration") representing the reduction of system prompt bloat

The project uses both "TypeScript" and "Claude" to describe what it works with, not who it is from.

All other trademarks belong to their respective owners. No implication of endorsement is made by the use of these marks.

ContainerPurposeHub
asm-claude-abliterated⁠Cross-architecture assembly dev stackHub⁠
gcc-claude-abliterated⁠C/C++ development with GCC + valgrindHub⁠
golang-claude-abliterated⁠Go development with gopls + golangci-lintHub⁠
python-claude-abliterated⁠Python linting with ruff + mypyHub⁠
rust-claude-abliterated⁠Rust dev with clippy + cargoHub⁠
java-claude-abliterated⁠Java/Spring Boot with Maven + GradleHub⁠
hdl-claude-abliterated⁠FPGA/ASIC HDL dev (iverilog, ghdl, verilator)Hub⁠
ada-claude-abliterated⁠Ada development (GNAT via alr, AUnit testing)Hub⁠
cobol-claude-abliterated⁠COBOL compilation for mainframe modernizationHub⁠
julia-claude-abliterated⁠Julia scientific computing and IJulia notebooksHub⁠
apache-claude-abliterated⁠Apache Spark + Pig big data processingHub⁠
fortran-claude-abliterated⁠Fortran HPC with BLAS/LAPACK math libsHub⁠
typescript-claude-abliterated⁠TypeScript dev with biome + eslintHub⁠
ghidra-claude-abliterated⁠Ghidra reverse engineering and malware inspectionHub⁠

⁠Open Source

Source code and suggestions/issues/pull requests can be made at:

https://github.com/t2fn/claude-abliterated⁠

Tag summary

Content type

Image

Digest

sha256:b772af98f…

Size

580 MB

Last updated

20 days ago

docker pull t2fn/typescript-claude-abliterated