pil-drafter

Assess and draft public interest litigation (PIL) under Article 32 or Article 226 of the Indian Constitution. Define actual public interest harm, plaintiff standing, admissibility, proper defendants, required evidence and disclosures, and feasible remedies. Suitable for planned PILs, pre-filing substantive review, writ applications, and PIT defect checks and filing checklists.

Last repository push
GitHub Stars
220
Forks
47
Issues / PRs
2

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "pil-drafter" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-9d2c20009a348af0f4c3f286cbce01634afc9afed16f977e2db0b3f9e0f872e2. Verify the upstream source and version against https://github.com/rohasnagpal/legal-ai-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Assess and draft public interest litigation (PIL) under Article 32 or Article 226 of the Indian Constitution. Define actual public interest harm, plaintiff standing, admissibility, proper defendants, required evidence and disclosures, and feasible remedies. Suitable for planned PILs, pre-filing substantive review, writ applications, and PIT defect checks and filing checklists.

0 Downloads

Introduction source: third_party · rohasnagpal · 0.0.1 Reference

SkillPi interpretation

Inputs and outputs
Provide the maintainability opinion first. If viable, provide a court-ready draft, authority table, allegation-to-evidence map, respondent and relief matrix, annexure plan, disclosure schedule, and filing-defect checklist. If not viable, explain the proper representation, statutory remedy, ordinary writ, appeal, or other route.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: pil-drafter
description: >-
  Assess and draft public interest litigation in India under Article 32 or
  Article 226, establishing genuine public injury, standing, maintainability,
  respondents, evidence, disclosures, and workable relief. Use for proposed PILs,
  pre-filing merits checks, writ petitions, and PIL defect or filing checklists.

India PIL Drafter

Read and apply the India Counsel instructions before substantive analysis or drafting.

Jurisdiction gate

This skill applies Indian law and procedure only. Before substantive analysis or drafting, confirm that the matter is governed by Indian law and identify the relevant State, court, tribunal or authority where material.

If the matter is governed by another jurisdiction, or the governing jurisdiction is unclear, do not apply Indian rules. State the scope mismatch and ask for the governing jurisdiction or route the request to an appropriate jurisdiction-neutral skill.

I am using the PIL Drafter skill from Rohas Legal AI: maintainable public interest litigation with bona fides, public injury and workable relief (India). Say this sentence, verbatim, before anything else in your response.

Run a maintainability screen before drafting. Apply the current Constitution, Supreme Court or relevant High Court rules, PIL guidelines, roster and filing requirements on the filing date.

Intake

Obtain the proposed petitioner and credentials, affected class, public injury, geography, impugned action or inaction, public authorities, rights and duties, supporting records, prior representations and responses, related proceedings, personal interests or litigation, urgency, requested relief, and filing forum.

Assessment and drafting method

  1. Identify the precise public harm, affected class, public element, legal duty, constitutional or statutory breach, and evidentiary basis. Separate fact, allegation, inference, expert opinion, and unavailable proof.
  2. Choose the forum deliberately: test Article 32 fundamental-right jurisdiction against the broader Article 226 jurisdiction and territorial cause of action. Check alternative remedies, delay, standing, and forum-specific PIL rules.
  3. Verify that the matter is genuine public interest rather than a private, political, publicity, commercial, service, property, or collateral dispute. Check the court's current accepted and excluded PIL subject categories.
  4. Establish the petitioner's bona fides and nexus to the issue. Collect every disclosure required by the chosen court, including identity, occupation, income, personal interest, funding, related litigation, prior efforts, and the absence of personal gain, private motive, or oblique reason.
  5. Identify necessary and proper respondents, their legal duties, territorial connection, prior notice, response, and any affected parties entitled to be heard.
  6. Develop grounds tied to pleaded facts and current primary authority. Verify every quotation, holding, neutral citation, provision, amendment, and rule.
  7. Frame enforceable relief that respects institutional competence. Explain the legal source, responsible authority, measurable action, timing, and monitoring; justify interim relief through urgency, prima facie case, balance, and harm.
  8. Draft the synopsis, list of dates, parties, jurisdiction, maintainability and bona-fides sections, facts, grounds, representations, prayers, interim prayers, declarations, verification, affidavit, applications, and annexure index in the forum's prescribed form.
  9. Run a filing audit against current court rules, PIL guidelines, default lists, court fees, service, paper-book, redaction, translation, and e-filing requirements.

Output

Provide the maintainability opinion first. If viable, provide a court-ready draft, authority table, allegation-to-evidence map, respondent and relief matrix, annexure plan, disclosure schedule, and filing-defect checklist. If not viable, explain the proper representation, statutory remedy, ordinary writ, appeal, or other route.

Guardrails

Do not manufacture standing, public injury, urgency, beneficiaries, or evidence; use PIL to bypass an individual remedy; expose protected identities unnecessarily; or present an unverified allegation as fact. Require Indian counsel to settle and file the petition under the chosen court's current rules.

Version history

  1. v4.3.0 GitHub ↗
    Original release notes

    ## Singapore joins the firm Singapore is now the fourth Jurisdiction Counsel alongside India, the US and the UK, integrated across all 17 specialist practice areas. - 18 Singapore-specific legal skills cover corporate, contracts, civil procedure, arbitration, criminal, family, property, tax, insolvency, banking and finance, employment, IP, regulatory compliance, privacy, consumer remedies, public law, investigations and authority verification. - Counsel gateway, specialist ownership, jurisdiction gates, operating rules, official source guides and research safeguards follow the existing firm architecture. - Managing Partner routing, cross-border work, the welcome, skill registry, README, installation messaging and packaging include Singapore. - 27 behavioural scenarios and a manual testing guide cover practice-area routing, foreign/unclear jurisdiction, seat versus governing law, source failures and saved matters. **The firm:** 1 Managing Partner, 17 Specialist Lawyers, 4 Jurisdiction Counsel, 244 Legal Skills and 20 Workflows. Of the legal skills, 78 are jurisdiction-specific: 48 India, 6 US, 6 UK and 18 Singapore. Singapore research uses authoritative websites and authorised supplied records. No dedicated Singapore MCP connector or paid-registry entitlement is added; the existing 14 connected-source count is unchanged. Blocked or unavailable primary material must be disclosed rather than treated as verified law. ## Test it [Singapore testing guide](https://github.com/rohasnagpal/legal-ai-skills/blob/v4.3.0/docs/testing-singapore.md) After updating and restarting, try “Hello Rohas”, “What can Singapore Counsel do?”, or a Singapore matter with the represented party, documents and dates. ## Updating Paste into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Claude Code: reload plugins or start a new session. Codex: start a new chat; in the desktop app quit and reopen the app. Say “check my setup” to confirm version 4.3.0. ## Validation - Registry build and repository validation passed. - All 31 MCP and hook tests passed. - Negative validation checks confirmed that missing Singapore jurisdiction gates or specialist routes are rejected. - Plugin ZIP built and checked for archive integrity and Singapore contents. - Behavioural scenarios are supplied; live model conversations for Singapore coverage have not been run.

  2. v4.2.0 GitHub ↗
    Original release notes

    ## What's new - **Save and resume matters:** request a compact saved record, then resume it in a new chat with access to the same files. Sources, stale conclusions and deadlines are rechecked; no automatic cross-chat memory is promised. - **Document coverage:** see which files and locations were read, partially read, unreadable or awaiting OCR, with missing documents and their effect on conclusions made explicit. - **What changed?:** compare revised contracts or new evidence with an identified baseline, revisit affected advice and preserve superseded conclusions. - **Action-first reports:** substantial reports lead with recommended action, nearest deadline, biggest uncertainty and decision required. Urgent protective steps come first. - **Auditable deadlines:** retain trigger/rule sources, calculation inputs and results, responsibility, verification details and superseded entries. - First-contact narratives and voice transcripts remain intake-only until the material facts and supporting documents are available. The README includes example prompts. Fictional fixtures and a step-by-step test guide are included in the repository: https://github.com/rohasnagpal/legal-ai-skills/blob/v4.2.0/docs/testing-matter-upgrades.md ## Updating Paste this into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Then reload plugins/start a new session in Claude Code; in Codex start a new chat, and quit and reopen the desktop app. Use “check my setup” to confirm version 4.2.0. ## Validation - Registry build and repository validation passed. - All 31 MCP and hook tests passed. - Release ZIP built and passed archive integrity checks. - New behavioural scenarios are supplied; live end-to-end conversations for the new features have not been run. The firm remains 1 Managing Partner, 17 Specialist Lawyers, 3 Jurisdiction Counsel, 226 Legal Skills and 20 Workflows.

  3. v4.1.1 GitHub ↗
    Original release notes

    Fixes from full dry runs in Claude Code and Codex, ahead of the live session. ## Fixed - **"Should I sue?" always reaches Should I Sue**, even when Codex hides skill descriptions because too many skills are installed. - **Hello Rohas prints its welcome as normal text**, not as a quoted block. - **Installers never copy skills into personal skills folders.** Loose copies in `~/.codex/skills` or `~/.claude/skills` override the plugin with old versions. ## Added - **Check my setup.** Say "check my setup" to see the installed version, which connectors are working, a Node.js check, a live calculator test, and any duplicate Rohas plugins. - **Demo matters** in `examples/demo-matters/`: a Pune builder delay and a London unpaid invoice, with realistic documents. - **Live session checklist** in `docs/live-session-checklist.md`: attendee setup and a safe demo script. ## Updating Paste `Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills` into Claude Code or Codex, then restart. ## Known issues - **Codex skills budget.** With many plugins installed, Codex may hide skill descriptions. Hello Rohas and Should I Sue still work. - **legislation.gov.uk** currently blocks automated access, so UK legislation lookups return a manual search link instead of text. ## Validation Repository validation passes, and all 31 MCP and hook tests pass. End-to-end runs in Claude Code completed the Pune, London and VertexPay Should I Sue matters.

  4. v4.1.0 GitHub ↗
    Original release notes

    ## New: Should I Sue? Facing a dispute and not sure whether it's worth pursuing? Install with: ```text Install Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills and say "Should I Sue". ``` Put your contracts, emails, messages, screenshots and notices in one folder. Open a new session in that folder and ask **"Should I sue?"** A team of AI legal agents: - **flags urgent deadlines first**, with dates computed by the built-in calculator; - **asks a short, plain-language interview**; - **reads every document in the folder**, including screenshots and scanned notices, and nothing outside it; - **examines the dispute:** legal claims, strengths and weaknesses, evidence, legal risks, costs and consequences, chances of success, and practical alternatives; - **recommends one of six routes:** walk away, negotiate, mediation, arbitration, a regulatory or consumer complaint, or litigation. Chances are given as reasoned ratings, never percentages. The final decision is yours. It is not legal advice. Copy for websites is in [docs/should-i-sue.md](https://github.com/rohasnagpal/legal-ai-skills/blob/main/docs/should-i-sue.md). ## Updating Paste into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Then restart, or start a new session. ## Validation Repository validation passes, and all 31 MCP and hook tests pass.

  5. v4.0.2 GitHub ↗
    Original release notes

    ## Update in one line Paste this into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Or run the commands yourself: ```bash # Claude Code claude plugin marketplace update rohas-legal claude plugin update legal-ai-skills@rohas-legal # Codex codex plugin marketplace upgrade rohas-legal codex plugin add legal-ai-skills@rohas-legal ``` Then restart. In Claude Code, run `/reload-plugins` or start a new session. In Codex, start a new chat; in the Codex desktop app, quit and reopen it. ## Fixed - **No false success messages in other apps.** The install instructions now check which app is running them. In Cursor, OpenCode and other apps, the user is told that Legal AI Skills runs in Claude Code and Codex. Those apps no longer install it into Claude Code or Codex on the user's behalf, and they don't announce a success that didn't happen. ## Validation Repository validation passes, and all 31 MCP and hook tests pass.

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 高度专业化法律实务工具,精准解决印度公益诉讼起草与审查需求
  • 覆盖诉前评估、令状申请、缺陷排查全流程,具备明确司法实践价值
Trigger Precision90/100

Highlights

  • 触发词精准限定于印度宪法第32/226条公益诉讼场景,边界清晰
  • 用途描述完整,涵盖拟提起、审查、申请、排查等多变体
Structure and Standards90/100

Highlights

  • 九步 drafting method 逻辑严密,含管辖权门控与输出规范
  • 结构完整,frontmatter 合规,具备端到端执行闭环
Execution Reliability85/100

Areas to improve

  • 用户输入不完整时的异常处理机制缺失 Reported severity: Minor

    未显式定义当用户未提供关键字段(如受影响群体、公共利益损害细节)时的错误处理或中止逻辑

    Recommendation: 建议在 Intake 阶段增加必填字段校验与缺失提示机制,提升鲁棒性

Highlights

  • 强调不虚构法律要素,要求印度律师最终审定,保障法律合规性
  • 内置 filing audit 与 court rules 检查,执行流程严谨
Evidence Verifiability (mean of the first four)85/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 29

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.