Ability Starter Kit
Clone the Vincent Starter Kit repository for quick setup
Prerequisites
Node.js
Version 20.19.4 or higher
Corepack
Version 20.19.4 or higher
Pinata Account
For IPFS storage of your Policy code
Setup
Run Bootstrap
- Pinata JWT: Get from Pinata after creating an account
- Test wallet private key: Fund with test tokens from the Lit Faucet
Create Your Policy
Update Package Configuration
1. Edit 2. Edit 4. Update
packages/my-policy/package.json:packages/my-policy/project.json:Replace all occurrences of policy-counter with my-policy:"name": "my-policy""sourceRoot": "packages/my-policy/src""cwd": "packages/my-policy"(all instances)"input": "packages/my-policy/src/generated""outputPath": "packages/my-policy/dist""main": "packages/my-policy/src/index.ts""tsConfig": "packages/my-policy/tsconfig.lib.json"- All asset paths
packages/my-policy/jest.config.js:nx.json in repository root:Add your package to the release projects:Configure User Interface
Edit
packages/my-policy/src/inputUiSchema.json to define how users configure your Policy:Publish Your Policy
When you’re prepared, you can publish the Policy to
npm. This will make it publishable
in the Vincent Registry.Register in Vincent Registry
See the Publishing Guide for details on registering your Policy in the Vincent Registry.
Quick Commands
pnpm nx build my-policy - Build your Policy packagepnpm test-e2e - Run end-to-end tests with the Vincent systempnpm nx action:deploy my-policy - Deploy to IPFS via Pinatapnpm clean - Remove build artifactsWhat’s Next?
Policy Structure
Learn how Policies work under the hood
Example Policies
Study the included examples
Integration Guide
Connect Policies with Abilities

