Assemble

From tyevans/tackline · View interactive version

Assemble is an AI agent skill from the GitHub repository tyevans/tackline. Use when starting a project, forming a team for long-horizon work, or upgrading from ad-hoc agent dispatch. Creates persistent roles with ownership and learnings that improve across sessions. Keywords: team, project, setup, roles, persistent, agents, staff, learning.

How to use this skill

Skill file

Assemble: Persistent Learning Team Creation

You are running Assemble -- a workflow to create a persistent agent team that learns and improves across sessions. Each member has a role, file ownership, and a learnings file that gets injected into every spawn.

Project: $ARGUMENTS

When to Use

How It Works

Route (args vs interactive) → Explore project → Propose roles + ownership → User confirms
  → Write team.yaml manifest
    → Create learnings.md per member (seeded with role context)
      → Create shared team memory (decisions.md)
        → Report

Phase 0: Route

If $ARGUMENTS is provided:

If $ARGUMENTS is empty:

Interactive Mode

When invoked without arguments, guide the user through team setup conversationally:

Step 0.1: Understand the Project

Ask the user to describe their project in 1-2 sentences. Then explore the current directory to understand context:

Step 0.2: Propose Roles

Based on what you found, propose 3-4 roles using the templates below. For each role, suggest:

Present the proposal as a table (same format as Phase 1c) and ask the user:

Step 0.3: Refine Roles

For each role the user confirms or adds, ask about ownership if it's not obvious from the project structure:

Step 0.4: Confirm and Transition

Show the final team proposal one more time, then proceed to Phase 2 (Create the Team) with the gathered information.


Phase 1: Understand the Project

1a. Explore

Read the project's key files to understand its domain:

1b. Identify Roles and Ownership

Based on the project, select 3-6 roles. Each role needs a clear responsibility boundary AND file ownership (glob patterns for the files they are responsible for).

Role templates (pick, adapt, or create new):

| Role | Responsibility | Typical Ownership | When to include |

|------|---------------|-------------------|-----------------|

| architect | System design, API contracts, patterns | src/core/**, *.md, docs/** | Always |

| backend | Server logic, data models, business rules | src/domain/**, src/infra/** | Projects with server-side code |

| frontend | UI components, state management, UX | src/ui/**, src/components/** | Projects with a user interface |

| tester | Test strategy, coverage, edge cases | tests/**, *.test.* | Projects with a test suite |

| devops | CI/CD, deployment, infrastructure | .github/**, Dockerfile, *.yml | Projects with deployment pipelines |

| security | Auth, input validation, threat modeling | src/auth/**, src/middleware/** | Projects handling user data |

1c. Confirm with User

Present the proposed team:

## Proposed Team for: [project name]

| Role | Responsibility | Owns | Model | Budget |
|------|---------------|------|-------|--------|
| [role] | [1-sentence] | [glob patterns] | [model] | $[budget] |
| ... | ... | ... | ... | ... |

**Defaults**: model=sonnet, budget=$0.50, permission-mode=dontAsk

Ask the user to approve, modify roles, adjust ownership, or suggest additions.


Phase 2: Create the Team

2a. Directory Structure

mkdir -p .claude
mkdir -p .claude/tackline/memory/agents
mkdir -p .claude/tackline/memory/team

2b. Write Team Manifest

Write .claude/team.yaml following the format defined in the team-protocol rule:

team: <project-slug>
description: "<project description>"

defaults:
  model: sonnet
  budget: 0.50
  permission-mode: dontAsk

members:
  - name: <role>
    role: "<responsibility>"
    model: <model if non-default>
    budget: <budget if non-default>
    tools: [<tool list>]
    owns: [<glob patterns>]

2c. Create Learnings Files

For each member, create .claude/tackline/memory/agents/<name>/learnings.md:

# Learnings: <name>

## Codebase Patterns
- (none yet)

## Gotchas
- (none yet)

## Preferences
- (none yet)

## Cross-Agent Notes
- (none yet)

Seed each file with 2-3 initial observations based on Phase 1 exploration. For example, an architect might get "Project uses Express.js with TypeScript strict mode" under Codebase Patterns.

2d. Create Shared Memory

Write .claude/tackline/memory/team/decisions.md:

# Team Decisions

## Architecture
- (none yet)

## Conventions
- (none yet)

Write .claude/tackline/memory/team/retro-history.md:

# Retrospective History

(No retrospectives yet. Run /retro to add entries.)

Phase 3: Verify and Report

3a. Verify Files

Check all expected files were created:

3b. Report

## Team Assembled: [project name]

### Members
| Role | Owns | Model | Learnings |
|------|------|-------|-----------|
| [role] | [patterns] | [model] | .claude/tackline/memory/agents/[name]/learnings.md |
| ... | ... | ... | ... |

### Files Created
- `.claude/team.yaml` — Team manifest
- `.claude/tackline/memory/agents/*/learnings.md` — Per-member learnings ([count] files)
- `.claude/tackline/memory/team/decisions.md` — Shared decisions log
- `.claude/tackline/memory/team/retro-history.md` — Retro history

### How to Use This Team
- `/team-meeting [goal]` — Collaborative goal planning with the full team (run this first)
- `/sprint` — Plan and dispatch work to team members (the learning loop)
- `/standup` — Status sync from each member's perspective
- `/meeting [topic]` — Multi-agent discussion using team roles
- `/retro` — Reflect on session and prune/promote learnings

### The Learning Loop
Each time you dispatch work via /sprint:
1. Agent receives its accumulated learnings in the system prompt
2. Agent works and returns structured reflection
3. Orchestrator extracts learnings and appends to the agent's file
4. Next spawn: agent behaves differently because its learnings changed

Guidelines

  1. Ownership is key. Every source file should be owned by exactly one member. Use owns patterns to make this clear. Overlap is acceptable for shared files (e.g., README).
  2. Start small. 3-4 roles for most projects. Add roles when the team feels a gap, not preemptively.
  3. Files are the persistence layer. Team config is YAML; learnings are Markdown. Both are version-controlled and human-editable.
  4. Confirm before creating. Always show the proposed team to the user before writing files.
  5. Seed learnings. Don't leave learnings files empty -- add 2-3 observations from your Phase 1 exploration so agents start with useful context.
  6. Teams evolve. Roles can be added, removed, or redefined. Learnings accumulate. Run /retro to prune.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.