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>
52 lines
1.8 KiB
Markdown
52 lines
1.8 KiB
Markdown
# 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`](../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`](../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/`](git-upload/SPEC.md) | Pushing code to a remote, especially first push or new files |
|
|
| [`nodejs-project/`](nodejs-project/SPEC.md) | 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.
|