About velt-setup-best-practices
A reference skill for setting up the Velt collaboration SDK in React, Next.js, Angular, Vue, and HTML projects. It organizes 25 rules into nine areas, with examples and verification checklists in the individual rule files.
Key features
- 01Guidance across five project types
- 0225 setup rules in nine categories
- 03Installation and provider wiring guidance
- 04Identity and document setup guidance
- 05Examples and verification checklists
Use cases
- 01Adding Velt to a new project
- 02Configuring VeltProvider and API keys
- 03Setting up user identity and JWT generation
- 04Finding Velt rules for project organization
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ velt-js/ agent-skills --skill velt-setup-best-practicesAfter installing, type/velt-setup-best-practicesin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
AGENTS.full.mdAGENTS.mdmetadata.jsonREADME.mdevals/evals.jsonrules/non-react/installation/install-vanilla-packages.mdrules/non-react/provider-wiring/provider-framework-init.mdrules/react/identity/identity-auth-provider.mdrules/react/installation/install-react-packages.mdrules/react/project-structure/structure-folder-organization.mdstructure-separation-of-concerns.mdrules/react/provider-wiring/provider-client-directive.mdprovider-velt-provider-setup.mdrules/react/routing-surfaces/surface-collaboration-wrapper.mdsurface-component-placement.mdrules/shared/_sections.md_template.mdrules/shared/components/component-user-invite.mdrules/shared/config/config-api-key.mdconfig-auth-token-security.mdconfig-domain-safelist.mdconfig-firestore-persistent-cache.mdconfig-proxy-config.mdrules/shared/debugging-testing/debug-common-issues.mddebug-multi-user-testing.mddebug-setup-verification.mdrules/shared/document-identity/document-id-generation.mddocument-metadata.mddocument-page-info.mddocument-set-document.mdDetails
From the project READMEVelt Setup Best Practices
Comprehensive setup guide for Velt collaboration SDK. Contains 25 rules across 9 categories covering installation, authentication, document setup, and project organization.
When to Apply
Reference these guidelines when:
- Setting up Velt in a new React, Next.js, Angular, Vue, or HTML project
- Configuring VeltProvider and API keys
- Implementing user authentication with Velt (userId, organizationId)
- Setting up JWT token generation for production
- Initializing documents with documentId
- Organizing Velt-related files in your project
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Installation | CRITICAL | install- |
| 2 | Provider Wiring | CRITICAL | provider- |
| 3 | Identity | CRITICAL | identity- |
| 4 | Document Identity | CRITICAL | document- |
| 5 | Config | HIGH | config- |
| 6 | Project Structure | MEDIUM | structure- |
| 7 | Routing Surfaces | MEDIUM | surface- |
| 8 | Components | MEDIUM | component- |
| 9 | Debugging & Testing | LOW-MEDIUM | debug- |
How to Use
Read individual rule files for detailed explanations and code examples:
rules/react/installation/install-react-packages.md
rules/react/provider-wiring/provider-velt-provider-setup.md
rules/shared/_sections.md
Each rule file contains:
- Brief explanation of why it matters
- Incorrect code example with explanation
- Correct code example with explanation
- Verification checklist
- Source pointers to official docs
Compiled Documents
AGENTS.md— Compressed index of all rules with file paths (start here)AGENTS.full.md— Full verbose guide with all rules expanded inline
Comments
Markdown supported