skills/writ-jurisdiction-advisor/SKILL.md
Determine which type of writ applies to a legal situation, advise whether to approach Supreme Court or High Court, assess locus standi, and evaluate alternative remedy doctrine
npx skillsauth add swarochish/indian-law-plugin writ-jurisdiction-advisorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Determine which type of writ (habeas corpus, mandamus, certiorari, prohibition, quo warranto) applies to a legal situation, advise whether to approach Supreme Court (Article 32) or High Court (Article 226), assess locus standi (standing to file), and evaluate alternative remedy doctrine applicability.
| Situation | Writ Type | Issued To | Purpose | Example | |-----------|-----------|-----------|---------|---------| | Illegal detention | Habeas Corpus | Police, Jail Superintendent | Release person from custody | Arrested without warrant, detention beyond 24 hours | | Government refuses to perform duty | Mandamus | Public Authority | Compel duty performance | Govt refuses to issue license despite eligibility | | Want to quash illegal order | Certiorari | Tribunal, Quasi-Judicial Authority | Quash order, bring to court | Want to cancel transfer order, tax assessment order | | Authority exceeding jurisdiction | Prohibition | Tribunal acting beyond powers | Stop authority from proceeding | Labour Court hearing non-workman case (no jurisdiction) | | Unauthorized person holding public office | Quo Warranto | Person holding office | Inquire into title to office | Person appointed as judge without qualifications |
When to Use:
Issued To:
What Court Orders:
Statutory Basis:
Example Scenario:
Situation: Police arrested person on 1st January. No FIR filed, no magistrate order. Person still in custody on 5th January (4 days = illegal).
Writ Type: Habeas Corpus
Prayer: "Issue writ of Habeas Corpus directing Superintendent of Police to produce [Name] before this Hon'ble Court and release him forthwith as detention beyond 24 hours without magistrate order violates Article 22(1)."
Likely Outcome: Court orders immediate production + release (unless police shows magistrate remand order).
When to Use:
Issued To:
What Court Orders:
Conditions for Mandamus:
Example Scenario 1: License Refusal
Situation: Applied for trade license on 1-Jan. Eligible as per rules. Municipal Corporation rejected on 15-Feb citing "public interest" without reasons.
Writ Type: Mandamus
Prayer: "Issue writ of Mandamus directing Municipal Commissioner to grant trade license to Petitioner, as Petitioner fulfills all statutory requirements under Municipal Act Section [X]."
Grounds:
- Legal duty to grant license if conditions met (Municipal Act Section X)
- Rejection arbitrary (no reasoned order)
- Violates Article 14 (equality) and Article 19(1)(g) (right to occupation)
Likely Outcome: Court directs Municipal Commissioner to reconsider application and pass reasoned order within 30 days.
Example Scenario 2: Promotion Denial
Situation: Government employee eligible for promotion (10 years service, passed exam). Promotion denied without giving reasons. Junior promoted instead.
Writ Type: Mandamus
Prayer: "Issue writ of Mandamus directing respondent department to promote petitioner to [post] as per seniority-cum-merit rule."
Grounds:
- Legal right to promotion (service rules)
- Arbitrary denial violates Article 14 (equal treatment)
Likely Outcome: Court may not directly order promotion (complex factual issues), but will direct department to reconsider with reasoned order.
Mandamus NOT Issued When:
When to Use:
Issued To:
What Court Orders:
Grounds for Certiorari (Judicial Review):
Example Scenario 1: Tax Assessment Quashing
Situation: Income Tax Officer assessed income at Rs. 50 lakhs (actual: Rs. 10 lakhs). No hearing given before assessment. Notice sent to wrong address.
Writ Type: Certiorari
Prayer: "Issue writ of Certiorari quashing assessment order dated [date] passed by Income Tax Officer."
Grounds:
- Violation of natural justice (no opportunity of hearing - Section 144 of IT Act requires hearing)
- Assessment arbitrary (Rs. 50 lakhs vs declared Rs. 10 lakhs with no basis)
Likely Outcome: Court quashes assessment + directs fresh assessment after proper hearing.
Certiorari vs Mandamus (Often Combined):
When to Use:
Difference from Certiorari:
Issued To:
Example Scenario: Jurisdictional Challenge
Situation: Labour Court issued notice to non-workman (manager earning Rs. 5 lakh/year). Industrial Disputes Act only covers "workmen" (manual/clerical workers earning < Rs. 10,000/month). Manager files writ before Labour Court passes order.
Writ Type: Prohibition
Prayer: "Issue writ of Prohibition restraining Labour Court from proceeding with Reference Application No. [X] as Petitioner is not a 'workman' under Industrial Disputes Act."
Grounds:
- Labour Court lacks jurisdiction (Petitioner not workman as per Section 2(s) of ID Act)
- Continuing proceedings would be waste of time + resources
Likely Outcome: If HC agrees Petitioner is non-workman -> Prohibition issued, Labour Court proceedings stopped.
Prohibition NOT Issued:
When to Use:
Issued To:
What Court Orders:
Conditions:
Quo Warranto NOT Issued:
| Factor | Article 32 (Supreme Court) | Article 226 (High Court) | |--------|---------------------------|--------------------------| | Scope | Only Fundamental Rights (Articles 14-35) | Fundamental Rights + Any Legal Right | | Nature | Guaranteed remedy (cannot refuse) | Discretionary (may refuse) | | Jurisdiction | All India | Territorial (state/union territory) | | Cost | Higher (court fees Rs. 5,000-Rs. 50,000, Senior Advocates Rs. 2-10 lakh) | Lower (fees Rs. 500-Rs. 5,000, Advocates Rs. 10,000-Rs. 1 lakh) | | Timeline | Slower (SC backlog, 1-3 years) | Faster (6 months - 2 years) | | Precedent Value | Binding on all courts (Article 141) | Binding only in state (but persuasive elsewhere) | | Alternative Remedy | Generally no bar (guaranteed remedy) | May refuse if alternative remedy adequate |
START: Legal Right Violated
|
+-> Is it a FUNDAMENTAL RIGHT violation? (Articles 14-35)
| |
| +-> YES -> Both Article 32 (SC) and Article 226 (HC) available
| | |
| | +-> Is it a matter of NATIONAL IMPORTANCE?
| | | -> YES -> Approach Supreme Court (Article 32)
| | |
| | +-> Is it a LOCAL/STATE matter?
| | | -> YES -> Approach High Court (Article 226)
| | |
| | +-> Do you have LIMITED BUDGET?
| | | -> YES -> Approach High Court (Article 226)
| | |
| | +-> Do you need AUTHORITATIVE PRECEDENT?
| | -> YES -> Approach Supreme Court (Article 32)
| |
| +-> NO (Not Fundamental Right) -> Only Article 226 (HC) available
| -> Is it a LEGAL RIGHT? -> YES -> File under Article 226 (HC)
|
+-> Against PRIVATE PARTY? (Not State under Article 12)
-> Writ NOT maintainable -> File Civil Suit
General Principle: Only person whose own legal right is violated can file writ.
Public Interest Litigation (PIL): Any public-spirited person can file for violations affecting:
Landmark: S.P. Gupta v. Union of India (1982): Supreme Court liberalized standing for public interest matters.
Courts Dismiss:
Test (Ashok Kumar Pandey v. State of West Bengal, 2004):
L. Chandra Kumar v. Union of India (1997): If alternative statutory remedy available, High Court may decline writ.
Connects With:
Triggers:
/pil-guidance commandVersion: 1.0 Last Updated: December 2025 Domain: Constitutional Writ Jurisdiction (Articles 32, 226 - Forum Selection, Writ Type Identification, Locus Standi Assessment)
testing
Analyze writ petition viability - assess locus standi, alternative remedy, grounds for judicial review, appropriate writ type, and likelihood of success
development
Draft complete, legally precise RTI applications under Right to Information Act 2005 with specific information requests, proper addressing, and compliance with statutory format
tools
Calculate precise limitation periods under Limitation Act 1963 including COVID-19 extension (531 days), exclusions, and extensions. This skill should be used when determining filing deadlines for legal proceedings, appeals, applications, or when analyzing whether a claim is time-barred.
development
Multi-source legal research workflow for Indian law covering statutes, case law, and secondary sources. This skill should be used when conducting comprehensive legal research, finding relevant precedents, or analyzing statutory provisions across India Code, Indian Kanoon, and other free legal databases.