You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(agents): streamline skills, add a skills validator, tighten public error contract (#1110)
Trim the `.agents/skills/` runbooks to what agents actually need at read time
and add `scripts/check-skills.mjs` so malformed skills fail `pnpm lint` instead
of shipping silently.
- Condense 14 SKILL.md runbooks (-875 lines); drop the two
`source-command-*` skills that only mirrored slash commands
- Add `check-skills.mjs`: frontmatter, directory/name match, dangling
symlinks, and CLAUDE.md routing-table coverage; wire into
`check:agent-instructions`
- Remove the stale `.claude/skills/shadcn` and `.cursor/skills` symlinks
- CLAUDE.md routing table gains `chatbotx-basecode` and `builder-ui-i18n`;
AGENTS.md now points at that table as the single inventory
- Sync invariant mirrors: correct the `ChannelType` source of truth to
`packages/utils/src/channel.ts`, add the structured-logging (`err`, not
`error`) invariant
- Public API: move `invalidRequestData` + `validation` into
`commonApiErrors` so every input-taking route documents its 422, mark the
per-router sets `satisfies ErrorMap`, and fix contact-notes create to
declare `notFound` (its identifier lookup can 404)
- Cover both with tests that read each procedure's real `errorMap` rather
than the rendered spec
Claude-Session: https://claude.ai/code/session_012bCkSZqKnTc47yX9qFKY3M
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
0 commit comments