Créateur de proposition VAPA

VérifiéPrudence

Créez une nouvelle proposition VAPA avec rédaction assistée par IA, aperçu et confirmation avant soumission via GitHub Issues.

Spar Skills Guide Bot
ProductiviteIntermédiaire
24/07/2026
Claude Code
#github-issues#proposal-drafting#gh-cli#requirements-gathering#vapa

Recommandé pour

Synthèse automatique

Transforme une idée en une proposition VAPA structurée, en affiche un aperçu, puis crée l'Issue GitHub après confirmation.

Points forts

  • Déduit le type d'Issue (Feature, Problem, Experiment, Research, Vision Amendment, Technical Debt/Improvement) à partir de mots-clés et du contexte du dépôt
  • Lit VISION.md et README.md ainsi que les 30 Issues récentes pour enrichir le brouillon et repérer les doublons
  • Pose une seule question de clarification à la fois et accepte une réponse, un saut ou un texte provisoire selon les champs requis du type
  • Affiche systématiquement un aperçu avant création : rien n'est publié sans confirmation explicite

Limites

  • Nécessite le CLI gh authentifié avec le droit de créer des Issues, et un dépôt configuré avec les types et champs d'Issue VAPA de l'organisation
  • Les champs d'organisation (Align, Size, Shaper, Reviewed By, Validator, Sponsor) restent à renseigner manuellement sur l'Issue créée
  • Sans argument, la commande se limite à lister les propositions en attente (draft, refining, ready-for-review) plutôt qu'à en créer une
Quand l'utiliser

À utiliser lorsqu'une intuition ou un besoin doit être formalisé en proposition VAPA complète et soumis comme Issue GitHub.

Quand l'éviter

À éviter pour du suivi de bug classique ou sur un dépôt non configuré avec les types d'Issue VAPA.

Analyse de sécurité

Prudence
Score qualité80/100

The skill is a normal GitHub workflow helper: it detects the repo, reads local docs, drafts a proposal, previews it, and creates an issue only after user confirmation. No exfiltration or destructive commands appear, and the tool allowlist is tight. The rating is 'caution' rather than 'safe' only because it performs authenticated remote writes through gh and delegates core logic to a bundled shell script whose contents are not shown and therefore cannot be audited here.

Points d'attention
  • •Invokes a bundled shell script (${CLAUDE_SKILL_DIR}/scripts/vapa-proposal.sh) whose source is not included in the SKILL.md, so its actual behavior (especially the --next-number and submission paths) cannot be verified from the manifest alone.
  • •Performs remote write actions against GitHub (gh issue list / issue creation via the backend) which mutate shared repository state; this is gated by an explicit preview + confirmation step, which mitigates the risk.
  • •Reads repository-local files (VISION.md, README.md) and writes proposal bodies to /tmp; mktemp with a unique filename is correctly used, avoiding the classic fixed-path clobbering/leak problem.
  • •No credential access, no curl|sh piping, no base64 payloads, no destructive filesystem operations; declared allowed-tools are narrowly scoped (git remote get-url, gh issue list, Read, Write, AskUserQuestion, one script).
Comment cette analyse est faite

Exemples

Draft a feature proposal
/vapa-proposal "让VAPA变得可被一键安装,推广VAPA的理念和SKILLS"
Vision amendment with explicit type
/vapa-proposal "调整 Q3 战略重心" "Vision Amendment"
List pending proposals
/vapa-proposal

name: vapa-proposal description: Create a new VAPA proposal with AI-assisted drafting, preview, and confirmation before submitting to GitHub Issues. disable-model-invocation: true allowed-tools: Bash(git remote get-url origin) Bash(gh issue list *) Read Write AskUserQuestion Bash(${CLAUDE_SKILL_DIR}/scripts/vapa-proposal.sh *)

/vapa-proposal

Create a new VAPA proposal on a GitHub repository. The skill helps you turn a one-line idea into a complete, well-structured proposal, shows a preview, and only creates the Issue after you confirm.

Modes

  • With a subject: AI gathers repository context, infers the Issue Type, asks clarifying questions if needed, drafts the full proposal, previews it, and creates the Issue upon confirmation.
  • With a subject and explicit Issue Type: skip type inference and use the provided type.
  • Without arguments: list pending proposals (status: draft, status: refining, status: ready-for-review).

Proposal numbering

Every approved proposal receives a VEP-XXXX prefix (4-digit, zero-padded). The shell backend computes the next number from existing issue titles at submission time.

Usage

/vapa-proposal "让VAPA变得可被一键安装,推广VAPA的理念和SKILLS"
/vapa-proposal "调整 Q3 战略重心" "Vision Amendment"
/vapa-proposal

Requirements

  • gh CLI installed and authenticated with permission to create issues on the target repo.
  • Run from inside a git repo, or set VAPA_REPO=owner/repo.
  • The organization must have the required VAPA issue types and issue fields (Align, Size, Shaper, Reviewed By, Validator, Sponsor).

Org-level fields (Align, Size, Shaper, Reviewed By, Validator, Sponsor) are set manually on the created Issue. The skill may ask for an estimated Size during clarification, but it does not write fields automatically.

Execution

Step 1: Detect repository

Run:

git remote get-url origin

Parse owner/repo. If detection fails, explain that the user should run /vapa-proposal from a git repo with a GitHub origin remote, or set VAPA_REPO=owner/repo.

Step 2: Gather context

Read the following files when they exist:

  • ${CLAUDE_PROJECT_DIR}/VISION.md
  • ${CLAUDE_PROJECT_DIR}/README.md

Fetch recent issues for context and duplicate detection:

gh issue list --repo <owner/repo> --state all --limit 30 --json number,title,labels,body

Step 3: Infer Issue Type

Use the user's subject and the gathered context to choose the most likely VAPA Issue Type:

| Trigger words / context | Type | |---|---| | 愿景, VISION, 战略重心, 修正, amend | Vision Amendment | | Describes a pain/observation without a clear solution | Problem | | 实验, 验证, poc, spike, prototype | Experiment | | 重构, 技术债, 性能, cleanup | Technical Debt or Improvement | | 调研, 研究, research | Research | | Default | Feature |

If confidence is low, present the top two options and ask the user to choose. If the user provided a second argument, use it and skip inference.

Step 4: Ask clarifying questions

Check required fields per type. If any are missing or vague, ask one focused question at a time. The user may answer, skip, or ask you to draft a placeholder.

| Type | Required fields | |---|---| | Feature / Improvement | target user, problem, core idea, "this is not", acceptance criteria, estimated Size | | Problem | affected users, observable evidence, impact if not solved | | Vision Amendment | current VISION.md text, proposed text, rationale, 如果不修改可能产生的误导 | | Experiment | hypothesis, validation method, success metric, scope | | Research | research question, expected output/deliverable, why it matters now, estimated Size |

Step 5: Draft the proposal

Select the bundled template that matches the type:

| Type | Template | |---|---| | Feature, Improvement, Technical Debt, Research | ${CLAUDE_SKILL_DIR}/references/feature-proposal.md | | Problem | ${CLAUDE_SKILL_DIR}/references/problem-statement.md | | Vision Amendment | ${CLAUDE_SKILL_DIR}/references/vision-amendment.md | | Experiment | ${CLAUDE_SKILL_DIR}/references/experiment.md |

Research reuses feature-proposal.md: the "问题陈述" section becomes the research question, "提案内容" becomes the expected output and methodology, and "验收标准" becomes the deliverable criteria.

After reading the template, remove its YAML frontmatter (the block from the first --- to the closing ---) before filling sections; the submission backend sets labels and type separately, so the frontmatter must not appear in the issue body.

Read the template, replace the title placeholder with the user's subject, and fill each section using:

  • the user's original sentence,
  • answers to clarifying questions,
  • VISION.md for alignment,
  • recent issues for related context.

Leave unknown sections as bracketed placeholders like [待补充:具体受影响的角色].

Step 6: Preview

Show the complete proposal in the terminal:

📝 提案预览

类型:<type>
标题:VEP-XXXX <subject>

---

<full body>

Compute a best-effort preview number by running ${CLAUDE_SKILL_DIR}/scripts/vapa-proposal.sh --next-number --repo <owner/repo>. Use the returned value in the preview title. The actual number is recomputed at submission time, so it may differ if another proposal is created in between.

Then ask:

请选择:① 提交 ② 编辑某节 ③ 取消

  • ① 提交: proceed to Step 7.
  • ② 编辑某节: ask which section, regenerate only that section, and return to the preview.
  • ③ 取消: stop and confirm that no Issue was created.

Step 7: Submit

Write the final body to a unique temporary file and invoke the submission backend.

First create a per-proposal temp file (never reuse a fixed path — concurrent or back-to-back proposals would otherwise clobber each other or leak stale content into the new submission):

BODY_FILE=$(mktemp /tmp/vep-body-XXXXXXXX.md)

Write the final body to $BODY_FILE, then submit:

${CLAUDE_SKILL_DIR}/scripts/vapa-proposal.sh \
  --repo <owner/repo> \
  --subject "<user subject>" \
  --body-file "$BODY_FILE" \
  --type "<type>"

After the script exits (success or failure), remove the temp file:

rm -f "$BODY_FILE"

On success, report the created issue URL and VEP number.

Output handling

  • On success, report the assigned VEP-XXXX number and the created issue URL.
  • On cancellation, confirm that no Issue was created.
  • On failure, show the script output and explain the likely cause (e.g., missing gh auth, no repo detected, invalid issue type, missing org-level issue fields).

References

The proposal templates are bundled at ${CLAUDE_SKILL_DIR}/references/:

  • feature-proposal.md
  • problem-statement.md
  • vision-amendment.md
  • experiment.md

Du fichier au premier essai

Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.

Consulter la source et ses fichiers annexes

Ce téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.

1. Télécharger le fichier

Télécharger SKILL.md

Depuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/vapa-proposal-creator-mryiqh0k/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.

Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.

mkdir -p '.skill-downloads/vapa-proposal-creator-mryiqh0k' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/vapa-proposal-creator-mryiqh0k/download' --output '.skill-downloads/vapa-proposal-creator-mryiqh0k/SKILL.md.part' && mv '.skill-downloads/vapa-proposal-creator-mryiqh0k/SKILL.md.part' '.skill-downloads/vapa-proposal-creator-mryiqh0k/SKILL.md'

2. Vérifier les prérequis

Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.

Outils déclarés par l’auteur (à vérifier dans votre agent) : Bash(git remote get-url origin) Bash(gh issue list *) Read Write AskUserQuestion Bash(${CLAUDE_SKILL_DIR}/scripts/vapa-proposal.sh *)

Extrait original : Requirements
  • gh CLI installed and authenticated with permission to create issues on the target repo.
  • Run from inside a git repo, or set VAPA_REPO=owner/repo.
  • The organization must have the required VAPA issue types and issue fields (Align, Size, Shaper, Reviewed By, Validator, Sponsor).

Org-level fields (Align, Size, Shaper, Reviewed By, Validator, Sponsor) are set manually on the created Issue. The skill may ask for an estimated Size during clarification, but it does not write fields automatically.

Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.

3. Charger la skill

Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.

Claude Code
test -f '.skill-downloads/vapa-proposal-creator-mryiqh0k/SKILL.md' && test -s '.skill-downloads/vapa-proposal-creator-mryiqh0k/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/vapa-proposal' && cp -R '.skill-downloads/vapa-proposal-creator-mryiqh0k' '.claude/skills/vapa-proposal'

OpenSkills

OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.

Installation officielle d’OpenSkills
openskills install './.skill-downloads/vapa-proposal-creator-mryiqh0k'

openskills read 'vapa-proposal-creator-mryiqh0k'

La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.

Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.

openskills sync

Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.

4. Faire un premier essai

Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :

Lis .skill-downloads/vapa-proposal-creator-mryiqh0k/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.

Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.

Skills similaires