Engineering workflows for AI coding assistants. Install curated workflows for Windsurf, Claude Code, Cursor, and VS Code + Copilot.
# Install all workflows
npx @metasession/workflows init
# Add a specific workflow
npx @metasession/workflows add code-review
# List available workflows
npx @metasession/workflows list| IDE | Directory | Slash Commands |
|---|---|---|
| Windsurf | .windsurf/workflows/ |
✅ Yes |
| Claude Code | .claude/commands/ |
✅ Yes |
| Cursor | .cursor/workflows/ |
❌ Rules-based |
| VS Code + Copilot | .github/workflows-copilot/ |
❌ Instructions-based |
Initialize all workflows for your project:
npx @metasession/workflows init
npx @metasession/workflows init --ide windsurfAdd specific workflow(s):
# Add single workflow
npx @metasession/workflows add code-review
# Add multiple (interactive)
npx @metasession/workflows add
# Add all workflows
npx @metasession/workflows add --all
# Specify IDE
npx @metasession/workflows add code-review --ide cursorList available workflows:
npx @metasession/workflows list
npx @metasession/workflows list --category "Development"
npx @metasession/workflows list --search "github"Remove a workflow:
npx @metasession/workflows remove code-reviewGet details about a workflow:
npx @metasession/workflows info code-reviewDetect AI coding assistants in your project:
npx @metasession/workflows detectfeature-request- Submit and validate feature requeststechnical-spike- Conduct time-boxed technical investigationsarchitecture-decision- Create Architecture Decision Records (ADRs)
create-prd- Create comprehensive Product Requirements Documentsapi-design- Design RESTful APIs with security and compliance
create-github-issue- Create well-structured GitHub issueswork-on-github-issue- Full workflow from issue to PRaddress-pull-request-comments- Address code review feedbackcode-review- Conduct thorough code reviewsrefactoring- Safely refactor code with proper testing
write-unit-tests- Write comprehensive unit testse2e-testing- Write end-to-end tests with Playwright
deploy-staging- Deploy to staging environmentdeploy-production- Deploy to production with approvalsrollback- Execute emergency rollback procedureshotfix- Deploy emergency hotfixes
security-review- Conduct OWASP-based security reviewsgdpr-compliance- Ensure GDPR/NDPA complianceaccessibility-audit- Conduct WCAG 2.1 AA accessibility audits
bug-triage- Triage and prioritize bug reportsincident-response- Respond to production incidents
update-docs- Update documentation for code changeschangelog- Generate and maintain changelog entriesrelease-notes- Create user-friendly release notes
After installation, use workflows by typing the slash command:
Windsurf / Claude Code:
/code-review
/create-github-issue
/deploy-production
Cursor:
Reference workflows in your prompts or add to .cursorrules.
VS Code + Copilot:
Reference workflows in Copilot Chat or add to .github/copilot-instructions.md.
import {
getAllWorkflows,
installWorkflow,
detectIDEs,
} from '@metasession/workflows';
// List all workflows
const workflows = getAllWorkflows();
// Detect IDEs in a project
const detected = await detectIDEs('/path/to/project');
// Install a workflow
const result = await installWorkflow('/path/to/project', 'code-review', 'windsurf');- Fork the repository
- Add your workflow to
workflows/ - Update
src/registry.ts - Submit a PR
MIT