agents-tier-system
Full tier assignments, pairing conventions, and authoring checklist for .agents/ rules and skills. Use when creating or reviewing a rule or skill, deciding Tier 1 vs 2 vs 3, or auditing attachment cost.
- License 许可
- MIT
- 最近更新
- 2026-11-01
- Stars
- ★ 4
- Forks
- 0
01 前言 Front Matter
- name
- agents-tier-system
- description
- Full tier assignments, pairing conventions, and authoring checklist for .agents/ rules and skills. Use when creating or reviewing a rule or skill, deciding Tier 1 vs 2 vs 3, or auditing attachment cost.
03 SKILL.md 正文
.agents/ tier system — full reference
Always-on priming: .agents/rules/agents-tier-system.md. Entry points: .agents/README.md, agents-first-convention, writing-agents-config.
Discover on disk (do not maintain partial catalogs here)
| Tier | How to list |
|---|---|
| Tier 1 | Frontmatter audit in agents-tier-system rule — budget set there |
| Tier 2 | ls .agents/rules/*.md + globs: in frontmatter |
| Tier 3 | alwaysApply: false, no globs: — intent via description |
| Skills | ls .agents/skills — runtime discovery via descriptions |
Pairing examples in this repo: architecture-priming ↔ improve-codebase-architecture; docs-governance-priming ↔ docs-governance + docs-lifecycle-sweep; agents-tier-system rule + skill; authoring-discipline rule + PROSE; verify-after-each-step rule + skill.
Caution: avoid stacking broad globs without thin priming bodies.
Authoring guidelines
Adding a new rule
- Decide the tier before writing.
- Tier 1 needs justification — every turn? If file/intent scoped, demote to Tier 2 or Tier 3.
- Tier 2 globs — broadest meaningful scope; pair with skill when applicable.
- Layout per
agents-first-convention— rules: source +.mdcsymlink; skills:.agents/only.
Adding a new skill
- Needs a rule? Hard
NEVER/ALWAYS+ file-scoped work → Tier 2 priming rule. - Skill-only — explicit trigger phrases in description.
- User-only orchestrator —
disable-model-invocation: true+ delegate to model skill. - Size —
writing-agents-config§ SKILL.md size tiers.
Tier 1 audit command
for f in .agents/rules/*.md .agents/lessons.md; do
awk '/^---$/{c++; next} c==1 && /^alwaysApply: true$/{found=1; exit} END{exit !found}' "$f" && echo "$f"
done
Done when: tier choice justified; pairing checklist satisfied; Tier-1 audit command run when adding always-on rules.
Reference
- Skill authoring SSOT:
writing-great-skills - Layers deltas:
writing-agents-config - File-layout:
agents-first-convention.md - Tier-1 priming rule:
.agents/rules/agents-tier-system.md
04 同仓库更多 Skills
vue-layers
Vue adapter for @stainless-code/vue-layers; open UI from anywhere and manage ordered, named stacks with typed or fire-and-forget `open`
svelte-layers
Svelte bindings for @stainless-code/svelte-layers (runes + stores). Use to open overlay UI imperatively from anywhere, manage ordered named stacks, choose the Svelte 5.7+ runes or Svelte 3+ stores entry, and wire layer context or stack outlets.
solid-layers
SolidJS adapter for @stainless-code/solid-layers; open UI from anywhere and manage ordered, named stacks with typed or fire-and-forget `open`
react-layers
React adapter for @stainless-code/react-layers; open UI from anywhere and manage ordered, named stacks with typed or fire-and-forget `open`
preact-layers
Preact adapter for @stainless-code/preact-layers — use for awaitable confirm flows, singleton toasts, nested drawers, stack subscriptions, and custom layer hosts
lit-layers
Lit adapter for @stainless-code/lit-layers; open UI from anywhere and manage ordered, named stacks with typed or fire-and-forget `open` via Reactive Controllers and custom elements