Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 7 additions & 42 deletions .github/ISSUE_TEMPLATE/start-campaign.yml
Original file line number Diff line number Diff line change
@@ -1,58 +1,23 @@
name: 🚀 Start an Agentic Campaign
description: Create a new agentic campaign with AI assistance - describe your goal and we'll generate the details
title: "[Agentic Campaign] "
title: "[New Agentic Campaign]"
labels: ["campaign", "campaign-tracker"]
body:
- type: markdown
attributes:
value: |
## Start an Agentic Campaign

**Project Board Required:** Campaigns must be assigned to a GitHub Project for tracking.

**Create from project board** (recommended):
1. Open your Project board
2. Click "Add item" → "Create new issue"
3. Select this repository and template

**Create from issues page:** Use the project selector at bottom to assign a project board before submitting.

The AI detects the assigned project and generates campaign spec with correct project URL.
**Project Board Required:** Assign this issue to a GitHub Project for tracking (use project selector below or create from project board).

- type: textarea
id: campaign_goal
attributes:
label: Agentic Campaign Goal
description: |
What should this campaign accomplish? Be specific. (~125 words recommended)

Examples:
- "Migrate services from Node.js 16 to 20"
- "Fix critical security vulnerabilities"
- "Refactor legacy auth code"
label: What should this campaign accomplish?
placeholder: |
Describe your campaign goal...
Examples:
- Migrate services from Node.js 16 to 20
- Fix critical security vulnerabilities
- Refactor legacy auth code
validations:
required: true

- type: textarea
id: additional_context
attributes:
label: Additional Context (Optional)
description: Constraints, deadlines, requirements, prior learnings
placeholder: |
Add relevant context...
validations:
required: false

- type: markdown
attributes:
value: |
---

### How it works

1. Issue becomes campaign hub
2. AI generates spec with workflows, governance, metrics
3. PR created automatically
4. Review and merge to activate
11 changes: 3 additions & 8 deletions .github/agents/agentic-campaign-designer.agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ This agent operates in two distinct modes:
When triggered from a GitHub issue created via a "Create a Campaign" issue form:

1. **Parse the Issue Form Data** - Extract campaign requirements from the issue body:
- **Agentic Campaign Goal**: The `campaign_goal` field describing what the campaign should accomplish
- **Additional Context**: The optional `additional_context` field with extra requirements
- **Campaign Goal**: The `campaign_goal` field describing what the campaign should accomplish
- **Project Board Assignment**: Query the issue's project assignments to get the project URL

2. **Generate the Campaign Specification** - Create a complete `.campaign.md` file without interaction:
Expand Down Expand Up @@ -125,17 +124,13 @@ When processing a GitHub issue created via the campaign creation form, follow th
### Step 1: Parse the Issue Form and Retrieve Project Assignment

Extract the following fields from the issue body:
- **Agentic Campaign Goal** (required): Look for the "Agentic Campaign Goal" section
- **Additional Context** (optional): Look for the "Additional Context" section
- **Campaign Goal** (required): Look for the "What should this campaign accomplish?" section
- **Project Board Assignment** (required): Query the issue's project board assignments using GitHub CLI

Example issue body format:
```
### Agentic Campaign Goal
### What should this campaign accomplish?
Automated security improvements and vulnerability remediation

### Additional Context (Optional)
Should allow creating issues and PRs
```

**Important: Retrieve the Project Board URL from Issue Assignments**
Expand Down
181 changes: 89 additions & 92 deletions .github/workflows/campaign-generator.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading