Skip to content
Agentmart
Submit a tool

CLAUDE.md · olistic/warriorjs

CLAUDE.md from olistic/warriorjs: 45 lines covering Commands, Architecture, Conventions.

Template by olistic

IndexedMIT★ 9,544
Write a review

Chalk Labs

Need help deploying CLAUDE.md · olistic/warriorjs?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code. Read the repository before you give any tool access to your data.

curl -fsSL https://raw.githubusercontent.com/olistic/warriorjs/master/CLAUDE.md -o CLAUDE.md

Read it and adapt it to your project before use.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The CLAUDE.md file that olistic/warriorjs (9,544 stars) keeps for coding agents. It has 45 lines in 3 sections: Commands; Architecture; Conventions. Use it as a model for your own project's instructions.

Use cases: code-generation

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

What's in it

A CLAUDE.md file: project memory Claude Code loads at the start of every session.

For
Claude Code
Length
45 lines
File
CLAUDE.md

Sections

  1. Commands
  2. Architecture
  3. Conventions

First lines (shown under the repo's MIT license)

# WarriorJS

A game that teaches JavaScript and TypeScript through interactive coding challenges. Players write code to control a warrior navigating through towers full of enemies.

## Commands

```bash
pnpm install        # Install dependencies
pnpm build          # Build all packages (Turborepo handles ordering)
pnpm test           # Run all tests
pnpm lint           # Check linting/formatting (Biome)
pnpm lint:fix       # Auto-fix linting/formatting
```

Run a single package's tests: `npx vitest run apps/cli/`

## Architecture

pnpm monorepo with Turborepo. Code is organized into three top-level directories:

- **`apps/`** — End-user applications
  - **@warriorjs/cli** — CLI for offline play
- **`libs/`** — Shared libraries
  - **@warriorjs/core** — Game engine, level runner, player code loader
  - **@warriorjs/abilities** — Warrior abilities (walk, attack, feel, etc.)
  - **@warriorjs/units** — Game units/enemies
  - **@warriorjs/effects** — Status effects system
  - **@warriorjs/spatial** — Spatial/direction utilities (foundational, no deps)
  - **@warriorjs/scoring** — Score calculation and grade letters
- **`towers/`** — Built-in tower definitions
  - **@warriorjs/tower-the-narrow-path** / **tower-the-powder-keep** — The Narrow Path and The Powder Keep

Dependency flow: spatial → abilities → units → towers, spatial → core → scoring → cli.

Each package compiles with `tsc` to `dist/`.

## Conventions

- **Biome** enforces formatting and linting — don't manually fix style, run `pnpm lint:fix`
- **Lefthook** pre-commit hook auto-formats staged files
- All imports use `.js` extensions (ES modules with NodeNext resolution)
- Tests live next to source: `src/Foo.test.ts`
- Coverage thresholds: 80% (lines, functions, branches, statements)
- Conventional Commits with scope: `feat(cli): add language choice`, `fix(core): handle edge case`

Signals

Stars
9,544
Forks
499
Open issues
14
Last commit (this folder)
Mar 13, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get CLAUDE.md · olistic/warriorjs running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying CLAUDE.md · olistic/warriorjs?

CallGet help
Cite this page

CLAUDE.md · olistic/warriorjs. Agent Mart. https://agentmart.dev/templates/olistic-warriorjs-claude-md (last updated 2026-10-24)