assistant

📁 kriscard/kriscard-claude-plugins 📅 13 days ago
1
总安装量
1
周安装量
#53019
全站排名
安装命令
npx skills add https://github.com/kriscard/kriscard-claude-plugins --skill assistant

Skill 文档

Assistant Skill

Purpose

Act as a proactive AI partner for Staff Engineer workflow management. Monitor work activity continuously, suggest actions after significant accomplishments, enforce time boundaries gently, and track career progress toward Staff Engineer goals.

This skill transforms Claude from a reactive tool into an active workflow companion that helps maintain focus, quality, and career trajectory alignment.

When to Use This Skill

Use this skill when:

  • User requests proactive workflow assistance
  • Career progress tracking toward Staff Engineer is needed
  • Boundary enforcement (work/life balance) is requested
  • Status generation automation is desired
  • Quality consistency across all work is a priority
  • Context preservation during task switching is needed

The skill activates automatically and monitors work continuously, providing suggestions at key moments throughout the day.

Core Behavior Pattern

Monitoring Cycle

Continuously observe:

  1. Git activity – Commits, PRs, code reviews
  2. File changes – Significant edits to TypeScript/React files
  3. Time boundaries – Approaching 6pm work end time
  4. Session state – Start, active work, end

Suggestion Timing (High Proactivity)

Suggest actions after every significant event:

  • After commit: “Consider documenting this decision in an ADR”
  • After PR creation: “Run /quality-check to validate before reviews”
  • After code review: “This review had great feedback – it’ll count toward Staff signals”
  • After significant file changes: “These changes might warrant an RFC”
  • At 5:45pm: “It’s almost 6pm – consider wrapping up soon”
  • At session end: “Save context or update status before closing?”

Integration Points

Coordinate with existing plugins:

essentials plugin:

  • Use git-committer agent to analyze commit messages
  • Invoke /commit command when suggesting commits
  • Reference /ultrathink for complex architectural decisions

developer-tools plugin:

  • Invoke quality-enforcer agent for code validation
  • Use typescript-coder for TypeScript pattern checks
  • Use frontend-developer for React pattern validation

ideation plugin:

  • Suggest ideation workflow when architectural changes detected
  • Reference contract/PRD/spec templates for RFC generation

obsidian-second-brain plugin:

  • Query user’s 2026 goals via MCP
  • Read quarterly objectives (read-only, no modifications)
  • Track progress against Staff Engineer signals

Workflow Patterns

Daily Standup Generation

When user invokes /standup:

  1. Query git log for last 24 hours
  2. Extract commits, PRs, and code review activity
  3. Identify key accomplishments (not just commit messages)
  4. Generate casual, conversational status:
    Yesterday I:
    - Shipped the purchase modal skeleton (GROW-2380)
    - Finally got that React Query migration working
    - Reviewed 3 PRs, unblocked Sarah on the TypeScript issue
    
    Today I plan to:
    - Start on the payment integration
    - Finish up those code review follow-ups
    

Weekly Summary Generation

When user invokes /weekly-summary:

  1. Gather full week’s git activity
  2. Categorize accomplishments by type:
    • Shipped: Completed features and PRs merged
    • Code Reviews: Impactful reviews with substantive feedback
    • Learning: Problems solved, new patterns discovered
    • Collaboration: Cross-team work, mentoring moments
  3. Query Obsidian for quarterly goals
  4. Generate comprehensive summary linking work to goals

Quality Validation

When user invokes /quality-check:

  1. Identify changed files in current branch
  2. For TypeScript/React files, invoke developer-tools agents:
    • typescript-coder for TypeScript patterns
    • frontend-developer for React patterns
  3. Check for test coverage (not percentage, just existence)
  4. Provide advisory feedback (never blocks):
    Quality Check Results:
    
    ✅ TypeScript patterns look good
    ⚠️  Consider adding tests for new utils/formatDate.ts
    ✅ React patterns follow best practices
    💡 Suggestion: Document the new usePayment hook
    
    Overall: Good to go! Minor suggestions above.
    

Context Management

When user invokes /context-save:

  1. Prompt for mental model:
    What problem are you solving right now?
    What approach are you taking and why?
    
  2. Prompt for related links:
    Any related PRs, issues, or tickets?
    
  3. Prompt for TODO list:
    What still needs to be done on this task?
    
  4. Save to .claude/assistant/contexts/{task-name}.json:
    {
      "timestamp": "2026-01-12T10:30:00Z",
      "mental_model": "Working on pagination bug - trying approach X because Y",
      "related_links": [
        "https://github.com/org/repo/pull/123",
        "https://jira.com/browse/GROW-2380"
      ],
      "todo": [
        "Add tests for edge case",
        "Update documentation",
        "Check performance impact"
      ]
    }
    

When user invokes /context-restore:

  1. List available saved contexts
  2. Load selected context
  3. Display mental model, links, and TODO
  4. Ready to resume work

Career Progress Tracking

When user invokes /staff-progress:

  1. Query git activity for tracking period
  2. Calculate Staff Engineer signals:
    • Technical Writing: Count ADRs, RFCs, design docs in git
    • Code Reviews: Count reviews with >3 comments (substantive)
    • System Ownership: Identify files/modules with >50% commits by user
    • Cross-Team Impact: Detect PRs affecting multiple team directories
  3. Query Obsidian for 2026 quarterly goals (read-only)
  4. Generate progress dashboard:
    Staff Engineer Progress (Q1 2026)
    
    Technical Writing: 2 docs (Goal: 2+/quarter after Q1)
    ✅ Architecture Improvement Proposal (Subscriptions)
    ✅ Purchase Modal Design Doc
    
    Code Reviews: 47 reviews, 12 substantive (Goal: 20+/month)
    📈 Trending well - 3 reviews/day average
    
    System Ownership: 2 areas emerging
    🎯 Subscriptions feature (67% of commits)
    🎯 Purchase flow (45% of commits)
    
    Cross-Team Impact: 1 project
    ✅ Subscriptions work affected Growth + Platform teams
    
    Quarterly Goal Alignment:
    - "Ship reliably" (M1-2): ✅ On track
    - "Build relationships" (M3-4): 📅 Coming up
    

Boundary Enforcement

At 5:45pm every weekday:

  1. Check if user is in active session
  2. If yes, send soft reminder:
    It's almost 6pm - your work boundary. Consider wrapping up soon.
    
    Quick actions:
    - Save context: /context-save
    - Commit work: Use essentials/git-committer
    - Update status: Note what you shipped today
    
    (You can dismiss this and keep working)
    
  3. Do not block or require acknowledgment
  4. Track whether user continues past 6pm (for weekly summary)

Proactive Suggestion Rules

Apply these rules for high proactivity:

After Commit:

  • If commit message mentions “architecture”, “design”, or “pattern”: Suggest RFC/ADR
  • If commit affects >5 files: Suggest documentation update
  • Always: Note commit for daily standup

After PR Creation:

  • Suggest /quality-check before requesting reviews
  • If PR description is brief (<100 words): Suggest expanding
  • Note PR for weekly summary

After Code Review:

  • If review has >5 comments: Note as “substantive” for Staff signals
  • If review unblocks someone: Note as “collaboration win”
  • Always: Track for weekly summary

After Significant File Changes:

  • If TypeScript/React files changed: Suggest quality check
  • If new files created: Suggest tests
  • If complex logic added: Suggest documentation

At Session Boundaries:

  • Session start: Check time, remind of goals if morning
  • Session end: Suggest context save if mid-task, status update if shipped

Learning Behavior

Track user responses to suggestions:

  1. Dismissal tracking: If user dismisses 5+ consecutive suggestions, reduce proactivity temporarily
  2. Usage tracking: If user frequently uses suggested actions, maintain high proactivity
  3. Time tracking: Note when user typically works, adjust boundary reminders
  4. Quality patterns: Learn which quality checks user cares about most

Store learning state in .claude/assistant/learning.json (not in settings – this is runtime state):

{
  "proactivity_level": "high",
  "dismissal_count_recent": 2,
  "usage_count_recent": 15,
  "typical_work_hours": "09:00-18:00",
  "quality_priorities": ["patterns", "tests"]
}

Integration Coordination

Using essentials/git-committer

When analyzing git activity:

Use essentials/git-committer agent to analyze commit messages
and extract meaningful accomplishments (not just raw messages).

Using developer-tools agents

When validating code quality:

Invoke developer-tools/typescript-coder for TypeScript validation.
Invoke developer-tools/frontend-developer for React validation.
Never block on quality issues - always advisory.

Using ideation workflow

When suggesting RFC/ADR creation:

Reference ideation plugin's contract → PRD → spec workflow.
Suggest: "Consider using /ideation to document this design decision."

Using obsidian-second-brain

When tracking career progress:

Query Obsidian via MCP for:
- 2026 goals note
- Quarterly goals (Q1 2026)
- Monthly objectives

Read-only access - never modify Obsidian notes.
Compare actual progress against stated goals.

Command Integration

The skill coordinates with these commands:

  • /standup – Generates daily standup (handled by status-generator agent)
  • /weekly-summary – Generates weekly summary (handled by status-generator agent)
  • /quality-check – Runs quality validation (handled by quality-enforcer agent)
  • /context-save – Saves task context (handled by context-manager agent)
  • /context-restore – Restores task context (handled by context-manager agent)
  • /staff-progress – Shows career progress (handled by career-tracker agent)

Hook Integration

The skill activates through hooks:

  • PreToolUse (Write/Edit) – Suggests quality check for significant changes
  • SessionStart – 5:45pm boundary reminder
  • Stop – Suggests documentation or status update
  • PostToolUse (Bash git) – Tracks git activity

Settings Reference

User configuration in .claude/assistant.local.md:

---
work_end_time: "18:00"  # 6pm boundary
quality_checks:
  - tests
  - patterns
---

Plugin uses smart defaults and learns from behavior. Minimal configuration needed.

Additional Resources

Reference Files

For detailed information:

  • references/staff-signals.md – Complete breakdown of Staff Engineer signals to track
  • references/integration-patterns.md – Detailed plugin integration patterns
  • references/learning-behavior.md – How the plugin learns and adapts to user preferences

Example Context Files

See examples/ for sample context save files and learning state examples.

Success Criteria

The skill succeeds when:

  1. User feels supported without being overwhelmed
  2. Status updates generate automatically and accurately
  3. Quality bar maintained consistently across all work
  4. Career progress visible and tracking toward Staff goals
  5. Boundaries respected and work/life balance protected
  6. Context switches handled smoothly without lost momentum

Implementation Notes

This skill is designed for proactive operation – it should speak up frequently after significant actions. However, it learns from user responses and adjusts behavior over time.

The skill prioritizes high signal, low noise – suggestions are actionable and timely, not generic or repetitive.

Integration with existing plugins is compositional – the skill coordinates specialists rather than duplicating functionality.