AGENT SKILL

gitnexus-area-dashboard

Skill for the Dashboard area of slopgate. 234 symbols across 25 files.

License 许可
MIT
最近更新
2026-11-12
Stars
★ 1
Forks
0

01 前言 Front Matter

name
gitnexus-area-dashboard
description
Skill for the Dashboard area of slopgate. 234 symbols across 25 files.

03 SKILL.md 正文

Dashboard

234 symbols | 25 files | Cohesion: 82%

When to Use

  • Working with code in dashboard/
  • Understanding how renderDetailPane, TimelineVerdictStrip, correlationStatus work
  • Modifying dashboard-related functionality

Key Files

File Symbols
dashboard/src/components/dashboard/SessionTimeline.tsx CodeBlock, FindingEvidenceBlock, FormattedOutputValue, PayloadPanel, PrettyJsonValue (+84)
dashboard/src/components/dashboard/PathExplorer.tsx HeatmapView, PathExplorer, getProjectInfo, getRepoEnforcementMode, handleRemoveSkipPath (+31)
dashboard/src/components/dashboard/SessionExplorer.tsx FilterChip, FilterGroup, MultiSelectMenu, SessionExplorer, copyId (+11)
tests/dashboard/test_forcedash_snapshot_summary.py base_event, test_trace_snapshot_script_defaults_missing_platform_to_unknown, test_trace_snapshot_script_normalizes_unsupported_platform_to_unknown, test_trace_snapshot_script_preserves_cursor_platform, test_trace_snapshot_script_preserves_pi_platform (+7)
tests/dashboard/test_forcedash_harness_status.py _codex_platform, _opencode_platform, _pi_platform, _run_harness_status_with_fake_opencode_config, _write_codex_install (+6)
dashboard/src/lib/sessionHelpers.ts correlationStatus, getPathsForFinding, isAdvisoryDecision, isBetterCauseCandidate, isBlockingDecision (+3)
dashboard/src/components/dashboard/DecisionFunnel.tsx DecisionFunnel, buildLanePoints, formatAxisLabel, formatCompactCount, formatEventLabel (+1)
dashboard/src/components/dashboard/FalsePositiveAnalysis.tsx signals, FalsePositiveAnalysis, SummaryCard, lensLabel, lensName
dashboard/src/components/dashboard/FileDropZone.tsx FileDropZone, handleDrop, handleFiles, formatLastEvent, formatTraceTimestamp
tests/dashboard/test_forcedash_server.py _write_next_line_from_reader, test_streaming_idle_pipe_does_not_block_waiting_for_next_line, close, _TailProcess, _TimeoutTailProcess

Entry Points

Start here when exploring this area:

  • renderDetailPane (Function) — dashboard/src/components/dashboard/SessionTimeline.tsx:1334
  • TimelineVerdictStrip (Function) — dashboard/src/components/dashboard/TimelineVerdictStrip.tsx:9
  • correlationStatus (Function) — dashboard/src/lib/sessionHelpers.ts:379
  • entries (Function) — dashboard/src/components/dashboard/SessionTimeline.tsx:1029
  • test_harness_status_accepts_current_codex_hooks_feature_key (Function) — tests/dashboard/test_forcedash_harness_status.py:117

Key Symbols

Symbol Type File Line
renderDetailPane Function dashboard/src/components/dashboard/SessionTimeline.tsx 1334
TimelineVerdictStrip Function dashboard/src/components/dashboard/TimelineVerdictStrip.tsx 9
correlationStatus Function dashboard/src/lib/sessionHelpers.ts 379
entries Function dashboard/src/components/dashboard/SessionTimeline.tsx 1029
test_harness_status_accepts_current_codex_hooks_feature_key Function tests/dashboard/test_forcedash_harness_status.py 117
test_harness_status_checks_live_opencode_config_and_redacts_provider_secret Function tests/dashboard/test_forcedash_harness_status.py 96
test_pi_harness_status_disabled Function tests/dashboard/test_forcedash_harness_status.py 154
test_pi_harness_status_installed Function tests/dashboard/test_forcedash_harness_status.py 170
test_pi_harness_status_missing Function tests/dashboard/test_forcedash_harness_status.py 134
test_pi_harness_status_partial Function tests/dashboard/test_forcedash_harness_status.py 142
SessionExplorer Function dashboard/src/components/dashboard/SessionExplorer.tsx 182
copyId Function dashboard/src/components/dashboard/SessionExplorer.tsx 315
resetSessionPaging Function dashboard/src/components/dashboard/SessionExplorer.tsx 321
calculateScrollAdjustment Function dashboard/src/components/dashboard/sessionExplorerAnchoring.ts 42
determineAnchor Function dashboard/src/components/dashboard/sessionExplorerAnchoring.ts 16
findFirstVisibleRow Function dashboard/src/components/dashboard/sessionExplorerAnchoring.ts 3
PathExplorer Function dashboard/src/components/dashboard/PathExplorer.tsx 779
getProjectInfo Function dashboard/src/components/dashboard/PathExplorer.tsx 867
getRepoEnforcementMode Function dashboard/src/components/dashboard/PathExplorer.tsx 999
handleRemoveSkipPath Function dashboard/src/components/dashboard/PathExplorer.tsx 1070

Execution Flows

Flow Type Steps
App → IsEventName cross_community 7
App → HasTraceIdentity cross_community 6
App → IsStringArray cross_community 6
App → NormalizePlatform cross_community 6
RenderDetailPane → NormalizePatchPath cross_community 5
App → BuildRecordKeySet cross_community 4
App → LatestTimestamp cross_community 4
SessionOutcomeSummary → IsAdvisoryDecision cross_community 4
SessionOutcomeSummary → IsBetterCauseCandidate cross_community 4
SessionOutcomeSummary → IsBlockingDecision cross_community 4

How to Explore

  1. context({name: "renderDetailPane"}) — see callers and callees
  2. query({search_query: "dashboard"}) — 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

04 同仓库更多 Skills

vasceannie
vasceannie/slopgate

type-strictness

Enforce strict type compliance by eliminating `Any` types and `# type: ignore` comments. Use when: (1) Editing code that contains `Any` as a type annotation (2) Code has `# type: ignore` or `# pyright: ignore` comments (3) User requests type fixes or type strictness enforcement (4) Importing from untyped third-party libraries (5) User asks to "fix types", "remove Any", or "add proper typing" (6) Pyrefly or mypy reports type errors that need resolution (7) Code review reveals weak typing patterns Follows hierarchical resolution: codebase inference → type stubs → library inspection → type guards → casting (last resort).

★ 1
vasceannie
vasceannie/slopgate

slopgate-test-extender

Extend Python test suites with parametrization, fixture reuse, and quality enforcement. Use when asked to add tests, extend existing tests, improve test coverage, consolidate duplicate tests, fix test quality issues, or when Slopgate reports untested-production-code, missing test references, or coverage gaps. Triggers on requests like "add tests for X", "extend these tests", "parametrize tests", "consolidate tests", "fix test quality", "improve test coverage", "write tests for this function", "test this module", "behavior tests", "integration tests", "missing tests", "coverage holes", "untested code", or when a hook denies with test-related findings.

★ 1
vasceannie
vasceannie/slopgate

slopgate-intelligent-coding-patterns

Pattern-selection playbook for agents editing code with complex branching, stateful parsers/workflows, duplicated skeletons, policy checks, or ordered transforms. Load before refactoring if/elif dispatch chains, boolean-flag state machines, repeated validation predicates, parallel provider/language implementations, or regex/content transformation pipelines. Also load when asked to "apply a design pattern", "which pattern should I use here", "refactor this switch statement", "replace if-elif chain", "state machine pattern", "strategy pattern", "template method", "pipeline pattern", "specification pattern", "dispatch table", "guard clause refactor", "reduce cyclomatic complexity", or when Slopgate fires PY-CODE-014, PY-CODE-017, PY-CODE-018, QUALITY-LINT-001, or PY-QUALITY-010. Use with behavior-locking tests and avoid pattern theater for simple one-off code.

★ 1
vasceannie
vasceannie/slopgate

slopgate-hygiene-orchestrator

Orchestrate systematic elimination of linter warnings and errors across Python, TypeScript, and Rust codebases. Use when asked to "clean up lints", "fix all warnings", "run hygiene", "eliminate type errors", "orchestrate code quality fixes", "fix lint errors", "resolve quality gate failures", "pass CI checks", "reduce tech debt", "refactor to pass hooks", or when a Slopgate hook denies with QUALITY-LINT-001, PY-CODE-017, PY-CODE-018, or any collector finding. This skill coordinates multiple code-hygiene-enforcer agents working in parallel on non-conflicting file groupings, tracks progress persistently via JSON exports, and loops until all issues are resolved. CRITICAL: Never run linters directly—always use `slopgate lint check` as the primary gate, discover project-specific tools from config files, and export findings to JSON for tracking.

★ 1
vasceannie
vasceannie/slopgate

slopgate-code-smell-utility-locator

Autoactivate when code-smell hooks or reviews mention feature envy, thin wrappers, duplicate helpers, duplicate code, scattered helpers, builders/factories/config/constants/dataclass reuse, PY-CODE-012, PY-CODE-013, QUALITY-LINT-001, or repeated slopgate code-quality denials. Also load when asked to "find existing helpers", "consolidate utilities", "search for duplicate code", "where is this already implemented", "reuse existing logic", "don't duplicate this", "find similar functions", "utility inventory", "code smell radar", or before adding new helpers/wrappers so agents can find existing shared utilities and consolidate instead of duplicating.

★ 1
vasceannie
vasceannie/slopgate

slopgate-code-hygiene-refactor

Recovery playbook for Slopgate and project quality failures. Load after hook/lint denials such as PY-CODE-017 flat sibling modules, PY-CODE-018 oversized modules, QUALITY-LINT-001 post-edit quality backstops, PY-QUALITY-010 magic numbers / repeated literals, PY-CODE-012/PY-CODE-013 smell findings, type-suppression bans, duplicate helpers, or repeated hygiene retry loops. Also load when asked to "refactor this module", "split this file", "extract a class", "reduce complexity", "fix god class", "flatten module hierarchy", "move code to a package", "extract helpers", "consolidate duplicates", "replace magic numbers with constants", or when a hook blocks an edit with structural complaints. Focuses on preserving public APIs while refactoring toward packages, cohesive modules, typed seams, and focused tests.

★ 1