cli-continues
Copilot instructions1.6k starsChanged 8 months agoMITView on GitHub
Trending
Quiet since June.thin dataabout the whole repository
Who's talking about yigitkonur/cli-continues
- A Hacker News story“Show HN:`npx continues` – resume same session Claude, Gemini, Codex when limited”Hacker News · Feb 19, 2026 · 15 points
- @camilleroux.com“Un CLI pour transférer une session de coding IA d'un outil à l'autre : passez de Claude à Copilot ou Gemini …”Bluesky · Feb 26, 2026 · 5 likes
- hodanov/my-pde“[scan:scripts] ai-bridge にリクエスト履歴の永続化と `replay` サブコマンドを追加する”GitHub · Jun 28, 2026
The biggest 3 of 3 mentions linking to the repository that our crawl found. Each line is their own headline.
The file
We split this copilot-instructions.md into the rules it gives an agent
6 rules. About 0 are common, 0 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
All local imports must use .js extensions, even for .ts source files: import { foo } from './bar.js'
- Very specific: line 11
Never use require() — this is an ESM-only codebase ("type": "module" in package.json)
- Very specific: line 12
Use process.exitCode = N instead of process.exit(N) — allows cleanup handlers to run
- Very specific: line 16
Use typed errors from src/errors.ts (ParseError, SessionNotFoundError, ToolNotAvailableError) for user-facing error paths — not bare throw …
- Very specific: line 21
Every SessionSource member in src/types/tool-names.ts must have a registered ToolAdapter in src/parsers/registry.ts
- Very specific: line 28
No synchronous file I/O (readFileSync, writeFileSync) in parser code — blocks the event loop when scanning large session directories
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
continues — Code Review Standards
Read-Only Semantics
- Session data is NEVER modified. Any PR that writes to
~/.claude/,~/.codex/,~/.copilot/,~/.gemini/,~/.factory/,~/.cursor/, or~/.local/share/opencode/is a critical bug. - Handoff files (
.continues-handoff.md) write only to the project's own working directory — never to tool storage paths.
ESM Conventions
- All local imports must use
.jsextensions, even for.tssource files:import { foo } from './bar.js' - Never use
require()— this is an ESM-only codebase ("type": "module"inpackage.json) - Use
process.exitCode = Ninstead ofprocess.exit(N)— allows cleanup handlers to run
Error Handling
- Use typed errors from
src/errors.ts(ParseError,SessionNotFoundError,ToolNotAvailableError) for user-facing error paths — not barethrow new Error() - Parsers must silently skip malformed session data with
catch {}— never propagate parse errors to the caller
Registry Completeness
- Every
SessionSourcemember insrc/types/tool-names.tsmust have a registeredToolAdapterinsrc/parsers/registry.ts - The completeness assertion at the bottom of
registry.tsthrows at module load if any adapter is missing — a missing entry crashes the CLI at startup - Adding a tool to
TOOL_NAMESwithout a registry entry is always a bug; changes toSessionSourcerequire coordinated updates in the registry, fixtures, and tests
Code Quality
- Biome handles all formatting and style — do not introduce ESLint, Prettier, or TSLint configs
- No synchronous file I/O (
readFileSync,writeFileSync) in parser code — blocks the event loop when scanning large session directories - Shared helpers
cleanSummary,extractRepoFromCwd, andhomeDirlive insrc/utils/parser-helpers.ts— do not duplicate them in individual parsers
Performance
- Parsers run in parallel via
Promise.allSettledin the session index builder — a slow parser delays only its own results - The session index uses a 5-minute TTL cache at
~/.continues/sessions.jsonl— cache bypasses should be explicitly justified
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

