ソース情報
- リポジトリ
- 420company/artemis
- ソースの最終更新活動
- 2026年4月27日 03:28
- 検出された SKILL.md の言語
- 英語
- スター
- 1
- フォーク
- 0
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/420company/artemis --skill typegenコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
SOC 職業分類に基づく
SKILL.md を表示中
| name | typegen |
| description | Run Sanity TypeGen and troubleshoot type generation issues. |
I'll help you generate TypeScript types from your Sanity schema.
npm run typegen
# or
npx sanity schema extract && npx sanity typegen generate
Check Configuration
typegen config in sanity.cli.ts (recommended)sanity-typegen.json, suggest migrating to sanity.cli.tstypegen script is in package.json (for manual workflows)Run TypeGen
Troubleshoot Issues
sanity-typegen.json to sanity.cli.ts| Issue | Solution |
|---|---|
| "No schema found" | Fix path glob in sanity.cli.ts typegen config |
| "Query not typed" | Wrap in defineQuery() or groq template |
| Types outdated | Re-run after schema/query changes, or enable automatic generation |
| Import errors | Check sanity.types.ts output path |
Using sanity-typegen.json | Migrate config to sanity.cli.ts (deprecated) |
Configure TypeGen in sanity.cli.ts:
// sanity.cli.ts
import { defineCliConfig } from 'sanity/cli'
export default defineCliConfig({
typegen: {
enabled: true, // Auto-generate during sanity dev/build
path: "./src/**/*.{ts,tsx,js,jsx,astro,svelte,vue}",
schema: "schema.json",
generates: "./sanity.types.ts",
overloadClientMethods: true,
},
})
"Run typegen" "Fix my TypeGen configuration" "Why are my types not updating?" "Enable automatic type generation"