j5ik2o-package-design
Use when redesigning package or module structure for messy codebases, large modules, dependency problems, or new project structure. Applies information hiding, change reasons, dependency direction, and release boundaries. Trigger for package structure review, module dependencies, file placement, circular dependency cleanup, or module hierarchy design.
- License 许可
- Apache-2.0
- 所属仓库
- j5ik2o/ai-tools
- 最近更新
- 2026-11-12
- Stars
- ★ 28
- Forks
- 0
01 前言 Front Matter
- name
- j5ik2o-package-design
- description
- Use when redesigning package or module structure for messy codebases, large modules, dependency problems, or new project structure. Applies information hiding, change reasons, dependency direction, and release boundaries. Trigger for package structure review, module dependencies, file placement, circular dependency cleanup, or module hierarchy design.
02 资源文件 3
- 参考文档references/details.md958 B
- 参考文档references/principles.md703 B
- 参考文档references/rust-patterns.md494 B
03 SKILL.md 正文
Package Design
Package design is about controlling change, not arranging files aesthetically.
Workflow
-
Identify change reasons: what decisions are likely to vary independently?
-
Map current dependencies and cycles.
-
Group code by stable domain or technical decisions, not by temporary implementation steps.
-
Define public APIs that hide volatile internals.
-
Make dependency direction explicit and acyclic.
-
Plan migration in small, behavior-preserving moves.
Design Rules
-
Put volatile details behind stable interfaces.
-
Keep high-level policy independent from low-level mechanisms.
-
Prefer feature/domain packages when change reasons are domain-shaped.
-
Split large modules only when the split reduces change coupling.
References
Read references/principles.md for design principles and references/rust-patterns.md for Rust-specific layouts.
Detailed Reference
For non-trivial implementation, review, or refactoring work, read references/details.md before giving final guidance. It contains the detailed rules, examples, smells, and migration notes that do not belong in the short invocation body.
Output
Return current problems, target package tree, dependency rules, migration steps, and verification commands.
04 同仓库更多 Skills
takt
TAKT ワークフローエンジン。Agent Team を使ったマルチエージェントオーケストレーション。ワークフロー YAML(steps / initial_step)に従ってマルチエージェントを実行する。
takt
TAKT ワークフローエンジン。codex exec でサブエージェントを起動し、ワークフロー YAML(steps / initial_step)に従って マルチエージェントオーケストレーションを実行する。
j5ik2o-takt-workflow-builder
TAKTワークフロー(ワークフローYAML)の作成・カスタマイズスキル。Faceted Prompting (Persona/Policy/Instruction/Knowledge/Output Contract)に基づくファセット群の 生成を含む。references/taktにあるtaktのソースコード・ドキュメント・ビルトインワークフロー群を 参照資料として活用する。ユーザーの要件をヒアリングし、step構成、ルール設計、 ファセットファイル生成を一括で行う。 トリガー:「ワークフローを作りたい」「ワークフローを定義」「taktのワークフローを作成」 「新しいtaktワークフローを作って」「takt workflow」「ワークフローYAML」
j5ik2o-takt-task-builder
TAKTのtasks.yaml(タスクメタデータ)とタスクディレクトリ(.takt/tasks/{slug}/order.md)の 作成・編集を支援するスキル。TaskRecordスキーマに準拠したYAMLエントリの生成、 order.mdタスク仕様書の作成、ステータス遷移ルールの検証を行う。 references/taktにあるtaskスキーマ定義・ドキュメントを参照資料として活用する。 トリガー:「タスクを追加」「tasks.yamlを編集」「taktタスクを作成」 「タスク仕様書を書く」「order.mdを作成」「takt task」「タスクを定義」 「pendingタスクを追加」「GitHub Issueからタスク作成」
j5ik2o-takt-skill-updater
nrslib/takt の新バージョンリリース時に、takt-*スキル群(j5ik2o-takt-task-builder, j5ik2o-takt-workflow-builder, j5ik2o-takt-facet-builder, j5ik2o-takt-analyzer, j5ik2o-takt-optimizer)を最新のtaktバージョンに追従させるスキル。 TypeScriptスキーマ(taskRecordSchemas.ts / taskExecutionSchemas.ts)、ワークフローYAML、ファセットMarkdownの差分を検出し、 SKILL.md・参照ドキュメント(task-schema.md等)を体系的に更新する。 トリガー:「taktスキルを更新」「takt-*スキルの鮮度チェック」「taktバージョンアップ対応」 「スキルが古くないか確認」「takt skill updater」
takt
TAKT ワークフローエンジン。Agent Team を使ったマルチエージェントオーケストレーション。ワークフロー YAML(steps / initial_step)に従ってマルチエージェントを実行する。