← スキル一覧に戻る

creating-prompts
by coveo
Coveo UI kit repository, home of @coveo/headless, @coveo/atomic, and more.
⭐ 59🍴 39📅 2026年1月23日
SKILL.md
name: creating-prompts description: Creates VS Code Copilot reusable prompts for on-demand workflows. Use when building repeatable tasks users trigger manually - can be simple templates or complex multi-step processes. license: Apache-2.0 metadata: author: coveo version: "1.0"
Creating Prompts
Process
Step 1: Plan the Prompt
Before creating, answer:
- What specific task does this prompt accomplish?
- Will this task be repeated by multiple people?
- Does it need scripts/assets, or is it instruction-based?
- What is the clearest kebab-case name? (e.g.,
migrate-stencil-to-lit,generate-vitest-tests)
Decision:
- Needs scripts/assets → Create a skill instead
- Fully autonomous → Create an agent instead
- User-invoked workflow → Create a prompt
Step 2: Initialize
node .github/skills/creating-prompts/scripts/init_prompt.mjs {name}
Creates: .github/prompts/{name}.prompt.md with template structure.
Step 3: Complete the Prompt
Fill in the generated file:
- Set
agent(usually'agent'for ui-kit) - Set
tools(common:['codebase', 'editFiles', 'search']) - Write role definition (specific expertise)
- Add task description with
{{placeholders}} - List numbered requirements (specific, actionable)
- Include validation checklist
For format details, see SPECIFICATION.md. For writing guidance, see best-practices.md. For examples, see ui-kit-templates.md.
Step 4: Validate
node .github/skills/creating-prompts/scripts/validate_prompt.mjs .github/prompts/{name}.prompt.md
Step 5: Test with Real Use Case
- Invoke the prompt in VS Code Copilot
- Provide test input with real values for placeholders
- Review output quality against requirements
- Refine prompt based on gaps or errors
Modifying Existing Prompts
Extending:
- Read existing prompt to understand scope
- Add new requirements or validation checks
- Run validation, test with use cases
Renaming:
- Create new file with new name
- Copy content, update internal references
- Search for references:
grep -r "{old-name}" .github/ - Update references, delete old file
Deprecating:
- Add to description: "(Deprecated: use
replacement-promptinstead)" - Keep functional until dependents migrate
- Delete after confirming no references
Reference Documentation
| Reference | When to Load |
|---|---|
| SPECIFICATION.md | Frontmatter fields, variables, tool references |
| best-practices.md | Writing effective prompts, structure patterns |
| workflows.md | Multi-step process patterns |
| ui-kit-templates.md | ui-kit specific examples |
Scripts
| Script | Purpose |
|---|---|
init_prompt.mjs | Initialize with template |
validate_prompt.mjs | Validate structure and frontmatter |
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
✓フォーク
10回以上フォークされている
+5
○Issue管理
オープンIssueが50未満
0/5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です