/ny-court-docs:ny-statewide-formatfrom ny-court-docs
Drafts and formats documents for New York state courts (Supreme, County, Civil, District, City, Town/Village Justice). Covers 22 NYCRR § 202.5 page/font/margin rules, NYSCEF e-filing requirements, New York captions, verified vs. unverified pleadings, affidavits vs. affirmations, and Tanbook citation format.
Ships in ny-court-docs. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
NOT LEGAL ADVICE. This skill provides drafting assistance only. Verify against current rules and case law before filing.
New York has no single, all-encompassing format rule. Format requirements live across three layers:
NYSCEF is mandatory in: NY County, Kings, Bronx, Queens, Richmond (commercial only), Nassau, Suffolk, Westchester, Rockland, Erie, Monroe, Onondaga, and most other Supreme Court counties. Civil Court of the City of New York uses a parallel system (UCMS / CCEF).
e-filed by [Name] line on the cover page; NYSCEF stamps the
document automaticallyApply continuous line numbering down the left margin of every generated New York pleading. Line numbers count every line of the body and restart on each page.
22 NYCRR § 202.5 (paper) and § 202.5-b (NYSCEF) do not
themselves require line numbering, and a New York filing
without it is rule-compliant and routine; NYSCEF accepts PDFs
with or without line numbering. But line-numbered pleading
paper is universal practice across the claude-legal
marketplace: it lets the court and opposing counsel cite to an
exact location ("page 4, lines 12–15") and never harms a New
York filing. Apply it by default to every motion,
affirmation, memorandum, notice, and proposed order. Exhibits
and attachments are exempt.
Two distinct numbering mechanics in New York — both should be ON by default:
For programmatically generated .docx documents, apply line
numbering through the section's lineNumbers property:
import { LineNumberRestartFormat } from "docx";
sections: [{
properties: {
page: { /* size + margins */ },
lineNumbers: {
countBy: 1, // number every line
restart: LineNumberRestartFormat.NEW_PAGE, // restart 1.. each page
},
},
// ...
}]
This emits <w:lnNumType w:countBy="1" w:restart="newPage"/>
into the section's <w:sectPr>. The numbers render in the
left margin and do not shift the 1-inch text margin.
Do NOT set start explicitly. An explicit start: 1
renders off by one in LibreOffice (the first body line shows
"2"). Omit start — it defaults to 1 in OOXML.
Draw a double vertical rule — two thin parallel lines
(~0.75 pt each, with a ~7 pt gap between them) — down the left
margin between the line numbers and the body text. It is the
standard companion to line-numbered pleading paper. Like line
numbering, 22 NYCRR § 202.5 and § 202.5-b do not require
it, but it is universal convention across the claude-legal
marketplace. Apply it by default to every line-numbered
pleading; exhibits and attachments are exempt.
Implement it as two independent full-height line shapes
anchored in the page header, so they repeat on every page —
not as an OOXML double page border, whose style couples
the inter-line gap to the line weight (widening the gap
thickens both lines into heavy bars).
Draw each line as a thin filled rectangle (VML v:rect).
One shape per <w:pict> — multiple <v:rect> elements in
a single <w:pict> will not all render; each rectangle needs
its own <w:pict> inside its own <w:r> run.
docx-js has no first-class API for header-anchored VML
shapes. Add them with the docx skill's unpack → edit → pack
workflow: generate the file with docx-js (give each section an
empty Header so a word/header1.xml part exists, and keep the
lineNumbers section property from above), then rewrite the
header XML and repack:
python scripts/office/unpack.py out.docx unpacked/
# ... inject the rule into unpacked/word/header*.xml (helper below) ...
python scripts/office/pack.py unpacked/ out.docx --original out.docx
Inside each unpacked/word/header*.xml, declare the VML namespace
on the root <w:hdr> and add the two runs — one v:rect per
<w:pict> per <w:r> — inside the header paragraph. A document
can have several header parts (first-page / even / default, or one
per section); add the runs to each distinct word/header*.xml,
giving every v:rect a unique id. This stdlib helper (no
python-docx) does it and is idempotent:
import pathlib, re
def _runs(i):
outer = ('<w:r><w:pict><v:rect id="VRuleOuter%d" '
'style="position:absolute;margin-left:60pt;margin-top:21.6pt;'
'width:0.75pt;height:748.8pt;'
'mso-position-horizontal-relative:page;'
'mso-position-vertical-relative:page;z-index:-251658240" '
'fillcolor="black" stroked="f"/></w:pict></w:r>') % i
return outer + (outer.replace('VRuleOuter%d' % i, 'VRuleInner%d' % i)
.replace('margin-left:60pt', 'margin-left:67pt'))
word = pathlib.Path('unpacked/word')
# 1. Double rule: one set of shapes per distinct header part (unique ids).
for i, hdr in enumerate(sorted(word.glob('header*.xml'))):
xml = hdr.read_text(encoding='utf-8')
if 'VRuleOuter' in xml: # idempotent
continue
if 'xmlns:v=' not in xml:
xml = re.sub(r'(<w:hdr\b)',
r'\1 xmlns:v="urn:schemas-microsoft-com:vml"', xml, count=1)
xml = xml.replace('</w:p>', _runs(i) + '</w:p>', 1) # first header para
hdr.write_text(xml, encoding='utf-8')
# 2. Keep line numbers off header/footer text.
for f in list(word.glob('header*.xml')) + list(word.glob('footer*.xml')):
xml = f.read_text(encoding='utf-8')
xml = re.sub(r'(<w:pPr(?:\s[^>]*)?>)(?!<w:suppressLineNumbers/>)',
r'\1<w:suppressLineNumbers/>', xml)
xml = re.sub(r'(<w:p(?:\s[^>]*)?>)(?!<w:pPr)',
r'\1<w:pPr><w:suppressLineNumbers/></w:pPr>', xml)
f.write_text(xml, encoding='utf-8')
The <w:lnNumType> line-numbering element is already emitted by
docx-js's lineNumbers section property (above), so the patch only
touches the header / footer parts.
Geometry (US Letter, 1-inch margins, line-number distance
360 twips = ¼″): body text starts at 72 pt and the line-number
gutter at ~54 pt, so the two rules at margin-left 60 pt and
67 pt sit ~7 pt apart, clear of both. The gap is the difference
of the two values; margin-top:21.6pt + height:748.8pt spans the
full page height; width:0.75pt is the line weight.
Verify with python scripts/office/validate.py out.docx then
python scripts/office/soffice.py --headless --convert-to pdf out.docx; confirm two thin parallel lines with a clear gap between
the numbers and the text on every page and that the header /
footer text is not line-numbered. Then open the .docx in
Microsoft Word, where VML renders slightly differently and the
output must still be correct.
SUPREME COURT OF THE STATE OF NEW YORK
COUNTY OF [COUNTY]
----------------------------------------- X
[PLAINTIFF NAME(S)], :
: Index No. [#####/YYYY]
Plaintiff(s), :
: [DOCUMENT TITLE]
-against- :
: Hon. [JUSTICE NAME]
[DEFENDANT NAME(S)], : Part [##]
:
Defendant(s). :
----------------------------------------- X
Notes:
[######/YYYY]
(e.g., 651234/2024). Required on every paper after
commencement.NY uses descriptive document titles centered below the caption box, in bold or underlined or all-caps:
ny-draft-noteny-draft-declarationny-draft-orderCPLR 3020(b) requires verification when:
CPLR 3020(a) says a verified pleading may be served on any opposing party who must then answer with a verified answer (CPLR 3020(a)). This creates a tactical decision: verifying your complaint forces the defendant to verify their answer, which can deter frivolous denials.
Verification is a sworn statement at the foot of the pleading: "[Affiant] swears the following pleading is true to the affiant's own knowledge, except as to matters alleged on information and belief which the affiant believes to be true." Signed and notarized (CPLR 3021).
The New York Law Reports Style Manual ("Tanbook") is the official citation manual for New York state court filings. Key conventions vs. Bluebook:
Roe v. Doe, 1 NY3d 100, 105 (2003)
— note the missing periods (NY3d not N.Y.3d)Smith v. Jones, 50 AD3d 200, 201 (1st Dept 2008) — AD3d, department in parensRoe v. Doe, 15 Misc 3d 100 (Sup Ct, NY County 2007) — published trial decisions go
to Misc 3d (Miscellaneous Reports, 3rd Series)CPLR 3211(a)(7) — no italics, no "N.Y."
prefix in body text; "N.Y. C.P.L.R. § 3211(a)(7)" in
out-of-state Bluebook contextL 2021, ch 593 — chapter lawsPublic Authorities Law § 1276NYS2d not N.Y.S. 2d)at 105 for parallel reporter; no
pinpoint with "p." or "pp."| Layer | Authority |
|---|---|
| Format rule | 22 NYCRR § 202.5 (paper) + § 202.5-b (NYSCEF) |
| Civil rules | CPLR (Civil Practice Law and Rules) |
| Evidence | Guide to NY Evidence + selected CPLR evidence sections (no codified code) |
| Statute | N.Y. CPLR; N.Y. Gen. Bus. Law; N.Y. Gen. Oblig. Law; N.Y. Real Prop. Law; N.Y. Real Prop. Acts. Law; etc. |
| Style manual | New York Law Reports Style Manual (Tanbook) |
| E-filing | NYSCEF (Supreme/County); UCMS/CCEF (NYC Civil Court) |
ny-nyco / ny-kings / ny-bronx / ny-nassau /
ny-queens / ny-county-courts — venue-specific overlays
(Part Rules, courthouse logistics, scheduling)ny-pro-se — pro se conventionsny-draft-motion, -declaration, -note, -order —
scaffolders that use these format conventionsny-law-references — full CPLR + Tanbook + 22 NYCRR
reference corporany-quality-check — pre-filing QC against this format
ruleWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
new-york-courts, legal-drafting, nyscef, cplr, tanbook-citation, pleading-format
35 skills in this plugin
/ny-bronxUse when drafting or filing in Bronx County Supreme Court (the 12th Judicial District). Triggers include 'Bronx County Supreme Court', '851 Grand Concourse', 'Bronx Civil Court', 'Bronx IAS Part', 'Bronx County NYSCEF', 'Bronx Commercial Division', 'Bronx personal-injury part'. Covers Bronx County's distinct civil practice — particularly high-volume personal-injury actions and the historic reputation for plaintiff-favorable jury verdicts — plus IAS Part routing and the 851 Grand Concourse courthouse.
/ny-city-courtsUse when drafting or filing in an upstate City Court — the limited-jurisdiction civil layer outside New York City under the **Uniform City Court Act (UCCA)** with procedural rules at **22 NYCRR Part 210**. Triggers include 'Buffalo City Court', 'Rochester City Court', 'Syracuse City Court', 'Albany City Court', 'Yonkers City Court', 'White Plains City Court', 'Schenectady City Court', 'Utica City Court', 'Troy City Court', 'UCCA', 'Uniform City Court Act', '22 NYCRR Part 210', 'upstate City Court'. Covers the ~60 City Courts' civil and small-claims jurisdiction, Housing Parts where they exist, and the variable NYSCEF e-filing rollout. NOT for NYC Civil Court (see `ny-nyc-civil-court`); not for Town & Village Justice Courts (UJCA — see `ny-justice-courts`); not for Long Island District Courts (UDCA — see `ny-nassau-dc` and `ny-suffolk-dc`).
/ny-commercial-disputesUse when drafting or filing a commercial-litigation action — breach of contract, fiduciary duty, business torts, fraud, account stated, UCC disputes, shareholder oppression, judicial dissolution. Triggers include '22 NYCRR 202.70 Commercial Division', 'CPLR 3016(b) fraud particularity', 'BCL 1104-a oppression', 'BCL 720 fiduciary duty', 'LLC Law 702 dissolution', 'Faithless Servant Doctrine', 'business divorce NY', 'judicial dissolution'. Covers **Commercial Division** at 22 NYCRR § 202.70 (separate procedural rule set, county-by-county thresholds, proportionality-in-discovery); BCL fiduciary duty and dissolution; Faithless Servant Doctrine; 9% pre-judgment interest under CPLR 5004; CPLR 3016(b) fraud-pleading particularity; and GOL §§ 5-1401 / 5-1402 choice-of-law / forum-selection ($250k/$1M thresholds make NY a destination forum).
/ny-consumer-debtSubject-matter bundle for New York consumer-debt defense. Triggers include 'defending a debt-collection lawsuit in New York', 'NYC Civil Court debt case', 'sued for credit card debt in NY', 'CPLR 213(a) 3-year SOL', 'Consumer Credit Fairness Act', 'CCFA 2022 New York', 'GBL § 349 deceptive practices', 'NY GBL § 600 collection agency', 'debt buyer', 'chain of title', 'sewer service', 'FDCPA in New York'. Covers **FDCPA + Regulation F**, **2022 Consumer Credit Fairness Act** (3-year SOL at CPLR 213(a), CPLR 3015(e) heightened pleading, 22 NYCRR § 202.27-a heightened default-judgment evidence, CPLR 308(six) additional mailing), **NY GBL § 600** collection-agency licensing, **GBL § 349** deceptive acts, **CPLR 4544** small-print contracts, **chain of title** under NY UCC Article 9, fact-pattern triage, and RFP/RFA banks.
/ny-county-courtsUse when filing in a New York **Supreme Court** Civil Term other than the five flagship counties (New York, Kings, Bronx, Nassau, Queens). Triggers include 'Suffolk County Supreme Court', 'Westchester County Supreme Court', 'Erie County Supreme Court', 'Monroe County Supreme Court', 'Onondaga Supreme', 'Richmond County Supreme Court' (Staten Island). Now narrowly scoped to **Supreme Court Civil Term** only — the long-tail roll-up of upstate Supreme Courts plus Richmond. For other civil-court layers use dedicated skills: `ny-nyc-civil-court` (NYC Civil Court $50k cap), `ny-nyc-housing-court` (RPAPL Art 7 summary proceedings), `ny-nassau-dc` / `ny-suffolk-dc` (Long Island UDCA District Courts $15k cap), `ny-city-courts` (upstate UCCA City Courts $15k cap), `ny-justice-courts` (Town & Village UJCA Justice Courts $3k cap).
/ny-deadlinesUse when the user asks about timing or deadlines in a New York civil case. Triggers include 'when is my answer due in NY', 'CPLR 2103 service deadline', 'mail rule New York', '5 days for mail in NY', '5-day mail rule', 'CPLR 3133 interrogatory response', 'compute deadline NY Supreme Court', 'CPLR 2104 stipulation extension', 'CPLR 306-b 120 days for service', 'count weekends and holidays in NY filing', 'New York court holidays', 'NY Gen. Constr. Law § 24 holidays', 'when is a holiday for filing purposes in New York', 'Lincoln's Birthday court holiday'. Computes calendar-day and court-day deadlines using CPLR 2103 (service add-ons), CPLR 2103-a (electronic-service rules), NY Gen. Constr. Law § 24 + § 25-a holidays, and CPLR 2103(b)(2) 5-day mail rule — the most-mistaken rule for filers used to the 3-day federal mail rule.
npx claudepluginhub codearranger/claude-legal --plugin ny-court-docsOther plugins' skills for the same job