ソース情報
- リポジトリ
- romeerez/orchid-orm
- ソースの最終更新活動
- 2026年8月9日 18:07
- 検出された SKILL.md の言語
- 英語
- スター
- 543
- フォーク
- 19
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/romeerez/orchid-orm --skill type-optimizerコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
SOC 職業分類に基づく
SKILL.md を表示中
| name | type-optimizer |
| description | Use when need to optimize TypeScript types. |
Optimize from the code in front of you. Start with proven ideas from type-optim.md, but treat each one as a candidate that must fit the current code.
--extendedDiagnostics.node .agents/skills/type-optimizer/top-type-optims.js to get the optimization list sorted by historical mean Instantiations savings..agents/skills/type-optimizer/type-optim.md.types --extendedDiagnostics after each idea.node .agents/skills/type-optimizer/update-type-optim-stats.js <optimization-number> <instantiations-diff>.previous Instantiations - new Instantiations for <instantiations-diff>: positive means the attempt improved, negative means it regressed.Instantiations.The saved list is not a blind checklist: while trying it, judge every candidate against the code in front of you. After the list ends, stop using it as guidance and focus solely on the code at hand to find new optimization ideas.
Examples in type-optim.md must be abstract and obvious. They should teach the type-system shape, not the project feature where the idea was first found.
Obj, Key, Value, Item, Input, Output.bad before good, so the reader sees the problem before the transformation.bad:
interface TargetRef<Id extends string, Keys extends string[]> {
id: Id;
keys: Keys;
}
use<
Id extends string,
Shape extends Record<string, unknown>,
Keys extends (keyof Shape & string)[],
>(fn: () => FullEndpoint<Id, Shape, Keys>): Ref<Id, Keys>;
good:
interface Needed<A, B> {
first: A;
second: B;
}
use<A, B>(fn: () => Needed<A, B>): Output<A, B>;
When the documented list is exhausted, try creative undocumented type optimization attempts. If a new idea reduces Instantiations by more than 1000 and passes checks, append it to type-optim.md, then call update-type-optim-stats.js with the new number and measured diff.
Use this template:
### <next-number>. <Imperative Title>
**stats**: {}
**when**: <code situation where it applies>
**how**: <concise transformation>
**bad**:
```ts
<costly abstract shape>
```
**good**:
```ts
<optimized abstract shape>
```