PromptBase
Upgrade
Close icon
General
Home
Marketplace
Create
Hire
Login
Chat
Sell
Explore

Prompt Details

Model
(claude-4-6-sonnet)
Token size
972
Example input
[PROJECT_DESCRIPTION]: A Node.js + TypeScript SaaS backend monorepo with 14 microservices, shared libraries, Prisma ORM, and a test suite exceeding 3,000 files. Active development across auth, billing, and notification services simultaneously. [TEAM_SETUP]: Solo senior engineer working alone, no subagent budget constraints, context window is the primary bottleneck, needs maximum output per session
Example output
Now I'll build this as a rich, interactive HTML playbook artifact.Here's your complete **Claude Code Session Discipline Playbook** — interactive, tabbed, and built for your exact stack. Here's what each pillar gives you: **P1 — Scope:** A decision tree for every file-read question, the 4-file ceiling visualized, and two concrete bad→good scope examples pulled from your actual service/Prisma/test structure. **P2 — File Limit:** The definition of "large" tuned to this monorepo (test files always count, regardless of line count), plus a copy-paste `/read` command sequence for a real auth debugging scenario. **P3 — /compact:** The 60% threshold explained for your specific project (TypeScript interface chains + Prisma schemas bloat context faster than most), visual warning signals, and the exact 3-turn pre-compact ritual. The "never compact during" list is there to protect you mid-migration. **P4 — CLAUDE.md:** A ready-to-paste template skeleton plus the before/after comparison showing 127 tokens → 18 tokens on a single entry. The skills pattern keeps your base context clean every session. **P5 — Checkpoints:** Hook config for `.claude/settings.json`, the ASCII checkpoint template, and the 3 health-check signals that tell you your checkpoint has become a liability. The **Quick Ref** tab is the desk-pinnable card — all five rules, under 200 words, zero fluff.
πŸŒ€ Claude

Code Context Discipline Guide

Add to Cart
Instant accessInstant access
Usage rightsCommercial use
Money-back guaranteeMoney‑back
By purchasing this prompt, you agree to our terms of service
CLAUDE-4-6-SONNET
Tested icon
Guide icon
4 examples icon
Free credits icon
Generates a personal Claude Code session discipline playbook: scope investigations narrowly, cap inline file reads at 4, run /compact at 60% fill, keep CLAUDE.md under 500 tokens, and add a 10-turn checkpoint hook. 🧠 Cuts token waste by up to 7Γ— vs undisciplined agent teams πŸ“ Keeps CLAUDE.md lean with on-demand skill files ⚑ /compact timing rules that prevent context cliff-drops πŸ” Scope rules that stop runaway file reads cold πŸͺ Session-checkpoint hook setup, ready to paste
...more
Added 1 day ago
Report
Browse Marketplace