session

Evaluate staged session-related files for investigation-only QA exemption per ADR-034.

Updated Jan 19, 2026
One-click install
npx skills add https://github.com/loriensleafs/brain --skill session-loriensleafs
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: session
Source: https://github.com/loriensleafs/brain/tree/main/apps/claude-plugin/skills/session
Command: npx skills add https://github.com/loriensleafs/brain --skill session-loriensleafs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill automates investigation-session QA exemption by evaluating whether staged changes qualify for the investigation-only skip.

Core Features & Use Cases

  • Eligibility assessment: Checks if all staged session-related files comply with ADR-034 rules for investigation-only QA exemption.
  • Transparent results: Returns a JSON payload with Eligible, StagedFiles, Violations, AllowedPaths, and optional Error details.
  • Pre-commit integration: Helps developers decide whether to proceed with SKIPPED: investigation-only or to trigger the QA workflow.

Quick Start

Use the session skill to verify eligibility of your current git staging area by running the Test-InvestigationEligibility.ps1 script and review the JSON output.

Frequently Asked Questions about session

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

FAQPage Schema
How do I automate QA exemption checks for staged session changes in a pre-commit hook?▼

Use the Test-InvestigationEligibility.ps1 PowerShell script to read the git staging area and reference the allowlist, emitting a structured JSON payload with Eligibility, StagedFiles, Violations, and AllowedPaths for QA exemption checks.

What is an investigation-only QA exemption and when do I need it for session files?▼

An investigation-only QA exemption skips standard QA workflows for staged session-related files that comply with ADR-034 rules, allowing developers to proceed with SKIPPED: investigation-only status instead of triggering the full QA pipeline.

Does the QA exemption script work with PowerShell and standard git staging?▼

Yes, the QA exemption script runs via PowerShell, reads the standard git staging area, references an allowlist, and emits a structured JSON payload to determine eligibility across session-related files per ADR-034.

How do I check if my staged files qualify for the investigation-only skip?▼

Check staged file eligibility for the investigation-only skip by running the PowerShell script and evaluating the returned JSON payload, which contains an Eligible boolean, StagedFiles list, Violations, and AllowedPaths based on ADR-034 compliance.

What limitations should I expect when using an allowlist for QA exemption checks?▼

Limitations of allowlist-based QA exemption checks include strict ADR-034 compliance, where any staged session-related files not matching allowed paths trigger violations and prevent the investigation-only skip, returning optional Error details.