📦 Reading Beta docs (0.5 track). Check your install: trellis --version. Install latest: npm install -g @mindfoldhq/trellis@beta. Switch to Release in the version dropdown ↘
I am starting a new B2B dashboard from scratch. Help me set up Trellis for the first week of work.First, ask for the missing product and tech-stack decisions. Then create a small first-task PRD andthe minimum specs needed for frontend structure, API shape, error handling, and tests.
trellis init -u alice/trellis:start"Create the first task for project foundation. Keep scope to auth shell, app layout, lint/typecheck/test commands, and one sample route."
This is an existing repo. Do not refactor code yet.Inspect the codebase and propose a minimal Trellis bootstrap for the next feature task. Identify theactual patterns used for API routes, auth checks, logging, tests, and frontend forms. Write specs onlyfor patterns supported by current code examples.
Create a Trellis task for team invitations.The feature should let workspace admins invite users by email, resend pending invites, revoke invites,and accept an invite. Include product requirements, out-of-scope items, data model changes, API shape,frontend states, tests, and rollout risks.
# Team Invitations## GoalWorkspace admins can invite teammates by email and manage pending invites.## In scope- Create invite- Resend invite- Revoke invite- Accept invite- Expiration handling## Out of scope- Bulk CSV import- SSO provisioning- Role templates## Acceptance criteria- Non-admin users cannot create, resend, or revoke invites.- Expired invites show a recoverable error.- Invite acceptance is idempotent.- Tests cover permission checks and expired invite behavior.
Create a behavior-preserving refactor task for src/billing/invoice-service.ts.First map current responsibilities, callers, side effects, and existing tests. Then propose the safestsequence. Do not change behavior until we have characterization tests or clear existing coverage forthe important billing paths.
## Behavior that must not change- Invoice totals must match existing calculation for active discounts.- Failed payment attempts must still write audit logs.- Email rendering output must remain byte-for-byte compatible for existing templates.- Public API response shape must not change.
Plan a Trellis migration from direct fetch calls to the shared API client.Find call-site patterns, group them by risk, choose a small pilot batch, define verification commands,and create separate tasks for low-risk, medium-risk, and high-risk files. Do not migrate everything inone PR.
Fix the duplicate checkout submission bug.Reproduce the issue, identify the smallest safe patch, add a regression test, and then run abreak-loop analysis. If the root cause is a missing convention, propose a spec update.
Review the last few PR comments and help me convert repeated engineering feedback into Trellis specs.Only propose rules that are concrete, enforceable, and tied to actual review comments. For each rule,show the target spec file and a good/bad example.
Split this work into parallel Trellis tasks.Identify dependencies, files likely to conflict, suggested branch names, PRD summaries, and the orderin which the PRs should be reviewed. Only parallelize tasks that can be reviewed independently.
Create a Trellis rollout plan for one pilot repo and one department.Include pilot criteria, first specs, task workflow, review policy for spec changes, platform adaptersetup, success metrics, and risks. Keep the first rollout small enough to complete in two weeks.