AgentSkillsCN

getting-openspec-artifact-instructions

在 OpenSpec 变更过程中,为代理提供丰富详尽的指导,帮助其明确如何撰写规范、进行设计,或落实各项任务。

SKILL.md
--- frontmatter
name: getting-openspec-artifact-instructions
description: Outputs enriched instructions for creating an artifact or applying tasks for an OpenSpec change. Use when the agent needs guidance on how to write a spec, design, or implement tasks.

Getting OpenSpec Artifact Instructions

Purpose

Provides the AI agent with specific, context-aware instructions for the next step in the OpenSpec workflow.

1. Safety & Verification

  1. Check Help: Run npx @fission-ai/openspec@latest instructions --help.

2. Common Workflows

Workflow: Get Instructions for a Specific Artifact

  1. Run npx @fission-ai/openspec@latest instructions <artifact-name> --change <change-name>. Example artifacts: proposal, specs, design, tasks.

Workflow: Get Implementation Instructions

  1. Run npx @fission-ai/openspec@latest instructions apply --change <change-name>. This provides guidance on how to implement the tasks defined in the change proposal.

3. Examples

Example: Get Instructions for Writing Specs

Command: npx @fission-ai/openspec@latest instructions specs --change my-feature Expected Output: Detailed guidance on the structure and content expected for the specifications of my-feature.