Files
praxis/library
阿白叔andClaude Opus 4.7 17671b2b22 docs: add library/nodejs-project SOP with encoding checks
8-phase AI execution sequence for Node.js / Next.js projects:
entry → frame → sync → edit → encoding → verify → commit → push
→ release. Phase 4 covers BOM / CRLF / non-UTF-8 detection and
fixes — these are the most common silent corruption when AI edits
files on Windows-default encoding systems.

- library/nodejs-project/SPEC.md (new)
- library/README.md catalog updated
- AGENTS.md §5 Team library entry list updated

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-21 12:31:14 +08:00
..

Team library

A small catalog of focused specs and reusable assets. Read the entries that match the current task; ignore the rest.

This directory is not the team's general working agreements — those live in ../AGENTS.md. The library is for narrower, deeper specs that would bloat AGENTS.md if inlined.

How to use this

When starting a non-trivial task:

  1. Read ../AGENTS.md (general rules).
  2. Scan this catalog. If an entry matches your task, read its SPEC.md.
  3. If nothing matches, proceed.

Catalog

Entry Read it when…
git-upload/ Pushing code to a remote, especially first push or new files
nodejs-project/ Working in any Node.js / Next.js project — task execution SOP

(More entries will be added as the team encounters recurring questions worth standardizing.)

Adding to the library

Promote a topic to a library entry when all are true:

  1. The topic has bitten us at least twice.
  2. It's narrower than AGENTS.md general rules and would make AGENTS.md bloated to inline.
  3. Steps are stable enough to write down.

Layout for a new entry:

library/<entry-name>/
└── SPEC.md          ← English, the actual spec

SPEC.md follows the same editing rules as AGENTS.md (one rule per bullet, no emoji, examples beat prose, ~300 lines max). Lead with a When to read this section so agents can decide quickly whether the entry applies.

If a future entry needs scripts or skill packages, add them next to SPEC.md. The catalog table above gets a one-line "read it when…" for each new entry.