Skip to content

refactor(skills): cut style, philosophy, and typescript to five rules each - #1272

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-9648-cut-style-philosophy-and-typescript-to-the-top-five-rules
Oct 2, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-9648-cut-style-philosophy-and-typescript-to-the-top-five-rules

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Delete the style (3,400 words) and philosophy (1,000) skills. Five rules that change behavior move into the shared scope-and-conventions block of the system prompt, so the primary and every worker get them: keep refactors out of features and do work now, comments explain why, delete replaced paths without shims, fix at the layer that owns the invariant, validate at the boundary and land tests with the change. Commit-message rules stay in CONTRIBUTING.md, which AGENTS.md already makes authoritative.
  • Rewrite typescript (2,400 words) as five headline rules with short examples (about 300 words): real types, validate at the boundary, functions and named exports, errors keep their cause, bun:test tests that prove behavior.
  • Drop the "load style and philosophy" instructions from AGENTS.md, the primary prompt, and refactor, and remove both names from the telemetry allowlist and docs.

Verification

  • bun run check green (7,870 tests).
  • Convention text drops from about 6,800 words to about 400.

Fixes CL-9648

@linear-code

linear-code Bot commented Sep 30, 2026

Copy link
Copy Markdown

CL-9648

@TheGreatAxios
TheGreatAxios added this pull request to stack #1273 September 30, 2026 20:27
@TheGreatAxios
TheGreatAxios removed this pull request from stack #1273 September 30, 2026 20:41
@TheGreatAxios
TheGreatAxios added this pull request to stack #1277 September 30, 2026 20:42
@TheGreatAxios
TheGreatAxios removed this pull request from stack #1277 September 30, 2026 20:56
@TheGreatAxios
TheGreatAxios added this pull request to stack #1279 September 30, 2026 20:57
@TheGreatAxios
TheGreatAxios removed this pull request from stack #1279 September 30, 2026 23:49
@TheGreatAxios
TheGreatAxios force-pushed the cl-9648-cut-style-philosophy-and-typescript-to-the-top-five-rules branch from 4e29306 to 09cfd80 Compare September 30, 2026 23:49
@TheGreatAxios
TheGreatAxios added this pull request to stack #1284 September 30, 2026 23:50
@TheGreatAxios
TheGreatAxios force-pushed the cl-9648-cut-style-philosophy-and-typescript-to-the-top-five-rules branch from 09cfd80 to ee31116 Compare October 2, 2026 00:26
@TheGreatAxios
TheGreatAxios force-pushed the cl-9648-cut-style-philosophy-and-typescript-to-the-top-five-rules branch 8 times, most recently from 35b3fc9 to 10e6208 Compare October 2, 2026 17:19
Base automatically changed from cl-9647-fold-linear-issue-workflow-and-native-integration-into to main October 2, 2026 17:21
@TheGreatAxios
TheGreatAxios force-pushed the cl-9648-cut-style-philosophy-and-typescript-to-the-top-five-rules branch from 10e6208 to 98bcbc8 Compare October 2, 2026 17:21
@TheGreatAxios
TheGreatAxios merged commit 63398a6 into main Oct 2, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant