openspec-new-change

โดย rivet-dev

เริ่มต้นการเปลี่ยนแปลง OpenSpec ใหม่โดยใช้ขั้นตอนการทำงานของสิ่งประดิษฐ์ทดลอง ใช้เมื่อผู้ใช้ต้องการสร้างฟีเจอร์ใหม่ การแก้ไข หรือการปรับเปลี่ยนที่มีโครงสร้าง…

npx skills add https://github.com/rivet-dev/rivet --skill openspec-new-change

Start a new change using the experimental artifact-driven approach.

Input: The user's request should include a change name (kebab-case) OR a description of what they want to build.

Steps

  1. If no clear input provided, ask what they want to build

    Use the AskUserQuestion tool (open-ended, no preset options) to ask:

    "What change do you want to work on? Describe what you want to build or fix."

    From their description, derive a kebab-case name (e.g., "add user authentication" → add-user-auth).

    IMPORTANT: Do NOT proceed without understanding what the user wants to build.

  2. Determine the workflow schema

    Use the default schema (omit --schema) unless the user explicitly requests a different workflow.

    Use a different schema only if the user mentions:

    • A specific schema name → use --schema <name>
    • "show workflows" or "what workflows" → run openspec schemas --json and let them choose

    Otherwise: Omit --schema to use the default.

  3. Create the change directory

    openspec new change "<name>"
    

    Add --schema <name> only if the user requested a specific workflow. This creates a scaffolded change at openspec/changes/<name>/ with the selected schema.

  4. Show the artifact status

    openspec status --change "<name>"
    

    This shows which artifacts need to be created and which are ready (dependencies satisfied).

  5. Get instructions for the first artifact The first artifact depends on the schema (e.g., proposal for spec-driven). Check the status output to find the first artifact with status "ready".

    openspec instructions <first-artifact-id> --change "<name>"
    

    This outputs the template and context for creating the first artifact.

  6. STOP and wait for user direction

Output

After completing the steps, summarize:

  • Change name and location
  • Schema/workflow being used and its artifact sequence
  • Current status (0/N artifacts complete)
  • The template for the first artifact
  • Prompt: "Ready to create the first artifact? Just describe what this change is about and I'll draft it, or ask me to continue."

Guardrails

  • Do NOT create any artifacts yet - just show the instructions
  • Do NOT advance beyond showing the first artifact template
  • If the name is invalid (not kebab-case), ask for a valid name
  • If a change with that name already exists, suggest continuing that change instead
  • Pass --schema if using a non-default workflow

Skills เพิ่มเติมจาก rivet-dev

multiplayer-game
rivet-dev
รูปแบบเชิงปฏิบัติสำหรับการสร้างเกมผู้เล่นหลายคน: การจับคู่ผู้เล่น, ลูปการทำงานแบบติ๊ก, สถานะแบบเรียลไทม์, การจัดการความสนใจ และการตรวจสอบความถูกต้อง รวมถึงโค้ดเริ่มต้นและรูปแบบสถาปัตยกรรมสำหรับเกม 10 ประเภท (แบทเทิลรอยัล, อารีน่า, สไตล์ IO, โลกเปิด, ปาร์ตี้, ฟิสิกส์ 2D/3D, แบบจัดอันดับ, ผลัดกันเล่น, แบบไม่ได้เล่น) พร้อมโทโพโลยีของตัวละคร, แผนภาพวงจรชีวิต และกลยุทธ์เน็ตโค้ด ครอบคลุมพื้นฐานการจำลองเซิร์ฟเวอร์: ลูปเรียลไทม์แบบคงที่เทียบกับการอัปเดตที่ขับเคลื่อนด้วยการกระทำ, การเลือกเอ็นจิ้นฟิสิกส์ (
rivetkit
rivet-dev
การคำนวณแบบมีสถานะและอายุยืนสำหรับเอเจนต์ AI แอปผู้เล่นหลายคน และระบบอัตโนมัติของเวิร์กโฟลว์ แอคเตอร์เป็นกระบวนการในหน่วยความจำที่คงอยู่ซึ่งรักษาสถานะข้ามคำขอโดยไม่ต้องไปกลับฐานข้อมูล พร้อมการปรับขนาดอัตโนมัติจากศูนย์ไปจนถึงหลายล้านอินสแตนซ์พร้อมกัน มีการสื่อสารแบบเรียลไทม์ในตัวผ่าน WebSockets และอีเวนต์ คิวที่ทนทานสำหรับการประมวลผลข้อความตามลำดับ และ SQLite สำหรับการค้นหาข้อมูลที่มีโครงสร้าง สถานะคงอยู่ข้ามการรีสตาร์ทและการขัดข้องผ่าน Rivet Cloud หรือโฮสต์เอง...
ai-agent
rivet-dev
สร้างแบ็กเอนด์ AI agent ที่มีหน่วยความจำถาวร: หนึ่ง Rivet Actor ต่อการสนทนา การจัดการข้อความในคิว และการสตรีมการตอบสนองของ LLM เป็นเหตุการณ์แบบเรียลไทม์
ai-agent-workspace
rivet-dev
มอบคอมพิวเตอร์ส่วนตัวให้กับเอเจนต์ AI ทุกตัว: พื้นที่ทำงานถาวรที่มีระบบไฟล์ โปรเซส เชลล์ เครือข่าย และเซสชันของเอเจนต์บนระบบในกระบวนการที่มีน้ำหนักเบา…
chat-room
rivet-dev
สร้างแบ็กเอนด์ห้องแชทแบบเรียลไทม์ด้วย Rivet Actors: หนึ่ง actor ต่อหนึ่งห้อง, ประวัติข้อความที่ใช้ SQLite, และการกระจายสัญญาณ WebSocket ไปยังทุกไคลเอนต์ที่เชื่อมต่อ
collaborative-text-editor
rivet-dev
สร้างแบ็กเอนด์ของโปรแกรมแก้ไขข้อความแบบทำงานร่วมกันด้วย Yjs CRDTs และ Rivet Actors: ตัวแทนต่อเอกสารจะถ่ายทอดการอัปเดตการซิงค์และการรับรู้ และบันทึกสแนปช็อต
cron-jobs
rivet-dev
งาน cron ที่ทนทานด้วย Rivet Actors: ตัวจับเวลา schedule.after และ schedule.at ยังคงทำงานต่อหลังการรีสตาร์ทและ Crash พร้อมทั้ง re-arming งานที่เกิดซ้ำและ idempotent handlers
live-cursors
rivet-dev
เคอร์เซอร์สดและการแสดงสถานะผู้เล่นหลายคนด้วย Rivet Actors: สถานะเคอร์เซอร์ต่อการเชื่อมต่อ อัปเดตแบบเรียลไทม์ผ่านอีเวนต์หรือ WebSockets ดิบ และการจำกัดความถี่