AgentSkillsCN

smaqit.session-title

根据已完成的工作,为当前会话拟定简洁明了的标题。在会话结束时,可使用此功能为历史记录文件命名。

SKILL.md
--- frontmatter
name: smaqit.session-title
description: Generate a succinct title for the current session based on work accomplished. Use when finishing sessions to create history file titles.
metadata:
  version: "0.2.0"

Session Title

Generate a concise, descriptive title for the current session based on the work accomplished.

Steps

  1. Review the conversation to identify:

    • Primary focus/goal of the session
    • Key deliverables or outcomes
    • Major decisions or insights
    • Problems solved
  2. Generate title following these rules:

    • 2-5 words maximum (brevity is critical)
    • Title case (e.g., "Agent Instructions Compilation Architecture")
    • Focus on outcome (what was achieved, not just what was done)
    • Use technical precision (use the project's terminology when applicable)
    • Avoid generic terms (avoid "Update", "Fix", "Refactor" alone)
    • No task identifiers (no "Task 062" or "B002")
  3. Validate title against history files:

    • Check .smaqit/history/ for similar titles to avoid duplication
    • Ensure title is unique and specific
  4. Get session number:

    • Infer the last sequential number by inspecting existing filenames in .smaqit/history/.
    • If no history files exist yet, use 001 as the next session number.
  5. Output session number and title in this format with no additional text:

    code
    038: Agent Instructions Compilation Architecture
    

Title Patterns

Good examples:

  • "Agent Instructions Compilation Architecture" (specific technical outcome)
  • "Framework Split Evolution" (clear transformation)
  • "Documentation Architecture Refinement" (focused improvement)
  • "Phase First Workflow" (new pattern established)
  • "Stateful Specifications" (feature added)

Avoid:

  • "Update Agent Files" (too generic)
  • "Fix Structure Issues" (problem-focused, not outcome-focused)
  • "Refactor Code" (no specificity)
  • "Task 062 Implementation" (task identifier)
  • "Various Improvements" (not specific)

Requirements

  • Title must be 2-5 words
  • Title must describe outcome, not action
  • Title must be unique compared to existing history files
  • Title must use proper technical terminology from the project domain