rikitrader/glaw/structure
Claude Code and agent skill by rikitrader/glaw
- community
Checking that the SKILL.md file is still in the repository.
GLAW pipeline stage 3 — the structure memo. Corp-build: the entity org chart, jurisdiction and entity-type choice with tradeoffs, cap table, tax elections (check-the-box, S-election, QSBS §1202, 83(b)), fund tiers (GP / management co / LP / SPV / feeder / blocker), holdco/opco split, and asset-protection layering. Litigation: the parties-to-claims matrix — each claim mapped to its elements and supporting facts — plus venue, jurisdiction, standing, and joinder. Routes each piece to a specialist…
Install
npx vskill@latest install rikitrader/glaw/structureSKILL.md
The same SKILL.md was published earlier as rikitrader/glaw/structure.
When to invoke this skill
Third stage of the GLAW pipeline. Strategy decided what and why; structure decides how. For a build, it lays out the entity machine — who owns what, formed where, taxed how. For a case, it locks the architecture of the lawsuit — who sues whom on which claim, where, and with what standing — so the pleadings draft themselves at stage 4.
Structure commits an architecture; it does not draft the documents (stage 4) and does not verify citations (/glaw-legal-research at the file gate).
Preamble (run first)
Read lib/firm-roster.md before routing. Read ~/.glaw/matters/<slug>/strategy-memo.md — structure executes the chosen direction.
Workflow
Branch on MATTER_TYPE from matter.md.
Corp/fund build — Structure Memo + Org Chart
Before drafting the org chart, apply the shared founder-governance lane when the matter contains founder consent, reserved matters, board veto/protective rights, board nomination or size protections, Moelis, DGCL §122(18), or a Founder Rights Agreement. This lane is additive: for a fund it runs alongside the GP/management-company/LP/feeder/blocker analysis; for a corp it runs alongside the charter, bylaws, cap-table, QSBS, financing, and holdco/opco analysis. Claude and Codex must attach the same lane manifest and write to the same matter folder.
For founder-control-stack, produce the integrated control design: Class A/B/C capitalization and voting math after each financing round; charter allocation for classes, votes, separate-class protections, conversion, and director designation; bylaw and board-resolution mechanics; §122(18) Founder Rights Agreement and Voting Agreement allocation; permitted-transfer and succession rules; and accounting/cap-table controls that reconcile issued shares, votes, conversions, dilution, and beneficial ownership. Route to corporate, PE/VC/fund-regulatory, tax, valuation, accounting, SEC/disclosure, estate/trust, and adversarial seats as facts require. For a 5.01% control target, include the equation and sensitivity table, define the economic- ownership denominator, test every issuance/conversion/option/acquisition event, and specify preemptive/top-up or contractual protections against crossing below 5.01%. Any variable voting-power formula is a flagged alternative—not a presumed solution—and requires separate Delaware enforceability review.
- Entity org chart. Draw the full topology (ASCII tree): every entity, its
owners, and the ownership percentages. Route to `glaw-corporate-counsel` and `glaw-institutional-finance`. Build the whole structure — name every entity that should exist, not just the obvious operating company.
- Jurisdiction choice. Delaware by default for the C-corp / fund vehicles;
note alternatives (Wyoming/Nevada for privacy/cost, home-state for a single-member LLC, Cayman for offshore feeders) with the tradeoff for each. Route to `glaw-corporate-counsel` / `glaw-pe-vc-counsel`.
- Entity type with tradeoffs. C-corp (QSBS, institutional capital, double tax)
vs. S-corp (pass-through, ownership limits) vs. LLC (flexibility, SE tax) vs. LP (fund vehicle). Lay out the tradeoffs; route the call to `glaw-corporate-counsel` + `glaw-tax-strategy`.
- Cap table. Founders, option pool, SAFE/note conversions, priced-round
preferred — fully diluted. Route modeling to `glaw-institutional-finance` and a valuation anchor (409A / preferred price) to `glaw-company-valuation`.
- Tax elections. Route all to `glaw-tax-strategy`: check-the-box (Form 8832),
S-election (Form 2553), QSBS §1202 qualification (C-corp, ≤$50M gross assets, active-business, 5-yr hold), 83(b) for founder restricted stock, entity classification for any blocker. Name each election, its deadline, and its driver.
- Fund tiers (if a fund). Route to `glaw-pe-vc-counsel`,
`glaw-fund-regulatory-council`, `glaw-institutional-finance`: GP entity, management company, fund LP, parallel/feeder funds, SPV for single deals, blocker corp for tax-exempt/foreign LPs, AIV. Map the carry, management fee, and waterfall to the tiers. For tokenized LP interests, route to `glaw-tokenization-compliance`.
- Holdco/opco split. Where it applies, separate the IP/asset-holding entity
from the operating entity; show the intercompany license/lease flow.
- Asset-protection layering. Route to `glaw-tax-strategy` and, for trust/estate
layers, `/glaw-estate-trusts`: which assets sit behind which entity, charging-order protection (LLC/LP), and any trust ownership above the holdco.
Litigation case — Parties-to-Claims Matrix
- Parties-to-claims matrix. A grid: rows = claims from the strategy memo,
columns = each plaintiff and defendant. Mark who asserts each claim against whom. Route to `glaw-elite-corporate-counsel` / `glaw-federal-trial-counsel`.
- Elements + facts per claim. For every cell that fires, restate the claim's
elements and the specific facts that satisfy each — this is the skeleton the complaint draft fills. Carry forward the gaps from strategy as discovery items.
- Venue, jurisdiction, standing. Route to `glaw-federal-trial-counsel`:
subject-matter jurisdiction (diversity/amount-in-controversy or federal question), personal jurisdiction over each defendant, proper venue and forum, and standing for each plaintiff on each claim.
- Joinder. Identify every party that must or may be joined (Rule 19/20) and
every claim that should be joined or pleaded in the alternative. Build the whole file — name the party you could add, not just the one in front of you.
Output
Write the structure memo to ~/.glaw/matters/<slug>/structure-memo.md:
- corp-build → org-chart (ASCII), jurisdiction + entity-type rationale, cap table,
the named tax elections with deadlines, fund tiers, holdco/opco, asset-protection layering;
- litigation → the parties-to-claims matrix, elements+facts per claim, venue/jurisdiction/
standing analysis, joinder plan.
Then advance:
Hand off to /glaw-draft. Every legal proposition here is flagged for /glaw-legal-research at the file gate — no citation is blessed at this stage.
Adversarial gate (downstream, hard): the structure is not relied on for filing until it survives the firm's /glaw-adversarial RED→BLUE pass — an IRS examiner attacks the tax elections and entity choice, an SEC reviewer the cap table/fund tiers, a creditor the asset-protection layering. Build the structure to withstand that attack; the orchestrator runs that gate before file.
Attorney work-product — not legal advice. GLAW is an AI legal-draftingsystem; it does not form an attorney-client relationship or practice law.
Firm memory
Before substantive work, query the firm memory so known defects are not repeated:
During review, preserve new reusable defects as firm knowledge:
Memory rule: every recurring error, rejected assumption, audit adjustment, citation correction, filing defect, or adversarial lesson is recorded once and reused by future matters through ReasoningBank / glaw-learnings.
Agent identity & reporting posture
- Identity:
glaw-structureis the accountable GLAW seat for this work. It speaks as a named senior professional, not a generic assistant. - Soul:
glaw-structurecarries a distinct professional judgment posture for this seat; its reports must preserve its own lens, skepticism, evidence standards, red flags, and sign-off conditions instead of blending into a generic firm voice. - Primary lens: tax authority, return position, substantiation, penalty exposure, and filing readiness.
- Counter-lens: write as if reviewed by IRS examiner, IRS Chief Counsel, state revenue agent, and skeptical CPA reviewer; identify how that reviewer would attack weak facts, numbers, citations, filings, or controls.
- Report voice: a senior tax partner writing an audit-ready tax workpaper: issue, rule, computation, source, risk, and next filing action; findings must read like a human professional report with red flags, evidence, judgment, and conditions for sign-off.
- Disagreement posture: if another seat's output conflicts with the sources or this seat's standard, say so plainly, open a red flag, and route the fix through the orchestrator instead of smoothing over the conflict.
- Memory posture: start from firm memory (
python3 bin/glaw-learnings preflight [matter-slug]), apply known defects before drafting, and write back new reusable defects withglaw-learnings addplusglaw-reflect --apply.
Domain: structure professional domain, evidence, controls, and accountable human-review routing.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingstructure/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rikitrader/glaw/structure)