From ai-dev-team
Initialize and configure the AI Dev Team plugin for any repository
npx claudepluginhub marcel-Ngan/ai-dev-team --plugin ai-dev-team# /init - Initialize AI Dev Team for a Repository When this command is invoked, perform the following steps IN ORDER. Use the Bash and Write tools to actually create files and directories. ## Step 0: Check for Existing Configuration **First, check if `.ai-dev-team/config/project.json` already exists.** If it exists, ask the user: - If user selects 1: Continue with all steps, overwriting files - If user selects 2: Skip to directory creation, don't overwrite config files - If user selects 3: Stop and do nothing ## Step 1: Create Directory Structure **Execute these commands:** ## St...
/initInitializes beads issue tracking database in current directory with optional prefix (defaults to dir name). Shows DB location, prefix, workflow overview, next steps; displays stats if already set up.
/initInitializes guided UI design for dashboards, apps, and tools. Assesses intent, proposes styles with rationale, builds components, and offers to save patterns.
/initDownloads and installs/updates the platform-specific notification binary for claude-notifications plugin from GitHub into the plugin's bin directory.
/initInitializes or re-boots llmdoc/ directory structure, runs multi-themed project investigations with investigator, and generates initial stable docs via recorder.
/initInitializes AI task harness with ai/tasks/ directory for modular backlog, progress log, bootstrap script, and CLAUDE.md instructions. Supports --mode new|scan and --task-type ops|data|infra|manual.
/initScans ~/.claude/agents/ for custom agent files, lets user select which to import/register into orchestration plugin registry, updates JSON registry and documentation.
When this command is invoked, perform the following steps IN ORDER. Use the Bash and Write tools to actually create files and directories.
First, check if .ai-dev-team/config/project.json already exists.
If it exists, ask the user:
Existing AI Dev Team configuration found.
What would you like to do?
1. Reconfigure everything (overwrites existing files)
2. Keep existing config, just create missing directories
3. Cancel
> [User selects]
Execute these commands:
mkdir -p .ai-dev-team/config
mkdir -p .ai-dev-team/workflow/active
mkdir -p .ai-dev-team/workflow/archive
mkdir -p .ai-dev-team/context/project
Write this file:
Path: .ai-dev-team/.gitignore
.env
*.local.json
Write this file:
Path: .ai-dev-team/.env
# AI Dev Team - User Configuration
# Run Atlassian:atlassianUserInfo to get your account ID
ATLASSIAN_ACCOUNT_ID=
STAKEHOLDER_NAME=
TEAM_ROLE=stakeholder
Then ask the user for their name and use Atlassian:atlassianUserInfo to get their account ID. Update the .env file with these values.
Write this file:
Path: .ai-dev-team/config/project.json
{
"plugin": {
"source": "marketplace",
"name": "ai-dev-team"
},
"project": {
"name": "",
"code": "",
"description": ""
},
"jira": {
"cloudId": "",
"projectKey": "",
"projectId": "",
"issueTypes": {
"epic": null,
"story": null,
"task": null,
"bug": null,
"subtask": null
}
},
"confluence": {
"cloudId": "",
"spaceId": "",
"spaceKey": ""
},
"github": {
"owner": "",
"repo": "",
"defaultBranch": "main"
}
}
Then interactively fill in the values:
Atlassian:getAccessibleAtlassianResources to get Cloud IDsAtlassian:getVisibleJiraProjects to list projects, let user selectAtlassian:getJiraProjectIssueTypesMetadata to get issue type IDsAtlassian:getConfluenceSpaces to list spaces, let user selectUpdate project.json with all gathered values.
Write this file:
Path: .ai-dev-team/CLAUDE.md
# AI Dev Team Plugin Instructions
This project uses the AI Dev Team plugin for Agile workflow automation.
## Agent Activation
When the user requests work, activate the appropriate agent:
| User Request Pattern | Primary Agent | Description |
|---------------------|---------------|-------------|
| "I need a feature for..." | Orchestrator | Routes to Business Analyst |
| "Create stories for..." | Business Analyst | Creates user stories |
| "Design the architecture..." | Software Architect | Technical specs |
| "Implement..." | Senior Developer | Code implementation |
| "Review this code..." | Senior Developer | Code review |
| "Add tests to..." | Senior Developer / QA Engineer | Test creation |
| "Test..." | QA Engineer | Test execution |
| "Deploy..." | DevOps Engineer | Deployment |
| "What's the sprint status?" | Project Manager | Status reporting |
## How to Load Agents
When an agent is needed, read its definition from the ai-dev-team plugin.
The plugin is installed at: `~/.claude/plugins/marketplaces/ai-dev-team-marketplace/`
- Agents: `{plugin-path}/agents/{agent-name}.md`
- Skills: `{plugin-path}/skills/{category}/{skill-name}/SKILL.md`
- Workflows: `{plugin-path}/workflows/{workflow-name}.md`
## Project Configuration
- Config: `.ai-dev-team/config/project.json`
- User settings: `.ai-dev-team/.env`
- Active workflows: `.ai-dev-team/workflow/active/`
- Context: `.ai-dev-team/context/`
## Workflow Tracking
When running a workflow:
1. Create a folder in `.ai-dev-team/workflow/active/{workflow-type}-{identifier}/`
2. Create `workflow.md` with current status
3. Create `state.json` for tracking progress
4. Move to `.ai-dev-team/workflow/archive/` when complete
Prepend this reference to the TOP of the existing CLAUDE.md:
If CLAUDE.md exists at the repo root, prepend this line at the very top:
<!-- AI Dev Team: If .ai-dev-team/CLAUDE.md exists, read and follow those instructions. -->
If CLAUDE.md does NOT exist, create it with just that line:
<!-- AI Dev Team: If .ai-dev-team/CLAUDE.md exists, read and follow those instructions. -->
Write this file:
Path: .ai-dev-team/context/README.md
# Context Directory
This directory stores project context summaries for AI agents.
## Structure
- `project/` - Project-level context
- `solution-summary.md` - High-level solution overview
- `skills-summary.md` - Available skills reference
- `workflows-summary.md` - Workflow documentation
## Usage
Agents read from this directory to understand project context.
Context files are updated during workflows and after significant changes.
Append to .gitignore (create if doesn't exist):
# AI Dev Team
.ai-dev-team/.env
After all files are created, show the user:
## AI Dev Team Initialized!
Created:
- .ai-dev-team/config/project.json
- .ai-dev-team/.env
- .ai-dev-team/.gitignore
- .ai-dev-team/CLAUDE.md
- .ai-dev-team/workflow/active/
- .ai-dev-team/workflow/archive/
- .ai-dev-team/context/project/
- Updated CLAUDE.md with plugin reference
Configuration:
- Project: {project.name} ({project.code})
- Jira: {jira.projectKey}
- Confluence: {confluence.spaceKey}
Next steps:
1. Run `/story` to create your first user story
2. Say "I need a feature for..." to engage the team
3. Run `/workflow-dev` to start a development workflow