
How It Works
- Forward the alert — Share a Dependabot alert, CVE report, or simply ask Twill to upgrade a package
- Twill investigates — Identifies affected packages, reads changelogs, and understands breaking changes
- Upgrades and adapts — Updates dependencies and modifies code to match new APIs
- Fixes CI failures — If tests or linting fail, Twill automatically investigates and pushes fixes
Example: Major Version Upgrade
Here’s a real example of Twill handling a Prisma upgrade from v6 to v7—a major version with breaking changes.The Request
A user created a PR to bump@prisma/client from 6.16.2 to 7.2.0. When CI failed, they simply asked:
@twill can you fix?
Twill’s Response
Twill detected the CI failure and responded:
🔧 CI check lint-and-typecheck failed. I’m investigating the issue and will push a fix shortly. (Attempt 1/3)

The Fix
Twill understood that Prisma v7 requires a new configuration approach and made the necessary changes:
- Created
prisma.config.tswith the new v7 configuration format - Updated
prisma/schema.prismato remove deprecated settings - Modified
.github/workflows/ci.ymlto set required environment variables - Updated
package.jsondependencies

What Twill Can Handle
Dependabot Alerts
Forward alerts directly to Twill. It reads the vulnerability details and
applies the recommended fix.
npm audit Findings
Share audit output and Twill upgrades affected packages while handling
breaking changes.
Major Version Upgrades
Twill reads changelogs and migration guides to adapt your code to new APIs.
CI Failures
When upgrades break tests or linting, Twill automatically investigates and
fixes the issues.
Example Prompts
Here are some ways to ask Twill for security updates:- “Upgrade all outdated dependencies in package.json”
- “Fix this Dependabot alert: [paste alert]”
- “Update React from v18 to v19 and fix any breaking changes”
- “@twill can you fix?” (on a PR with failing CI)
- “Run npm audit and fix any high severity vulnerabilities”
Related
- What You Can Ask — Overview of common tasks
- CI Fixes — How Twill automatically fixes failing CI checks
- Security — How Twill protects your code and data