Skip to content

Commit fdbd584

Browse files
feat: specific model/harness/version in PR attribution (#283)
* feat: make PR/commit attribution specific to model, harness, and plugin version Replace generic "Generated with Claude Code" footer with dynamic attribution that includes the actual model name, harness tool, and plugin version. LLMs fill in their own values at commit/PR time. Subagents are explicitly instructed to do the same. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * style: format attribution substitution guide as table Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * style: rename badge to "Compound Engineering v[VERSION]" Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat: add context window and thinking level to attribution Separate MODEL into MODEL, CONTEXT, and THINKING placeholders so each detail is its own table row and easier to read. Co-Authored-By: Claude Opus 4.6 (1M context, extended thinking) <noreply@anthropic.com> * style: badge on its own line, model details on next line in PR template Co-Authored-By: Claude Opus 4.6 (1M context, extended thinking) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 30c06e5 commit fdbd584

2 files changed

Lines changed: 36 additions & 7 deletions

File tree

CLAUDE.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,14 +359,27 @@ Follow these patterns for commit messages:
359359
- `Fix [issue]` - Bug fixes
360360
- `Simplify [component] to [improvement]` - Refactoring
361361

362-
Include the Claude Code footer:
362+
Include the attribution footer (fill in your actual values):
363363

364364
```
365-
🤖 Generated with [Claude Code](https://claude.com/claude-code)
365+
🤖 Generated with [MODEL] via [HARNESS](HARNESS_URL) + Compound Engineering v[VERSION]
366366
367-
Co-Authored-By: Claude <noreply@anthropic.com>
367+
Co-Authored-By: [MODEL] ([CONTEXT] context, [THINKING]) <noreply@anthropic.com>
368368
```
369369

370+
**Fill in at commit/PR time:**
371+
372+
| Placeholder | Value | Example |
373+
|-------------|-------|---------|
374+
| Placeholder | Value | Example |
375+
|-------------|-------|---------|
376+
| `[MODEL]` | Model name | Claude Opus 4.6, GPT-5.4 |
377+
| `[CONTEXT]` | Context window (if known) | 200K, 1M |
378+
| `[THINKING]` | Thinking level (if known) | extended thinking |
379+
| `[HARNESS]` | Tool running you | Claude Code, Codex, Gemini CLI |
380+
| `[HARNESS_URL]` | Link to that tool | `https://claude.com/claude-code` |
381+
| `[VERSION]` | `plugin.json``version` | 2.40.0 |
382+
370383
## Resources to search for when needing more information
371384

372385
- [Claude Code Plugin Documentation](https://docs.claude.com/en/docs/claude-code/plugins)

plugins/compound-engineering/skills/ce-work/SKILL.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,13 +228,28 @@ This command takes a work document (plan, specification, or todo file) and execu
228228
229229
Brief explanation if needed.
230230
231-
🤖 Generated with [Claude Code](https://claude.com/claude-code)
231+
🤖 Generated with [MODEL] via [HARNESS](HARNESS_URL) + Compound Engineering v[VERSION]
232232
233-
Co-Authored-By: Claude <noreply@anthropic.com>
233+
Co-Authored-By: [MODEL] ([CONTEXT] context, [THINKING]) <noreply@anthropic.com>
234234
EOF
235235
)"
236236
```
237237
238+
**Fill in at commit/PR time:**
239+
240+
| Placeholder | Value | Example |
241+
|-------------|-------|---------|
242+
| Placeholder | Value | Example |
243+
|-------------|-------|---------|
244+
| `[MODEL]` | Model name | Claude Opus 4.6, GPT-5.4 |
245+
| `[CONTEXT]` | Context window (if known) | 200K, 1M |
246+
| `[THINKING]` | Thinking level (if known) | extended thinking |
247+
| `[HARNESS]` | Tool running you | Claude Code, Codex, Gemini CLI |
248+
| `[HARNESS_URL]` | Link to that tool | `https://claude.com/claude-code` |
249+
| `[VERSION]` | `plugin.json` → `version` | 2.40.0 |
250+
251+
Subagents creating commits/PRs are equally responsible for accurate attribution.
252+
238253
2. **Capture and Upload Screenshots for UI Changes** (REQUIRED for any UI work)
239254
240255
For **any** design changes, new views, or UI modifications, you MUST capture and upload screenshots:
@@ -308,7 +323,8 @@ This command takes a work document (plan, specification, or todo file) and execu
308323
309324
---
310325
311-
[![Compound Engineered](https://img.shields.io/badge/Compound-Engineered-6366f1)](https://github.com/EveryInc/compound-engineering-plugin) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
326+
[![Compound Engineering v[VERSION]](https://img.shields.io/badge/Compound_Engineering-v[VERSION]-6366f1)](https://github.com/EveryInc/compound-engineering-plugin)
327+
🤖 Generated with [MODEL] ([CONTEXT] context, [THINKING]) via [HARNESS](HARNESS_URL)
312328
EOF
313329
)"
314330
```
@@ -445,7 +461,7 @@ Before creating PR, verify:
445461
- [ ] Commit messages follow conventional format
446462
- [ ] PR description includes Post-Deploy Monitoring & Validation section (or explicit no-impact rationale)
447463
- [ ] PR description includes summary, testing notes, and screenshots
448-
- [ ] PR description includes Compound Engineered badge
464+
- [ ] PR description includes Compound Engineered badge with accurate model, harness, and version
449465
450466
## When to Use Reviewer Agents
451467

0 commit comments

Comments
 (0)