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 cd docs && npx @fission-ai/openspec@latest instructions --help.

2. Common Workflows

Workflow: Get Instructions for a Specific Artifact

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

Workflow: Get Implementation Instructions

  1. Run cd docs && 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: cd docs && 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.