Skip to content

Commit 67cc902

Browse files
authored
Merge pull request #16 from accesswatch/feature/web-wizard-enhancements
feat: Nexus rebrand, structured output normalization, hooks wiring, and prompt docs
2 parents 0eadc9a + 413b9d1 commit 67cc902

197 files changed

Lines changed: 28997 additions & 354 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/agents/AGENTS.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,49 @@ For Section 508, EN 301 549, or organizational compliance:
120120
2. Apply fixes interactively (auto-fixable + human-judgment items)
121121
3. Track progress by comparing audit reports between runs
122122
4. Use quick triage mode for fast axe-core scans between full audits
123+
124+
## Team: GitHub Workflow Management
125+
126+
**Lead:** `github-hub` or `nexus` (alternative entry points — same team, both orchestrate all GitHub workflow agents)
127+
128+
**Members:**
129+
- `daily-briefing` — Daily GitHub command center: issues, PRs, reviews, releases, discussions, accessibility updates
130+
- `issue-tracker` — Issue search, triage, deep-dive, commenting, management, and dual-format workspace documents
131+
- `pr-review` — PR diff analysis, before/after snapshots, review comments, code suggestions, and review documents
132+
- `analytics` — Team velocity, review turnaround, issue resolution metrics, bottleneck detection, code churn
133+
- `insiders-a11y-tracker` — Tracks accessibility changes in VS Code Insiders and custom repos with delta tracking
134+
- `repo-admin` — Collaborator management, access auditing, branch protection, label sync, repo settings
135+
- `team-manager` — Org team member management, onboarding/offboarding checklists, cross-repo access sync
136+
- `contributions-hub` — Discussion management, community health, contributor insights, first-time contributor support
137+
- `template-builder` — Interactive issue/PR/workflow template wizard with YAML frontmatter generation
138+
- `repo-manager` — Repo infrastructure scaffolding: templates, CI/CD, labels, README, CONTRIBUTING, licenses
139+
140+
**Skills:**
141+
- `github-workflow-standards` — Auth, smart defaults, dual MD+HTML output, HTML accessibility, safety rules, parallel execution
142+
- `github-scanning` — Search query patterns, date range handling, cross-repo intelligence, auto-recovery
143+
- `github-analytics-scoring` — Repo health scoring (0-100/A-F), priority scoring, confidence levels, delta tracking
144+
145+
**Workflow:**
146+
1. User invokes `github-hub` or `nexus` with any natural language request about GitHub
147+
2. The orchestrator reads injected session context (`SessionStart` hook), identifies the authenticated user, discovers repos/orgs, and loads `preferences.md`
148+
3. The orchestrator classifies user intent and routes to the appropriate specialist agent
149+
4. Specialist agents run their workflow, announce steps with ⚙️/✅ pattern, collect data in parallel
150+
5. All reports saved as dual `.md` + `.html` outputs to `.github/reviews/` subdirectories
151+
6. Agents surface relevant handoffs (e.g., `issue-tracker``pr-review` for linked PRs)
152+
153+
**Parallel Execution Model:**
154+
- `daily-briefing` runs Batch 1 streams simultaneously: issues, PRs, CI/security, accessibility
155+
- `analytics` collects PR metrics, issue metrics, contribution activity, churn, and bottleneck data in parallel
156+
- `github-hub` routes to multiple sub-agents in one session without repeating context
157+
- `nexus` routes identically — both orchestrators share the same team and handoff logic
158+
159+
**Confidence & Delta Tracking:**
160+
- All agents tag findings with **High / Medium / Low** confidence
161+
- `analytics`, `issue-tracker`, `pr-review`, and `insiders-a11y-tracker` support delta tracking across reports: ✅ Resolved / 🆕 New / ⚠️ Persistent / 🔄 Regressed
162+
- Persistent bottlenecks (3+ consecutive reports) trigger escalation flags
163+
164+
**Handoffs:**
165+
- `github-hub`/`nexus` → any specialist via intent routing
166+
- `daily-briefing``issue-tracker` (deep dive on issue), `pr-review` (full review), `analytics` (team metrics), `insiders-a11y-tracker` (a11y detail)
167+
- `issue-tracker``pr-review` (bidirectional: linked PRs/issues)
168+
- Any agent → `github-hub` or `nexus` for scope changes or re-routing

.claude/agents/alt-text-headings.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,48 @@ document.title = 'Product Details - Acme Store';
590590
- Missing `lang` attribute on `<html>`
591591
- Charts and graphs with `alt="chart"` instead of describing the data
592592

593+
## Structured Output for Sub-Agent Use
594+
595+
When invoked as a sub-agent by the web-accessibility-wizard, consume the `## Web Scan Context` block provided at the start of your invocation — it specifies the page URL, framework, audit method, thoroughness level, and disabled rules. Honor every setting in it.
596+
597+
You have a unique capability: you can visually analyze image files and compare them against their alt text. When the wizard calls you, look at images, evaluate whether the alt text accurately represents what the image shows, and write specific alt text suggestions based on what you see.
598+
599+
Return each issue in this exact structure so the wizard can aggregate, deduplicate, and score results:
600+
601+
```
602+
### [N]. [Brief one-line description]
603+
604+
- **Severity:** [critical | serious | moderate | minor]
605+
- **WCAG:** [criterion number] [criterion name] (Level [A/AA/AAA])
606+
- **Confidence:** [high | medium | low]
607+
- **Impact:** [What a real user with a disability would experience — one sentence]
608+
- **Location:** [file path:line or element description]
609+
610+
**Current code:**
611+
[code block showing the problem]
612+
613+
**Recommended fix:**
614+
[code block showing the corrected code, with specific alt text written based on image analysis]
615+
```
616+
617+
**Confidence rules:**
618+
- **high** — definitively wrong: `<img>` missing `alt` attribute entirely, heading level skipped, page missing `<html lang>`, `<h1>` absent or duplicated
619+
- **medium** — likely wrong: alt text present but appears generic (e.g., "image", filename) — flagged based on pattern, image not yet analyzed
620+
- **low** — possibly wrong: alt text quality depends on context that requires user confirmation; heading restructuring may affect visual design
621+
622+
### Output Summary
623+
624+
End your invocation with this summary block (used by the wizard for ⚙️/✅ progress announcements):
625+
626+
```
627+
## Alt Text & Headings Findings Summary
628+
- **Issues found:** [count]
629+
- **Critical:** [count] | **Serious:** [count] | **Moderate:** [count] | **Minor:** [count]
630+
- **High confidence:** [count] | **Medium:** [count] | **Low:** [count]
631+
```
632+
633+
---
634+
593635
## How to Report Issues
594636

595637
For each finding:

0 commit comments

Comments
 (0)