agent rules: every check, rule, template line, message and desktop view covers both stores and every surface

This commit is contained in:
CRTkafa 2026-10-18 01:31:17 +08:00
parent 5a266b952f
commit 6d95ea00f5
2 changed files with 4 additions and 0 deletions

View file

@ -127,4 +127,6 @@ need to ...", do it instead, unless it is one of the owner steps in point 2.
- Inner loop: `bun run ci:quick` (typecheck, the tests related to your change against origin/main, scrub; seconds).
Before every push: the full `bun run ci` (every check and test, in parallel shards), and check its exit code.
- Skills are the single source: edit `skills/*/SKILL.md` or `docs/agents-core.md`, then `bun tools/gen-adapters.ts`.
- Every check, rule, template line, message and desktop view covers both stores (App Store and Google Play) and every
surface (CLI, MCP, desktop, skills); when a store has no equivalent field, say where the same thing goes there.
- Never commit credentials, account / team / issuer / key / app ids or personal data; placeholders use example.com.

View file

@ -87,6 +87,8 @@ export function generate(root: string): Map<string, string> {
'- Inner loop: `bun run ci:quick` (typecheck, the tests related to your change against origin/main, scrub; seconds).',
' Before every push: the full `bun run ci` (every check and test, in parallel shards), and check its exit code.',
'- Skills are the single source: edit `skills/*/SKILL.md` or `docs/agents-core.md`, then `bun tools/gen-adapters.ts`.',
'- Every check, rule, template line, message and desktop view covers both stores (App Store and Google Play) and every',
' surface (CLI, MCP, desktop, skills); when a store has no equivalent field, say where the same thing goes there.',
'- Never commit credentials, account / team / issuer / key / app ids or personal data; placeholders use example.com.',
''].join('\n'));