openspec-new-change

Démarrer un nouveau changement OpenSpec en utilisant le flux de travail expérimental des artefacts. À utiliser lorsque l'utilisateur souhaite créer une nouvelle fonctionnalité, un correctif ou une modification avec une structure…

npx skills add https://github.com/rivet-dev/actors --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

Plus de skills de rivet-dev

ai-agent
rivet-dev
Construisez un backend d'agent IA avec mémoire persistante : un acteur Rivet par conversation, gestion des messages en file d'attente et diffusion des réponses LLM en temps réel sous forme d'événements.
official
ai-agent-workspace
rivet-dev
Offrez à chaque agent IA son propre ordinateur : un espace de travail persistant avec un système de fichiers, des processus, des shells, un réseau et des sessions d’agent sur un environnement léger en processus…
official
chat-room
rivet-dev
Construisez un backend de salon de discussion en temps réel avec Rivet Actors : un acteur par salon, un historique des messages basé sur SQLite, et une diffusion WebSocket à chaque client connecté.
official
collaborative-text-editor
rivet-dev
Construire un backend d'éditeur de texte collaboratif avec les CRDT Yjs et les acteurs Rivet : des acteurs par document relaient les mises à jour de synchronisation et de conscience et persistent les instantanés.
official
cron-jobs
rivet-dev
Tâches cron durables avec Rivet Actors : les minuteurs schedule.after et schedule.at survivent aux redémarrages et aux pannes, plus le réarmement des tâches récurrentes et les gestionnaires idempotents.
official
live-cursors
rivet-dev
Curseurs en direct et présence multijoueur avec Rivet Actors : état du curseur par connexion, mises à jour en temps réel via événements ou WebSockets bruts, et limitation de débit.
official
per-tenant-database
rivet-dev
Isolation des données multi-locataire avec un Rivet Actor par locataire : la clé de l'actor est l'identifiant du locataire, de sorte que chaque locataire dispose de son propre ensemble de données isolé et de ses propres migrations.
official
rivetkit-client-javascript
rivet-dev
Client JavaScript pour se connecter aux Rivet Actors avec des connexions sans état ou avec état. Prend en charge les environnements navigateur, Node.js et Bun avec détection automatique des points de terminaison via des variables d'environnement ou une configuration explicite. Propose deux modes d'interaction : les appels d'action sans état pour des requêtes indépendantes et les connexions avec état avec abonnements aux événements en temps réel. Inclut un accès HTTP et WebSocket de bas niveau pour les acteurs implémentant les gestionnaires onRequest ou onWebSocket. Fournit un accès basé sur des tableaux composés...
official