session-export

Generate structured JSON session summaries for GitHub PR descriptions.

6|1|Updated Nov 23, 2023
One-click install
npx skills add https://github.com/gmcabrita/dotfiles --skill session-export-gmcabrita
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-export
Source: https://github.com/gmcabrita/dotfiles/tree/main/.agents/skills/session-export
Command: npx skills add https://github.com/gmcabrita/dotfiles --skill session-export-gmcabrita

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Update GitHub PR descriptions with AI-assisted session summaries, enabling auditable records of collaboration.

Core Features & Use Cases

  • Export session data using OpenCode CLI
  • Generate a structured JSON summary (info, summary) for PR descriptions
  • Append the AI session export block to existing PR descriptions while preserving content
  • Security: ensure sensitive data is not included

Quick Start

Export the current session with opencode and append the AI session export block to the PR description

Frequently Asked Questions about session-export

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate AI session summaries in PR descriptions?

Generating a structured JSON session summary for GitHub PRs involves capturing session data via OpenCode CLI and formatting it into a payload. This payload contains info like title, agent, and models, alongside a summary timeline for code reviews.

Does the AI session export block preserve existing PR description content?

Appending the AI session export block to PR descriptions preserves existing content while adding the structured summary. This ensures your original PR notes remain intact when the automated JSON session timeline is included.

How does this Skill handle sensitive data when exporting AI session timelines?

Handling sensitive data during AI session exports involves omitting any confidential information from the final JSON payload. This ensures the structured summary timeline added to your PR description remains secure and auditable without leaking sensitive data.

What is the best way to generate an auditable AI-assisted session summary for code reviews?

The best way to generate an auditable AI-assisted session summary for code reviews is exporting session data into a structured JSON object. This object includes session info and a summary timeline, providing a concise record for PR collaborations.

Can I use OpenCode CLI to export AI session data for GitHub PR automation?

Using OpenCode CLI to export AI session data for GitHub PR automation allows you to generate a structured JSON summary. This summary is then appended to PR descriptions, facilitating automated and auditable collaboration records.