用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/diegosouzapw/awesome-omni-skill --skill create-target命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Token-efficient tracking for AI orchestration. CLI-first for status updates (~50 tokens), agent fallback for complex ops (~1KB). Use when: updating task status, querying blockers, creating progress files, validating phases.
AshAi extension guidelines for integrating AI capabilities with Ash Framework. Use when implementing vectorization/embeddings, exposing Ash actions as LLM tools, creating prompt-backed actions, or setting up MCP servers. Covers semantic search, LangChain integration, and structured outputs.
This skill should be used when solving hard questions, complex architectural problems, or debugging issues that benefit from GPT-5 Pro or GPT-5.1 thinking models with large file context. Use when standard Claude analysis needs deeper reasoning or extended context windows.
基于 SOC 职业分类
正在显示 SKILL.md
| name | create-target |
| description | Scaffold a new target type (e.g., Zed, Windsurf) for universal-ai-config |
| userInvocable | true |
| argumentHint | <target-name> |
| allowedTools | ["Read","Write","Glob","Grep","Bash"] |
Create a new target implementation for universal-ai-config. A target maps universal template frontmatter and hooks to a specific AI coding assistant's configuration format.
Research the target's config format — find up-to-date documentation online for how the target AI assistant expects its configuration files. Look for:
.cursor/rules/*.mdc, .github/instructions/*.md)Look through docs for all supported configuration types:
Present findings for approval — before writing any code, present a structured summary of your research to the user. For each supported configuration type, include:
Format as a clear table or grouped list so the user can review each mapping. Ask the user to approve or flag any corrections before proceeding. Do not continue until the user explicitly approves.
After the user approves the research findings, enter plan mode to design the full implementation before writing any code. The plan should cover:
Review existing targets for patterns — read through at least one existing target implementation (e.g., src/targets/claude/index.ts) and the shared types to understand the exact interfaces and conventions you need to follow.
Draft the implementation plan — produce a detailed, step-by-step plan that includes:
defineTarget() structure — name, outputDir, supportedTypes, and for each supported type:
frontmatterMap — every universal key and what it maps to (string rename or function transform), with reasoninggetOutputPath — the exact path logic, including how alwaysApply or other flags affect routingtransform function logic mapping universal event names → target events, outputPath, and mergeKey if the hook config nests inside a larger filesrc/targets/index.ts and the Target type in src/types.tssrc/config/schema.ts or src/config/defaults.tsReference the defineTarget() pattern:
import { defineTarget } from "../define-target.js";
import type { UniversalFrontmatter, UniversalHookHandler } from "../../types.js";
export default defineTarget({
name: "<target-name>",
: ,
: [, , , ],
: {
: {
: ,
: ,
: ,
},
: ,
},
});
Once the plan is approved, execute it:
Create the target directory — create src/targets/<name>/index.ts
Implement defineTarget() — follow the approved plan to build the full target definition
Register the target — add to src/targets/index.ts and the Target type in src/types.ts
Add tests — create integration tests using existing fixtures that generate for the new target, verifying output paths and content
Run pnpm check to verify everything passes
Key decisions to address in the plan:
frontmatterMap: maps universal keys → target keys. Use a string for direct rename, or a function (value, fm) => Record<string, unknown> for transformsgetOutputPath: determines output file path from template name and frontmattertransform: converts universal event names and handler format to target formatmergeKey: if the target's hook config is nested inside a larger settings file (like Claude's settings.json which has a hooks key)Get plan approval — present the plan to the user for review. Do not start implementing until the plan is approved.