agentleFS
vasceannievasceannie/slopgate/.agents/skills/gitnexus-area-hooks/SKILL.md

gitnexus-area-hooks

Skill1 starsChanged 51 days agoMITView on GitHub

Skill for the Hooks area of slopgate. 80 symbols across 6 files.

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Start here when exploring this area:

    line 29
  2. Distinctive:

    Read key files listed above for implementation details

    line 81

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Hooks

80 symbols | 6 files | Cohesion: 83%

When to Use

  • Working with code in dashboard/
  • Understanding how buildTraceSessionIndexes, sessionIndexes, reducer work
  • Modifying hooks-related functionality

Key Files

FileSymbols
dashboard/src/hooks/useTraceData.tsbuildTraceSessionIndexes, deriveLineageRole, firstLineageRole, firstPlatform, firstPlatformSource (+58)
dashboard/src/hooks/use-toast.tsaddToRemoveQueue, timeout, dispatch, genId, reducer (+5)
dashboard/src/hooks/useTraceData.test.tsevent, events, finding, rules
dashboard/src/lib/improvement.tsepisodeScopeConfidenceCounts
dashboard/src/lib/improvementScope.tsrecordScopeConfidence
dashboard/src/lib/sessionHelpers.tsSessionData

Entry Points

Start here when exploring this area:

  • buildTraceSessionIndexes (Function) — dashboard/src/hooks/useTraceData.ts:732
  • sessionIndexes (Function) — dashboard/src/hooks/useTraceData.ts:1027
  • reducer (Function) — dashboard/src/hooks/use-toast.ts:70
  • summarizeTopRules (Function) — dashboard/src/hooks/useTraceData.ts:135
  • useTraceData (Function) — dashboard/src/hooks/useTraceData.ts:833

Key Symbols

SymbolTypeFileLine
buildTraceSessionIndexesFunctiondashboard/src/hooks/useTraceData.ts732
sessionIndexesFunctiondashboard/src/hooks/useTraceData.ts1027
reducerFunctiondashboard/src/hooks/use-toast.ts70
summarizeTopRulesFunctiondashboard/src/hooks/useTraceData.ts135
useTraceDataFunctiondashboard/src/hooks/useTraceData.ts833
resolveDecisionFunctiondashboard/src/hooks/useTraceData.ts62
operationalContextFunctiondashboard/src/hooks/useTraceData.ts1092
episodeScopeConfidenceCountsFunctiondashboard/src/lib/improvement.ts192
recordScopeConfidenceFunctiondashboard/src/lib/improvementScope.ts253
streamSchemaValidationWarningFunctiondashboard/src/hooks/useTraceData.ts82
sourceStatusFunctiondashboard/src/hooks/useTraceData.ts1147
windowMsFunctiondashboard/src/hooks/useTraceData.ts836
SessionDataInterfacedashboard/src/lib/sessionHelpers.ts19
deriveLineageRoleFunctiondashboard/src/hooks/useTraceData.ts340
firstLineageRoleFunctiondashboard/src/hooks/useTraceData.ts319
firstPlatformFunctiondashboard/src/hooks/useTraceData.ts301
firstPlatformSourceFunctiondashboard/src/hooks/useTraceData.ts310
firstStringFunctiondashboard/src/hooks/useTraceData.ts262
lineageConfidenceForFunctiondashboard/src/hooks/useTraceData.ts328
nativeSessionIdsFunctiondashboard/src/hooks/useTraceData.ts288

Execution Flows

FlowTypeSteps
OperationalContext → ClassifyFollowupcross_community4
OperationalContext → ProvenanceKeycross_community4
OperationalContext → CreateEpisodecross_community4
OperationalContext → TimestampSortKeycross_community4
OperationalContext → RoundTocross_community4
Dashboard → IsSelfTestSessionIdcross_community4
BuildTraceSessionIndexes → ResolveDecisioncross_community3
OperationalContext → RecordScopeConfidenceintra_community3
OperationalContext → StructuralScopeKeyForRulecross_community3
OperationalContext → EpisodeCountscross_community3

How to Explore

  1. context({name: "buildTraceSessionIndexes"}) — see callers and callees
  2. query({search_query: "hooks"}) — find related execution flows
  3. Read key files listed above for implementation details
  4. explain({target: "<file or symbol>"}) — persisted taint findings (source→sink data flows), when indexed with --pdg

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.