@wednesday-solutions-eng/ai-agent-skills
v2.0.0
Published
AI agent skills for Wednesday Solutions — git discipline, PR triage, terminal dashboard, and greenfield planning.
Maintainers
Readme
Wednesday Agent Skills
AI skills for Wednesday Solutions projects — git discipline, PR automation, terminal dashboard, greenfield planning, and brownfield codebase intelligence with real-time chat, drift detection, and test generation.
1. Installation
Requirements
- Node.js ≥ 18
- npm ≥ 8
Option 1 — npx (no setup)
npx @wednesday-solutions-eng/ai-agent-skills installOption 2 — global
npm install -g @wednesday-solutions-eng/ai-agent-skills
wednesday-skills installOption 3 — shell (no npm)
bash install.shRun in your project root. The installer:
- Copies skills into
.wednesday/skills/ - Writes agent config files (
CLAUDE.md,GEMINI.md,.cursorrules,.github/copilot-instructions.md) - Installs git hooks (
post-commit,post-merge) for automatic graph updates - Prompts for optional coverage and Sonar integration
- Symlinks skills into
~/.claude/skills/for Claude Code discovery
2. Configuration & AI Tools
No API key needed to use skills inside Claude Code, Cursor, or Gemini CLI. When inside an AI IDE, the IDE acts as the intelligence engine — skills are standard instructions, not local scripts.
Supported AI tools
| Tool | Configured via |
|------|---------------|
| Claude Code | CLAUDE.md |
| Gemini CLI | GEMINI.md |
| Antigravity | ~/.gemini/antigravity/skills/ (run wednesday-skills sync) |
| Cursor | .cursorrules |
| GitHub Copilot | .github/copilot-instructions.md |
Environment Variables
API keys are only required for standalone CLI workflows (plan, summarize, gen-tests).
Run the interactive configuration wizard:
wednesday-skills configOr manually add to .env:
OPENROUTER_API_KEYorANTHROPIC_API_KEY: Used by offline LLM-backed tools.GITHUB_TOKEN: Used bywednesday-skills dashboardto fetch PR data.
3. Every Skill Explained
Core Workflow Skills
| Skill | What it does |
|---------|-------------|
| git-os | Enforces conventional commits — no bad or ambiguous commit messages allowed. |
| pr-review | Gemini fix queue — categorizes PR comments by impact, applies fixes upon dev approval. |
| deploy-checklist | Walks through pre-deploy checks and post-deploy monitoring checklists. |
| wednesday-dev | Enforces import ordering, file complexity limits (max 8), and naming conventions. |
| wednesday-design | Asserts the use of 492+ approved UI components, design tokens, and animation patterns. |
| sprint | Translates ticket IDs into git branches, PR titles, and description templates automatically. |
| greenfield | Parallel AI personas (Architect, PM, Security) produce a comprehensive PLAN.md in minutes. |
Brownfield Intelligence Skills
| Skill | What it does |
|---------|-------------|
| brownfield-chat | Plain-English codebase Q&A using structural graphs (zero hallucinated data). |
| brownfield-query | Deterministic structural queries returning dependencies, endpoints, and file metrics from SQLite (graph.db). |
| brownfield-fix | Calculates Risk score + blast radius before the AI is allowed to edit a file. |
| brownfield-drift | Enforces architecture boundaries defined in PLAN.md preventing domain spillage. |
| brownfield-gaps | Enhances dynamic runtime graph coverage via localized subagents. |
Feature Deep Dives
🧠 Terminal Dashboard (wednesday-skills dashboard)
Provides an interactive CLI interface for tracking open PRs, unassigned semantic fix queues, installed skills status, and detailed LLM token cost breakdowns.
🛡 Architecture Drift Detection (wednesday-skills drift)
Validates that the actual code structure safely adheres to the constraints in PLAN.md (e.g. frontend-never-imports-db, no-circular-deps). Designed to plug into CI/CD pipelines to block architectural decay during PRs.
🧪 AI Test Generation (wednesday-skills gen-tests)
Generates comprehensive tests using actual callers and real AST mock behavior to safely wrap high-risk, un-covered files, using historical bug-fix commits as context.
💬 Codebase Chat (wednesday-skills chat "your question")
Ask plain-English questions ("Who wrote the auth layer?", "What breaks if I rename X?") and receive verified answers parsed instantly from local ASTs and Git history. Saves 100% of LLM tokens by using offline parsing.
4. Scenario-Based Use Cases
All workflows run entirely inside Claude Code or Gemini CLI. The IDE loads the relevant skills seamlessly and intuitively based on your conversation.
A. The Greenfield Project (Starting from scratch)
Scenario: You have an idea and need an architectural robust plan.
- You say: "Plan this project: Build a realtime collaborative text editor."
- AI Action: Loads the
greenfieldskill. The framework spins up parallel Architect, PM, and Security AI personas. - Outcome: A comprehensive
.wednesday/plans/PLAN.mdwith system architecture, security risks, phased tickets, and architectural boundaries. - Follow Up: "Start the first ticket." → Loads the
sprintskill → Sets up your git branch and PR draft automatically.
B. First Time on an Existing Codebase (Brownfield Intelligence)
Scenario: You just inherited a completely undocumented, legacy codebase.
- You say: "Map this codebase completely."
- AI Action: Automatically triggers
wednesday-skills map --full, parsing thousands of files dynamically into a high-performance.wednesday/graph.dbdatabase. - Outcome: Generates
MASTER.mdcontaining global architectural user flows, andsummaries.jsonfor natural language querying. Future operations no longer require passing thousands of tokens of context files; the agent directly queries the pre-computed SQLite graph.
C. New Developer Onboarding
Scenario: A new developer joins the backend API squad and is confused.
- You say: "Generate an onboarding guide for the backend."
- AI Action: Resolves the
onboardintent, and utilizes the SQLite Recursive CTE framework to trace deeply nested request flows natively from CLI entry points to the core domain logic. - Outcome: Provides an extremely focused, functional step-by-step Mermaid diagram execution flow and reading guide specifically for the exact layer the developer needs to touch.
D. Fixing a Bug in a High-Risk Monolith
Scenario: You've been tasked to fix a bug deep within a massively coupled module.
- You say: "Fix the token expiration bug in
auth.ts." - AI Action: Pre-emptively invokes
brownfield-fixto calculate the blast radius ofauth.tsinsidegraph.dbbefore writing any code. - Outcome: If the file has a critical impact score (>80), Claude forcefully pauses, refuses to touch the code, and dictates the cascading components explicitly, asking for developer verification before proceeding safely. Once approved, handles commits using the pristine
git-osskill.
E. Automating PR Code Reviews and Fixes
Scenario: The lead dev left 5 semantic code review comments on your Pull Request.
- You say: "@agent fix #2 and #4" or "@agent fix all"
- AI Action: Loads
pr-review, parses the exact GitHub comments, structures security, safety, and style impacts, and isolates each fix into discrete, clean git commits. - Outcome: PR feedbacks are iteratively satisfied without polluting commit history or breaking CI checks.
F. Improving Code Coverage Programmatically
Scenario: A mission-critical module handles real-time payments but has 0% test coverage.
- You say: "Generate tests for uncovered critical files."
- AI Action: Evaluates
gen-tests --min-risk 75to rank code that is both completely uncovered and possesses a terrifying blast radius. - Outcome: Produces functional, mocked
.test.jsfiles perfectly integrated into your framework, using deterministic AST connections instead of hallucinatory scaffolding.
5. CLI Commands Reference
# Setup
wednesday-skills install # install + configure all agents
wednesday-skills config # interactive API key and model setup
wednesday-skills sync # re-sync all tool adapters
# Intelligence
wednesday-skills map --full # Complete AST extraction and flow inference into graph.db
wednesday-skills onboard # Contextual, step-by-step interactive flows
wednesday-skills drift # Validates architecture against PLAN.md
wednesday-skills drift --since HEAD~5 # Run drift checks on a specific diff (PR verification)
wednesday-skills chat "question" # Instantly ask codebase questions using BFS limits
# Analytics
wednesday-skills blast <file> # Computes total risk radius to dependent modules
wednesday-skills score <file> # Outputs deterministic blast score 0–100
wednesday-skills dead # Maps out dead files and unreferenced exports
wednesday-skills stats # Renders skill utilization metrics vs OpenRouter token costs
# Skill Registry
wednesday-skills list # list installed skills
wednesday-skills search <term> # search community skill registry
wednesday-skills add <skill> # install a skill from the registry
wednesday-skills update # update all installed skills to latest6. Project Layout After Setup
your-project/
├── CLAUDE.md # Claude Code Base Instructions
├── GEMINI.md # Gemini Base Instructions
├── .wednesday/
│ ├── config.json # Core environment + IDE behavior settings
│ ├── skills/ # Installed markdown skills logic & tool scripts
│ ├── graph.db # Core SQLite graph database mapping the full AST
│ ├── codebase/
│ │ ├── summaries.json
│ │ ├── MASTER.md # AI generated architectural flow-centric guide
│ └── hooks/ # Git-hooks that seamlessly update graph.db instantly7. Roadmap & License
- Phase 1: Install, configure, git hooks, greenfield planner ✓
- Phase 2: Brownfield intelligence — dep graph, risk scores, summaries, MASTER.md ✓
- Phase 3: Chat, drift detection, test generation ✓
- Phase 4: Public registry, skill builder, usage analytics, flow-centric automation ✓ current
License: MIT — Wednesday Solutions
