.devin/rules/windsurf-stripe-integration.md. Downloaded files need to be placed in that repository path.--- trigger: glob globs: "**/*" --- Stripe generation: 1. Checkout 2. Subscriptions 3. Webhooks 4. Customer portal 5. Invoicing
Add performance monitoring and analytics
Generate React forms with react-hook-form and Zod: shared schemas, labelled field components, accessible error messages, async validation, submission state and tests.
Generate strictly typed TypeScript: strict plus chosen extra checks, explicit return types on exported APIs, no any, derived types, sound guards, typed errors, small generic utilities and TSDoc.
Windsurf
payments
Windsurf's rules documentation (docs.windsurf.com/windsurf/cascade/memories) now redirects to Devin documentation, which describes rules for the Devin Local agent in Devin Desktop. Current rules live in .devin/rules/*.md with a trigger setting, and the legacy Windsurf files (.windsurf/rules/*.md, .windsurf/global_rules.md and .windsurfrules) are still imported by default. AGENTS.md files are read as always-on rules.
.devin/rules/windsurf-stripe-integration.mdStarting point, not a tested configuration for your repository. Applied when files matching globs are involved (trigger: glob). Review the instructions, adapt the file paths and run your project's existing checks.
--- trigger: glob globs: "**/*" --- Stripe generation: 1. Checkout 2. Subscriptions 3. Webhooks 4. Customer portal 5. Invoicing
Ask for a small change to one matching file. Check the tool's loaded context or instruction view, inspect the diff for the requested convention, and run the relevant build or test. A well-formatted file does not guarantee the model follows every instruction.
The docs recommend keeping rules short and specific. The current docs say AGENTS.md, AGENTS.local.md and AGENT.md are read as always-on rules, including files in subdirectories. Use .devin/rules/ when you need glob, model-decision or manual triggers.
Documentation checked 2026-11-05:
Add performance monitoring and analytics
Generate React forms with react-hook-form and Zod: shared schemas, labelled field components, accessible error messages, async validation, submission state and tests.
Generate strictly typed TypeScript: strict plus chosen extra checks, explicit return types on exported APIs, no any, derived types, sound guards, typed errors, small generic utilities and TSDoc.