跳到正文
cccskills
免费在 GitHub 公开

write-conventions

Use when a project's conventions need to be written down or extended: starting a codebase from scratch, settling how one tier uses its framework, capturing a design decision that was just made, or turning unwritten patterns in an existing repo into rules. Produces or grows an AGENTS.md / CLAUDE.md. Any language or stack.

中文简介正在准备中。当前显示原文说明。

Ovich/swarmstorm星标 13(GitHub 13 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(5)

  • SKILL.md4.5 KB
  • decision-points.md6.7 KB
  • references/framework-angular.md22.8 KB
  • scripts/rules.mjs3.5 KB
  • scripts/rules.test.mjs3.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Project conventions

A convention document is the set of decisions a fresh agent would otherwise guess differently every time, as short checkable rules in the repo's AGENTS.md (or CLAUDE.md, whichever the repo uses; AGENTS.md if neither).

What earns a rule

All five hold, or the candidate is dropped, naming the one that fails.

  1. Contested: a competent developer could defensibly do it the other way.
  2. Recurring: a one-off belongs in a code comment.
  3. Consequential: breaking it costs rework or silent drift.
  4. Checkable: a reviewer can point at a line and say yes or no.
  5. Not tool-enforceable: what a linter, formatter or type checker can enforce is configured there.

Never a rule: formatting, casing, import order, line length; a restated general principle; an aspiration with no test; code that does not exist yet.

Rule shape

N. **MUST <imperative>.** <the cost of not doing it, or where it lives.> <optional: one path or symbol.>
  • Two or three sentences, under 50 words. MUST for invariants, SHOULD for strong defaults.
  • The real symbol, path or command, never a paraphrase of the idea.
  • Every rule states its cost: a rule whose reason is invisible gets rationalised away.
<Good> `2. **MUST derive DB-row types from Drizzle, never hand-write them.** Use `typeof <table>.$inferSelect`, or the aliases exported from the project's db package. Hand-written copies drift from the schema silently.` </Good>

Modes

  • bootstrap, a new codebase. Read the stack first: the foundation reference when the project has a roadmap, its boards in aiview, any conventions file present. Ask only what none answers, through the interview skill, on the decision points that stack forces (decision-points.md). Write an ## Architecture (context you must not break) section and the rules the answers produce. Stop at 5 to 8: rules written before the code are guesses.
  • harvest, an existing codebase. Read the source and recent history for patterns followed but unwritten, and for places the codebase contradicts itself. Propose each with its evidence: the files that comply and the ones that do not. A pattern with no counter-example may not need writing down. A pattern broken in three places is a rule or a mistake: say which.
  • capture, a decision just made. Run the five filters, write it in the shape, place it in its section.

The vendor's own docs

Before rules for a stack not yet codified, read its makers' guidance, official domain only, and note the major version read.

  • The docs yield candidates, which still face the five filters.
  • Cite the URL in the rule. A rule that departs from official guidance says so and why.
  • Where the docs are silent, say so and decide on the merits.
  • A framework with a catalogue at references/framework-<name>.md (references/framework-angular.md today): read it after the stack catalogue, when that tier is about to get real. A framework without one gets a catalogue first: per fork, the official URL, the major version read, and two lines that let someone who does not know the framework judge it.

Placement and numbering

  • Numbering is append-only: AGENTS EXCEPTION (rule 11) markers in the code point at numbers.
  • Run node scripts/rules.mjs before writing a rule and before saying a marker holds: it prints the rules, the next free number and every marker with the rule it cites, exit 1 on a marker citing no rule or on a duplicate number.
  • Group under the headings the document already uses; a new heading waits for its third rule.
  • Two clauses near the top of every document, once. The escape hatch: a rule may be deviated from at a specific site with a comment beginning AGENTS EXCEPTION (rule N): and the reason; without one, deviation is a review finding, and so is a marker whose reason does not hold. The capture clause: a decision made during a session that would pass the five filters is said in chat before the session ends, and written only on the person's yes.

Output

Show the exact markdown block and where it goes; apply on confirmation. A proposal that contradicts an existing rule names its number, and superseding is the person's decision.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

aiview

免费

Use whenever a document is produced for the user to read and react to while it evolves: a brainstorm board, a plan, a design language, a prototype, a PR analysis, a review report, a live PDF. Also when a document must be registered, opened, listed, moved or retired, or a prototype's bindings checked. Not for code, tests or configuration, or any file nobody opens in a browser.

中文简介正在准备中。当前显示原文说明。

Ovich/swarmstorm132026年10月29日 更新

Use when a person wants to think an idea through and keep the discussion: a feature, a tool choice, an architecture question, before a plan or without one, with the agent through an interview. Produces a board in aiview holding the decisions, the diagrams and what was investigated. Not for a swarm of seats working it (brainswarm), not for an implementation plan and not for bug fixes.

中文简介正在准备中。当前显示原文说明。

Ovich/swarmstorm132026年10月29日 更新

Use when a person wants a swarm of role seats to work a topic on the swarm board under a chosen protocol: a brainstorm (ideas before any judgment), a debate (questions argued to decisions, a skeptic endorsing) or an editorial (one text drafted, read by seats standing for its readers, revised), a protocol or template the project keeps as a `protocol-<name>` skill (or an older `brainswarm-<name>` one), or a custom protocol recommended for the person's intent, or a seat's brief names a brainswarm protocol. Produces the run's record in aiview, written by the orchestrator alone. Not for one person thinking aloud with the agent (brainstorm, interview) and not for a plan's slices (execute-plan).

中文简介正在准备中。当前显示原文说明。

Ovich/swarmstorm132026年10月29日 更新

cold-read

免费

Use when dispatched to cold-read a plan, as an agent that was not in the conversation that wrote it, to say whether it can be carried out from the document alone. Produces what the reader would build, its questions, and a verdict, ready or not ready, repeated as the writer fixes the plan. Not for judging the design (interview, pr-review), not for the mechanical checks (aiview plan check, tracker check), and not for writing the plan (write-plan).

中文简介正在准备中。当前显示原文说明。

Ovich/swarmstorm132026年10月29日 更新

Use when code is hard to follow and is to be audited or reworked: long if/else or switch chains, cascades of type checks or parse attempts, kind fields compared to strings, flag parameters, deep nesting, a function hard to read. Also for complexity guardrails, or one long conditional function pasted. Produces a ranked audit of families, one family reworked behind characterization tests, or the guardrails.

中文简介正在准备中。当前显示原文说明。

Ovich/swarmstorm132026年10月29日 更新

Use when a page is wanted to work on something with the person during development, fed the project's real data (comparing model answers, walking an agent call by call, measuring an output against its template), when such a workbench has to change, be reworked or its feed broke, or mid-session when turns went into aligning with the person on how to do a kind of work that recurs and real project data could show it. Produces the page in aiview, kind `workbench`, and the project's `workbench-<bench>` skill with its feed and operating steps. Not for designing a product screen (design-prototype) or verifying user stories (verification-skill-create).

中文简介正在准备中。当前显示原文说明。

Ovich/swarmstorm132026年10月29日 更新

查看 Ovich 的全部技能

报告此技能的问题