视觉画布设计
canvas-design
基于设计原则创作静态视觉作品,用于海报与品牌图形。
create-changelog-announcement【文档与办公】Use this skill to create and publish changelog announcements for new features, improvements, or bug fixes. This skill handles the complete workflow - creating detailed changelog documentation pages, adding sidebar announcement cards, and ensuring everything follows project standards. Use when the user mentions adding changelog entries, documenting ne…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
This skill guides you through creating complete changelog announcements that include:
/docs/blog/entries//docs/blog/main.mdx/web/oss/src/components/SidebarBanners/data/changelog.json/docs/src/data/roadmap.tsFor every changelog announcement, you create THREE coordinated entries:
A. Detailed Entry (docs/blog/entries/[feature-slug].mdx):
B. Summary Entry (docs/blog/main.mdx):
C. Sidebar Announcement (web/oss/src/components/SidebarBanners/data/changelog.json):
Before creating any entry, collect:
Never proceed without a clear version identifier and feature description.
Apply these writing guidelines rigorously:
Examples:
❌ Bad: "We've implemented a new session tracking system that enables users to group related traces—making it easier to analyze conversations."
✅ Good: "You can now group related traces into sessions. This helps you analyze complete conversations and track metrics across multiple turns."
Changelog Entry File Naming:
chat-sessions-observability.mdx, pdf-support-in-playground.mdxSidebar Announcement IDs:
changelog-YYYY-MM-DD-feature-slugchangelog-2026-01-09-chat-sessionsVersion Format:
v0.73.0When user mentions videos or screenshots:
For YouTube videos (in detailed entry):
<div style={{display: 'flex', justifyContent: 'center', marginTop: "20px", marginBottom: "20px", flexDirection: 'column', alignItems: 'center'}}>
<iframe
width="100%"
height="500"
src="https://www.youtube.com/embed/VIDEO_ID"
title="Feature Demo"
frameBorder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowFullScreen
></iframe>
</div>
For images (in detailed entry):
<Image
img={require('/static/images/changelog/feature-name.png')}
alt="Feature description"
style={{display: 'block', margin: '20px auto', textAlign: 'center'}}
/>
Ask for specifics if unclear:
Always search for related documentation:
/docs/docs/Documentation links format:
/observability/trace-with-python-sdk/track-chat-sessionsBefore finalizing, verify:
Detailed changelog entries:
/docs/blog/entries/[feature-slug].mdx/docs/blog/entries/chat-sessions-observability.mdxSummary changelog:
/docs/blog/main.mdxSidebar announcements:
/web/oss/src/components/SidebarBanners/data/changelog.jsonAsk the user for any missing information:
- What version is this for?
- Do you have a demo video or screenshots?
- What's the primary benefit users will get from this?
- Are there existing docs for this feature I should link to?
# Search for related docs
grep -r "session" docs/docs/observability --include="*.mdx" --include="*.md"
Create /docs/blog/entries/[feature-slug].mdx:
IMPORTANT: Use correct frontmatter format (no authors field):
---
title: "Feature Name"
slug: feature-name-slug
date: YYYY-MM-DD
tags: [vX.Y.Z]
description: "One-sentence description of the feature."
---
# Feature Name
## Overview
[2-3 paragraphs explaining what this feature is and why it matters]
## Key Capabilities
- **Capability 1**: Description
- **Capability 2**: Description
- **Capability 3**: Description
## How It Works
[Step-by-step explanation or code examples]
```python
# Code example if applicable
import agenta as ag
ag.tracing.store_session(session_id="conversation_123")
[Real-world scenarios where this feature helps]
[Links to documentation, tutorials, or guides]
[Optional: What's coming next or related features]
### Step 4: Add Summary to main.mdx
Add to `/docs/blog/main.mdx` at the TOP (after imports):
```mdx
### [Feature Name](/changelog/feature-slug)
_DD Month YYYY_
**vX.Y.Z**
[1-2 paragraph summary explaining what the feature does and why users should care. Focus on benefits and capabilities.]
[Optional: Add embedded video or image if this is a major feature]
---
Add to /web/oss/src/components/SidebarBanners/data/changelog.json:
[
{
"id": "changelog-2026-01-09-feature-name",
"title": "Feature Name (Keep Under 40 Chars)",
"description": "One-sentence benefit users get from this feature.",
"link": "https://agenta.ai/docs/changelog/feature-slug"
},
// ... existing entries
]
Update /docs/src/data/roadmap.ts:
If feature was in roadmap:
inProgressFeatures arrayshippedFeatures array at the topPlannedFeature format to ShippedFeature format:
githubUrl fieldchangelogPath field pointing to your detailed entryshippedAt field with ISO date (YYYY-MM-DD)Example:
// Move from inProgressFeatures to top of shippedFeatures:
{
id: "chat-session-view",
title: "Chat Sessions in Observability",
description: "Track multi-turn conversations with session grouping...",
changelogPath: "/docs/changelog/chat-sessions-observability",
shippedAt: "2026-01-09",
labels: [{name: "Observability", color: "DE74FF"}],
}
If the roadmap item had a githubUrl pointing to a GitHub discussion:
gh CLI: gh issue close <number> --repo Agenta-AI/agenta --comment "Shipped in v0.73.0"Follow the guidelines in: .claude/skills/write-social-announcement/SKILL.md
That skill contains comprehensive guidelines for writing authentic announcements that avoid common AI writing patterns. Key points:
Create SOCIAL_ANNOUNCEMENTS.md with sections for LinkedIn, Twitter, and Slack
CRITICAL: Always run the build to verify no errors before finishing.
cd docs && npm run build
If build fails, fix errors immediately:
authors: [agenta] from frontmatter---
title: "Feature Name"
slug: feature-name-slug
date: YYYY-MM-DD
tags: [vX.Y.Z]
description: "Brief description"
---
Verify checklist:
npm run build in docs/)Detailed Entry (docs/blog/entries/chat-sessions-observability.mdx):
---
title: "Chat Sessions in Observability"
description: "Track and analyze multi-turn conversations with session grouping, cost analytics, and conversation flow visualization."
authors: [agenta]
tags: [observability, sessions, tracing]
hide_table_of_contents: false
---
# Chat Sessions in Observability
## Overview
Chat sessions bring conversation-level observability to Agenta. You can now group related traces from multi-turn conversations together, making it easy to analyze complete user interactions rather than individual requests.
This feature is essential for debugging chatbots, AI assistants, and any application with multi-turn conversations. You get visibility into the entire conversation flow, including costs, latency, and intermediate steps.
## Key Capabilities
- **Automatic Grouping**: All traces with the same `ag.session.id` attribute are automatically grouped together
- **Session Analytics**: Track total cost, latency, and token usage per conversation
- **Session Browser**: Dedicated UI showing all sessions with first input, last output, and key metrics
- **Session Drawer**: Detailed view of all traces within a session with parent-child relationships
- **Real-time Monitoring**: Auto-refresh mode for monitoring active conversations
## How It Works
Add a session ID to your traces using either the Python SDK or OpenTelemetry:
**Python SDK:**
```python
import agenta as ag
ag.tracing.store_session(session_id="conversation_123")
OpenTelemetry:
span.setAttribute('ag.session.id', 'conversation_123')
The UI automatically detects session IDs and groups traces together. You can use any format for session IDs: UUIDs, composite IDs (user_123_session_456), or custom formats.
Learn more in our documentation:
We're continuing to enhance session tracking with upcoming features like session-level annotations, session comparisons, and automated session analysis.
**Summary Entry** (add to `docs/blog/main.mdx`):
```mdx
### [Chat Sessions in Observability](/changelog/chat-sessions-observability)
_9 January 2026_
**v0.73.0**
You can now track multi-turn conversations with chat sessions. All traces with the same session ID are automatically grouped together, letting you analyze complete conversations instead of individual requests.
The new session browser shows key metrics like total cost, latency, and token usage per conversation. Open any session to see all traces with their parent-child relationships. This makes debugging chatbots and AI assistants much easier. Add session tracking with one line of code using either our Python SDK or OpenTelemetry.
---
Sidebar Announcement:
{
"id": "changelog-2026-01-09-chat-sessions",
"title": "Chat Sessions in Observability",
"description": "Track multi-turn conversations with session grouping and cost analytics.",
"link": "https://agenta.ai/docs/changelog/chat-sessions-observability"
}
For integrations, focus on:
For improvements, emphasize:
When Information is Missing:
When Editing Existing Entries:
When creating a changelog announcement, provide:
docs/blog/entries/[slug].mdxdocs/blog/main.mdxchangelog.jsonBe proactive in identifying unclear requirements. Ask specific questions rather than making assumptions. Your goal is to produce changelog entries that are immediately publishable without requiring revision.
main.mdx and entries/ to match the tone and structureRemember: You're creating user-facing documentation that represents a new feature to thousands of developers. Make it clear, compelling, and easy to understand.