notque/vexjoy-agent/skills/research/architecture-deepening/SKILL.md
architecture-deepening
Proactive architecture improvement: find shallow modules, propose deepening opportunities, design conversation.
- Source repository stars
- 413
- Declared platforms
- 0
- Static risk flags
- 0
- Last source update
- 2026-07-25
- Source checked
- 2026-08-04
Decision brief
What it does—and where it fits
Find shallow modules and propose deepening opportunities. Not a code review -- does not find bugs or style violations. Finds modules where the interface is too close to the implementation, where users must understand internals to use the API, and where small interface changes wo…
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/notque/vexjoy-agent --skill "skills/research/architecture-deepening"Inspect the Agent Skill "architecture-deepening" from https://github.com/notque/vexjoy-agent/blob/b19dacd072f5befd29b525b25dbecc7a1cd86d92/skills/research/architecture-deepening/SKILL.md at commit b19dacd072f5befd29b525b25dbecc7a1cd86d92. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
Instructions
Execute all three phases in order. Each phase has a gate. The user is a collaborator -- present findings, get input, refine together.
Execute all three phases in order. Each phase has a gate. The user is a collaborator -- present findings, get input, refine together.Language-agnostic. Vocabulary and strategies apply to Go, Python, TypeScript, or any codebase with module boundaries.Goal: Identify shallow modules -- where the interface exposes too much implementation detail. - 02
Phase 1: EXPLORE
Goal: Identify shallow modules -- where the interface exposes too much implementation detail.
Goal: Identify shallow modules -- where the interface exposes too much implementation detail.Step 1: Scope the codebaseIf user specified a directory/package, start there. Otherwise, scan for module boundaries. - 03
Phase 2: PRESENT CANDIDATES
Goal: Show findings, explore interface alternatives for top candidates.
New interface signature (function names, parameters, return types)What moves behind the interface (what callers no longer need to know)Deletion test result: what caller code can be deleted - 04
Phase 3: DESIGN CONVERSATION
Goal: Grill the chosen approach until the best deepening emerges. Collaborative design, not presentation.
Locality: Does this keep related things together or scatter responsibility?Escape hatches: What happens when a caller needs old flexibility? Clean override path or workarounds?Migration: Incremental adoption or all-or-nothing? - 05
Reference Loading Table
Review the “Reference Loading Table” section in the pinned source before continuing.
Review and apply the “Reference Loading Table” source section.
Permission review
Static risk signals and limitations
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 90/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 413 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- notque/vexjoy-agent
- Skill path
- skills/research/architecture-deepening/SKILL.md
- Commit
- b19dacd072f5befd29b525b25dbecc7a1cd86d92
- License
- MIT
- Collected
- 2026-08-04
- Default branch
- main
View the original SKILL.md
Architecture Deepening
Find shallow modules and propose deepening opportunities. Not a code review -- does not find bugs or style violations. Finds modules where the interface is too close to the implementation, where users must understand internals to use the API, and where small interface changes would absorb disproportionate complexity.
When to use: After codebase onboarding, before a major feature push, when new contributors report confusion, or when "how do I use this?" questions recur.
Differs from full-repo-review: Full-repo-review finds defects. This skill finds structural improvement opportunities. Pair well: run full-repo-review first to fix defects, then architecture-deepening to raise the bar.
Reference Loading Table
| Signal | Load These Files | Why |
|---|---|---|
| Phase 1, module analysis, vocabulary terms | vocabulary.md | Shared architecture vocabulary: module, depth, seam, leverage, locality, deletion test |
| Phase 2, interface alternatives, parallel exploration | interface-design.md | Parallel sub-agent pattern for exploring alternative interfaces |
| Phase 2-3, dependency analysis, testing strategy | deepening-strategies.md | Dependency categorization, safe deepening patterns, testing strategies |
Instructions
Execute all three phases in order. Each phase has a gate. The user is a collaborator -- present findings, get input, refine together.
Language-agnostic. Vocabulary and strategies apply to Go, Python, TypeScript, or any codebase with module boundaries.
Phase 1: EXPLORE
Goal: Identify shallow modules -- where the interface exposes too much implementation detail.
Step 1: Scope the codebase
If user specified a directory/package, start there. Otherwise, scan for module boundaries.
find . -name "go.mod" -o -name "package.json" -o -name "pyproject.toml" -o -name "__init__.py" -o -name "index.ts" -o -name "mod.rs" 2>/dev/null | head -50
# Exported symbols per package (Go)
grep -rn "^func [A-Z]" --include="*.go" | cut -d: -f1 | sort | uniq -c | sort -rn | head -20
# Public exports (TypeScript)
grep -rn "^export " --include="*.ts" --include="*.tsx" | cut -d: -f1 | sort | uniq -c | sort -rn | head -20
Step 2: Apply shallowness signals
Read references/vocabulary.md for full vocabulary. A module is shallow when:
- Interface nearly as complex as implementation (high surface-area-to-depth ratio)
- Users must read source to understand how to call it
- Setup requires knowledge of internal state
- Error messages expose implementation details
- Multiple modules must coordinate for a single logical operation
Score each: HIGH (clear shallowness, high-leverage fix), MEDIUM (some shallowness, moderate leverage), LOW (minor, low impact).
Step 3: Identify seams
For HIGH-scored modules, identify seams -- natural boundaries where the module could absorb more responsibility. See references/vocabulary.md for seam types (data, protocol, temporal).
Gate: At least 3 candidates with shallowness scores and seam analysis. If fewer than 3, document why and proceed.
Phase 2: PRESENT CANDIDATES
Goal: Show findings, explore interface alternatives for top candidates.
Step 1: Present findings table
| Module | Depth Score | Shallowness Signal | Seam | Leverage |
|--------|------------|-------------------|------|----------|
| pkg/config | HIGH | Users must know YAML structure to use API | Data seam | High -- 12 callers |
| internal/auth | MEDIUM | Token refresh logic leaks to callers | Protocol seam | Medium -- 4 callers |
For each: what it does today, why it is shallow (cite specific interface elements), where the seam is, the leverage (how many callers benefit).
Step 2: Get user input
Ask which candidates to explore. Do not proceed to interface design without confirmation -- the user knows codebase priorities better.
Step 3: Explore interface alternatives
Read references/interface-design.md and references/deepening-strategies.md. Design 2-3 alternative interfaces per candidate:
- New interface signature (function names, parameters, return types)
- What moves behind the interface (what callers no longer need to know)
- Deletion test result: what caller code can be deleted
- Trade-offs: flexibility lost, edge cases needing escape hatches
Gate: At least 2 alternatives per selected candidate. User confirmed candidates. Each alternative includes deletion test result.
Phase 3: DESIGN CONVERSATION
Goal: Grill the chosen approach until the best deepening emerges. Collaborative design, not presentation.
Step 1: Challenge each alternative
- Locality: Does this keep related things together or scatter responsibility?
- Escape hatches: What happens when a caller needs old flexibility? Clean override path or workarounds?
- Migration: Incremental adoption or all-or-nothing?
- Testing: How to test the deepened module? See
references/deepening-strategies.md. - Second-order effects: Does deepening here create new shallowness elsewhere?
Step 2: Iterate until convergence
Continue until:
- Agreement on a specific approach, OR
- User decides current structure is acceptable after examining alternatives
No fixed round count. Each round should narrow the design space. If not converging, surface it: "We have been going back and forth on X -- should we pick one, or is this a sign the deepening is not worth it?"
Step 3: Document the decision
## Deepening Decision: {module name}
**Current interface**: {what callers see today}
**Proposed interface**: {what callers would see after}
**What moves behind the interface**: {details callers no longer manage}
**Deletion test**: {what caller code can be removed}
**Migration path**: {incremental adoption plan}
**Trade-offs accepted**: {flexibility traded for simplicity}
**Next step**: {specific first action -- "create ADR", "prototype in branch", "discuss with team"}
If user wants to formalize, suggest pairing with adr-consultation.
Gate: Design conversation completed. Decision documented with all fields. Next step identified.
Error Handling
| Error | Cause | Solution |
|---|---|---|
| No shallow modules found | Well-structured or too small codebase | Valid outcome. Suggest re-running after next major feature. |
| Too many candidates | Pervasive shallowness | Focus on 5 highest-leverage (most callers benefit). Split into sessions by subsystem. |
| User disagrees with assessment | Model misjudged boundaries or caller patterns | Ask user to explain design intent. Complexity may be intentional (performance, backward compatibility). |
| Design conversation does not converge | Fundamental trade-off disagreement | Surface explicitly. Suggest prototyping both in separate branches. |
References
- Vocabulary -- Shared architecture vocabulary: module, depth, seam, leverage, locality, deletion test
- Interface Design -- Patterns for exploring alternative interfaces
- Deepening Strategies -- Dependency categorization and testing strategies for safe deepening
Alternatives
Compare before choosing
coreyhaines31/marketingskills
ab-testing
When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program
coreyhaines31/marketingskills
churn-prevention
When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies. Also use when the user mentions 'churn,' 'cancel flow,' 'offboarding,' 'save offer,' 'dunning,' 'failed payment recovery,' 'win-back,' 'retention,' 'exit survey,' 'pause subscription,' 'involuntary churn,' 'people keep canceling,' 'churn rate is too high,' 'how do I keep users,' or 'customers are leaving.' Use this whenever someone is losing subscribers o
JasonColapietro/suede-creator-skills
suede-ab-testing
Suede-owned experimentation discipline for hypotheses, sample sizing, test duration, significance, and repeatable experiment programs. Use when comparing variants, deciding whether a result is reliable, or building an experiment backlog and cadence. NOT FOR: analytics instrumentation (use suede-analytics), post-click conversion diagnosis (use suede-site-alchemy), or writing the variant copy itself (use suede-copy).
narrative-io/narrative-skills-marketplace
design-analysis
Translate a fuzzy analytical question into a rigorous investigation plan. Interrogates the ask, grounds the plan in the available data dictionary, applies analytical best practices, and produces a structured brief of query specifications for a downstream query-writing skill. Plans, does not write SQL. Use when: "why did X drop", "is there a relationship between A and B", "who are our highest-value customers", "what's driving the change in Y", "investigate this trend", "design an analysis for", "