ワンクリックで
add-package-feature
Add a new feature to an existing @fabrk/* package following monorepo conventions
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Add a new feature to an existing @fabrk/* package following monorepo conventions
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when a conversation is getting long, drifting, juggling multiple tasks, re-pasting the same files, or showing stale/confused context — and at the start of any new task. Triggers: long thread, context bloat, topic switch, repeated file uploads, 'why is it forgetting', degraded answers, finished one task and starting another.
Use when a user wants to deconstruct a complex problem, business challenge, product decision, strategy question, career crossroads, or stuck situation by stripping assumptions, identifying first principles, rebuilding options from foundational truths, and choosing one high-leverage action.
Audit role-based access control and permission drift across product surfaces.
Build or rebuild the ADR index and dependency graph in AgentDB
Query AgentDB with semantic routing, hierarchical recall, causal graphs, and context synthesis
Use when the user wants to reduce AI coding spend without reducing shipping speed. Covers model routing, prompt caching, context discipline, loop profiling, and rollout plans for Cursor, Claude Code, Aider, and similar coding-agent stacks.
| name | add-package-feature |
| description | Add a new feature to an existing @fabrk/* package following monorepo conventions |
| user-invocable | true |
Add a new feature to an existing @fabrk/* package following the monorepo's conventions.
package: The package name (e.g., "ai", "auth", "core")feature: Description of the feature to addRead packages/{package}/src/index.ts to understand existing exports and patterns.
Read packages/{package}/package.json for dependencies.
Look at similar features in the same package. Follow the established patterns:
@fabrk/corecrypto — use Web Crypto for edge compatibilityz.input<> for params, z.infer<> for internal typesCreate test file at packages/{package}/src/{feature}.test.ts.
Write failing tests that define the expected behavior.
Run: cd packages/{package} && npx vitest run {feature}.test.ts
Create feature file at packages/{package}/src/{feature}.ts.
Implement the minimum code to pass all tests.
Add to packages/{package}/src/index.ts:
export * from './{feature}'
pnpm build # All 20 packages must build
pnpm type-check # All 25 must pass
pnpm test # All tests must pass
If the feature is used by other packages, check dependents still build:
pnpm build --filter="...@fabrk/{package}"
pnpm changeset
Select the package, choose patch/minor/major, write description.