Docs: make common vg scan/build failures actionable (what failed + what to do)

Aperta
#150 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
node.js, typescript
Ambito
cli, documentation

Direzione di ricerca

Start by tracing the failure paths for vg scan, vg build, and vg ask, focusing on empty repositories, unsupported paths, missing Node, and first-run module provision failures. Document at least three common failures and copy-pasteable recovery steps in docs/ or the README troubleshooting section; done means the acceptance criteria are covered and any changed errors expose no secrets or stack traces.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

documentation good first issue

Context

Vibgrate guardrails require caller-facing errors to be actionable: what failed and what to do next — not a bare generic string. Contributors and first-time npx @vibgrate/cli users often hit install, grammar, or empty-repo cases where the message could be clearer.

What to do

  1. Inventory the most common failure paths for vg scan, vg build, and vg ask (empty repo, unsupported path, missing Node, first-run module provision failures).
  2. Document expected messages + recovery steps in docs/ or README troubleshooting.
  3. Optionally improve 1–2 user-facing error strings so they state the fix (keep internals out of the message; no secrets/paths that leak env).

Acceptance

  • A troubleshooting section covers at least 3 common failures with copy-pasteable recovery
  • Any code-touched errors remain free of secrets/stack traces
  • Prefers vg naming; DCO on commits if code changes

Mentoring notes

Docs-only PRs are welcome. Keep scope small — do not rewrite the whole CLI error system in one PR.

Lingua principale
TypeScript
Stelle
4
Fork
3
Merge medio
1g 22h
PR unite (30g)
76

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di vibgrate/cli

Tutte le issue di vibgrate/cli

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.