A Claude Code plugin that integrates with AI Intent First - a ticket clarification system where stakeholders write tickets, an LLM asks clarifying questions, and developers implement approved tickets.
claude plugin install github:yvocilon/aintentfirst-pluginConnect the current repository to an AI Intent First project.
- Configures the MCP server (prompts for API token if needed)
- Lists available projects
- Saves the project mapping for this repository
- Offers to generate project documentation (if none exists)
When generating docs, Claude analyzes your codebase and creates:
TERMINOLOGY.md- Project-specific terms and conceptsSCREENS.md- UI screens and pagesUSER_FLOWS.md- Key user journeysBUSINESS_RULES.md- Domain constraints and rules
These docs help the LLM ask better clarifying questions when stakeholders create tickets.
# In your project directory
claude
> /initPick up a todo ticket and start working on it.
- Lists available "todo" tickets
- Lets you approve/skip tickets
- Creates a git worktree for isolated development
- Opens a new terminal tab with Claude ready to implement
claude
> /pick-ticketResume work on a ticket (auto-runs in new worktrees).
- Detects ticket from branch name (
ticket/<id>) - Fetches full ticket context from AI Intent First
- Displays task summary and starts implementing
# In a ticket worktree
claude
> /resume-ticketUpdate project documentation after making codebase changes.
- Checks existing docs in AI Intent First
- Re-analyzes the codebase for changes
- Updates existing docs with new content
- Offers to create any missing standard docs
Run this after adding new features, screens, or business rules.
claude
> /sync-docsThe plugin stores per-repo configuration at:
~/.claude/projects/<encoded-path>/.aintentfirst.json
This maps repositories to AI Intent First projects without adding files to your repo.
When you pick a ticket, the plugin creates a git worktree:
- Branch:
ticket/<short-id>(first 8 chars of ticket UUID) - Location:
../<repo-name>-worktrees/ticket-<short-id>/ - Automatically symlinks
.envfrom main repo - Installs dependencies (auto-detects pnpm/npm/yarn/bun)
On macOS, /pick-ticket opens a new terminal tab (iTerm2 or Terminal.app) with Claude auto-running /resume-ticket to load context immediately.
- Claude Code CLI
- Git (for worktrees)
- An AI Intent First account and API token
- Go to https://aintentfirst.com/settings/tokens
- Create a new token
- Run
/initand paste the token when prompted
- Run
/initonce per repository to connect it to your AI Intent First project - Generate initial docs when prompted (or run
/sync-docslater) - Run
/pick-ticketto grab a ticket and start working - New Claude instance automatically loads ticket context
- Implement the feature
- Commit, push, and create PR
- Use
complete_ticketMCP tool to mark done - Run
/sync-docsif you added new features, screens, or terminology
MIT