Agent skill

Regulation Hierarchy And Conflicts

by h30190 in h30190/HJPLUS_Taiwan_Architect_KB

This skill should be used when two or more Taiwan regulations appear to conflict, when deciding which rule governs (national law vs.

CC-BY-SA-4.0Auto-check passed

Install Regulation Hierarchy And Conflicts

skills CLI
$ npx skills add h30190/HJPLUS_Taiwan_Architect_KB --skill regulation-hierarchy-and-conflicts -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install h30190/HJPLUS_Taiwan_Architect_KB regulation-hierarchy-and-conflicts --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/h30190/HJPLUS_Taiwan_Architect_KB.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'raw/建築顧問方法論/法源位階與衝突處理/regulation-hierarchy-and-conflicts' .claude/skills/regulation-hierarchy-and-conflicts && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
regulation-hierarchy-and-conflicts
GitHub stars
158
Token cost
~2.3k tokens
SKILL.md length
951 words
Files
1
Skills in repo
86
Repo updated
First seen
Licence
CC-BY-SA-4.0

At a glance

This skill should be used when two or more Taiwan regulations appear to conflict, when deciding which rule governs (national law vs.

  • Works in 6 steps: Confirm it is a real conflict. Most… → Different ranks → higher rank prevails.… → Same rank, one is special law → special… → …
  • SKILL.md covers Overview, Section 1: Hierarchy of Legal…, Section 2: Administrative… and Section 3: Conflict-Resolution…, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Regulation Hierarchy And Conflicts is an agent skill from h30190/HJPLUS_Taiwan_Architect_KB. This skill should be used when two or more Taiwan regulations appear to conflict, when deciding which rule governs (national law vs. local ordinance vs. administrative interpretation), when a regulation was amended and it is unclear which version applies, or before answering any compliance question that touches more than one body of law (e.g., building code vs. fire code, national code vs. municipal ordinance).

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: claude-code,opencode,agent-skills

The repository describes itself as: 一個開源的台灣AEC產業知識庫,只要你願意共享經驗與知識就歡迎加入我們. The licence is CC-BY-SA-4.0.

Example prompts

  • “/regulation-hierarchy-and-conflicts”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): claude-code,opencode,agent-skills

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Confirm it is a real conflict. Most "conflicts" are two rules with different scopes (different building use groups, different floor areas…
  2. Different ranks → higher rank prevails. A 自治條例 cannot relax 建築技術規則; an interpretation cannot override an article.
  3. Same rank, one is special law → special law prevails(特別法優於普通法,中央法規標準法 §16). E.g., 文化資產保存法 provisions for historic buildings override…
  4. Same rank, same nature → later law prevails(後法優於前法). Check amendment dates via the Laws & Regulations Database.
  5. Parallel regimes (dual-track) → both must be satisfied; the stricter prevails. See Section 4. This is not a conflict to resolve but a…
  6. Interpretation vs. parent article → article prevails; state the discrepancy in your answer.

What it can do on your machine

Read from SKILL.md and the folder at commit 35ed06e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • law.moj.gov.tw

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    claude-code,opencode,agent-skills

    From compatibility in the SKILL.md frontmatter.

Context cost

Regulation Hierarchy And Conflicts loads about 2.3k tokens when it runs. Until then it costs about 112 tokens; SKILL.md has 951 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~112
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from h30190/HJPLUS_Taiwan_Architect_KB at commit 35ed06e, republished under its CC-BY-SA-4.0 licence (© h30190). 951 words, ~2,292 tokens.

Download SKILL.mdSave it as .claude/skills/regulation-hierarchy-and-conflicts/SKILL.md (or your agent's skills folder).
name
regulation-hierarchy-and-conflicts
description
This skill should be used when two or more Taiwan regulations appear to conflict, when deciding which rule governs (national law vs. local ordinance vs. administrative interpretation), when a regulation was amended and it is unclear which version applies, or before answering any compliance question that touches more than one body of law (e.g., building code vs. fire code, national code vs. municipal ordinance).
compatibility
claude-code,opencode,agent-skills
type
Skill
user-invocable
true
license
CC-BY-SA-4.0
metadata.audience
architects
metadata.region
taiwan
metadata.class
C
metadata.status
verified
metadata.data-currency
2026-07-10

Regulation Hierarchy & Conflict Resolution (法源位階與衝突處理)

Overview

Taiwan building practice is governed by multiple layers of law that frequently overlap: national statutes, delegated regulations, municipal ordinances, and administrative interpretations. Most wrong consulting answers come not from misreading a single article, but from applying the wrong layer or failing to notice that two regimes apply simultaneously.

This skill defines (1) the hierarchy of legal sources, (2) an ordered conflict-resolution procedure, and (3) time-axis rules for amended regulations. It is a horizontal rule: apply it to every multi-regulation question, regardless of topic.


From highest to lowest binding force:

RankLayerChineseExamplesNotes
1Constitution憲法—Rarely invoked directly in building practice
2Statute (law)法律(法、律、條例、通則)建築法、都市計畫法、消防法、文化資產保存法、政府採購法、建築師法Enacted by Legislative Yuan(中央法規標準法 §2)
3Delegated regulation法規命令(規則、細則、辦法、標準、準則等)建築技術規則(依建築法 §97 授權)、建築物使用類組及變更使用辦法、各類場所消防安全設備設置標準Issued by agencies under statutory delegation(中央法規標準法 §3、行政程序法 §150)
4Local self-government ordinance自治條例臺北市建築管理自治條例Passed by local council; void where it contradicts the Constitution, statutes, or delegated regulations(地方制度法 §30)
5Local self-government rule自治規則各縣市建造執照預審作業要點類Issued by local executive
6Administrative rule / interpretation行政規則、解釋函令(函釋)內政部國土管理署(前營建署)函釋See Section 2 — no formal rank as law, but governs review practice

Core rank rules(中央法規標準法 §11): a statute may not contradict the Constitution; a regulation may not contradict the Constitution or a statute; a lower agency's order may not contradict a higher agency's order.

Practice note: Local governments may lawfully impose stricter or additional requirements within their delegated authority (e.g., 臺中市宜居建築設施設置及回饋辦法). "Local rule is lower rank" does NOT mean it can be ignored — it means it cannot relax a national requirement. A compliant design satisfies both.

Section 2: Administrative Interpretations (解釋函令)

  • Interpretations (函釋) clarify how the issuing agency reads a provision. They bind subordinate agencies and shape 建管 review practice, but they are not statutes: courts are not bound by them (J.Y. Interpretation No. 216 — Secondary source, verify before quoting verbatim).
  • In consulting output, always cite an interpretation with its issuing agency, document number, and date (e.g., 內政部營建署 92.09.20 營署建管字第0920093655號), and distinguish it from the article it interprets.
  • If an interpretation appears to contradict its parent article, the article prevails — flag the contradiction explicitly instead of silently picking one.
  • Interpretations are the primary tool for boundary cases — see boundary-cases-and-escalation.

Section 3: Conflict-Resolution Procedure

Apply these steps in order. Stop at the first step that resolves the question.

  1. Confirm it is a real conflict. Most "conflicts" are two rules with different scopes (different building use groups, different floor areas, different trigger conditions). Read the applicability clause (適用範圍) of each rule first.
  2. Different ranks → higher rank prevails. A 自治條例 cannot relax 建築技術規則; an interpretation cannot override an article.
  3. Same rank, one is special law → special law prevails(特別法優於普通法,中央法規標準法 §16). E.g., 文化資產保存法 provisions for historic buildings override general 建築法 requirements within their scope.
  4. Same rank, same nature → later law prevails(後法優於前法). Check amendment dates via the Laws & Regulations Database.
  5. Parallel regimes (dual-track) → both must be satisfied; the stricter prevails. See Section 4. This is not a conflict to resolve but a double requirement to meet.
  6. Interpretation vs. parent article → article prevails; state the discrepancy in your answer.

If none of the steps resolves it, treat the question as a boundary case and escalate per boundary-cases-and-escalation.

Show full SKILL.md (417 more words)Show less

Section 4: Dual-Track Regimes (雙軌並行,取嚴者)

These domains are governed by two independent bodies of law with different competent authorities. Compliance with one does NOT imply compliance with the other.

DomainTrack 1 (building authority 建管)Track 2 (other authority)Working example in this KB
Fire / smoke建築技術規則建築設計施工編各類場所消防安全設備設置標準(消防主管機關)smoke-exhaust-review — "both must be satisfied; the stricter prevails"
Accessibility建築技術規則設計施工編第十章建築物無障礙設施設計規範無障礙 skills under 建築法規
Structural fire cover建築物混凝土結構設計規範 Ch. 20.5建築技術規則 fire-resistance provisionsconcrete-general-requirements §2.3
National vs. local add-ons建築技術規則各地自治條例/宜居建築辦法等台中市宜居建築 skill under 建築法規

Rule: when a question touches a dual-track domain, your answer MUST cite both tracks or explicitly state which track you have not checked.

Section 5: Time-Axis Rules (新舊法適用)

SituationGoverning ruleEffect
Permit application pending while the regulation changes從新從優(中央法規標準法 §18)Apply the new rule, unless the old rule favors the applicant and the applied-for matter is not abolished/prohibited
Administrative penalty, law changed after the act從新從輕(行政罰法 §5)Apply the law at time of sanction, unless an earlier version is more favorable
Lawfully completed existing building(既有合法建築物)Generally not retroactiveA valid 使用執照 under old law remains valid; change of use (建築法 §73) or major alteration triggers current law
Amendment with transitional clauses(過渡條款)Read the amendment's 附則Transitional clauses override the defaults above — always check them

WARNING trigger: if the project timeline spans a known amendment date (design started before, permit filed after), do not answer from a single version — identify which version applies via §18 logic, and say so explicitly.

Section 6: AI Check Table

CheckConditionAI Action
Scope check skippedTwo rules cited as "conflicting" without comparing applicability clausesWARNING: Verify scopes before invoking hierarchy rules
Local relaxationAnswer relies on a local rule that is less strict than the national codeERROR: 自治條例 cannot relax national requirements(地方制度法 §30)
Dual-track omissionQuestion touches fire/accessibility/local-add-on domains but only one track citedERROR: Cite both tracks or declare the unchecked one
Interpretation as law函釋 cited without agency/number/date, or presented as statutory textWARNING: Re-cite with full document identity and label as interpretation
Version ambiguityProject timeline spans a known amendmentWARNING: Resolve applicable version via 中央法規標準法 §18 before answering

Section 7: MCP Tool Examples

python
# Find the governing article before resolving any conflict
taiwan-building-code_search_building_code(query="容積 免計 梯廳", limit=10)

# Check whether an interpretation exists on the disputed point
taiwan-building-code_search_building_interpretations(query="梯廳 淨深 認定")

# Dual-track fire check: search both regimes
taiwan-building-code_search_building_code(query="排煙 設備 居室", limit=10)
taiwan-building-code_search_building_interpretations(query="排煙 消防 適用")

For amendment history and current text, direct the user to the Laws & Regulations Database (https://law.moj.gov.tw/) — see regulation-currency-check.

© h30190, CC-BY-SA-4.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in raw/建築顧問方法論/法源位階與衝突處理/regulation-hierarchy-and-conflicts of h30190/HJPLUS_Taiwan_Architect_KB.

Open the folder on GitHubat commit 35ed06e

Compare with similar skills

Regulation Hierarchy And Conflicts next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Regulation Hierarchy And Conflicts compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Regulation Hierarchy And Conflicts this skillh30190/HJPLUS_Taiwan_Architect_KB158—~2.3kAutomated safety check: PassCC-BY-SA-4.0
Heading Hierarchythedaviddias/Front-End-Checklist74k—~516Automated safety check: PassMIT
Resolve Git Conflictspenpot/penpot61k—~772Automated safety check: PassMPL-2.0
Autoresolving PR ConflictsPostHog/posthog40k—~4.2kAutomated safety check: PassCustom licence
Drizzle Migration Conflictsickn33/agentic-awesome-skills47k1 repos~2.5kAutomated safety check: NotesApache-2.0
Indexability Conflictsthedaviddias/Front-End-Checklist74k—~876Automated safety check: PassMIT

Similar skills

  • Heading Hierarchy

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Use logical heading hierarchy.

    74k GitHub stars~516 tokensUpdated 5 days ago
    Frontend & DesignAuto-check passed
  • Conflict resolution flow — understand the local git conflicts, present a resolution plan, and resolve them after the user approves it.

    61k GitHub stars~772 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Official

    Operating procedure for the conflict-autoresolver agent: sweep open PostHog/posthog PRs that conflict with master, resolve the trivial conflicts (generated artifacts deterministically, source…

    40k GitHub stars~4.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Drizzle Migration Conflict

    sickn33/agentic-awesome-skills

    Diagnose, repair, and prevent Drizzle Kit migration conflicts involving generated SQL, snapshots, journals, merge queues, and team workflows.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    DatabasesAuto-check: notes
  • Indexability Conflicts

    thedaviddias/Front-End-Checklist

    A skill your agent uses when auditing a site for indexability issues, investigating why pages appear in Google's index that should be excluded (or vice versa), or reviewing robots.txt and meta…

    74k GitHub stars~876 tokensUpdated 5 days ago
    Marketing & SEOAuto-check passed
  • Fix Merge Conflicts

    cursor/plugins

    Official

    Resolve merge conflicts non-interactively, validate build and tests, and finalize conflict resolution

    11k GitHub starsUsed in 3 repos~247 tokens
    DevelopmentAuto-check passed

More from h30190/HJPLUS_Taiwan_Architect_KB

All 86 skills in this repo
  • Green Material Search Toolkit

    h30190/HJPLUS_Taiwan_Architect_KB

    This skill should be used when an architect or consultant needs to search Taiwan's TABC (財團法人臺灣建築中心) green building material certification database, assemble a set of qualified materials for a…

    158 GitHub stars~3.3k tokensUpdated 3 days ago
    Auto-check passed
  • Skill Name Hyphenated

    h30190/HJPLUS_Taiwan_Architect_KB

    This skill should be used when [specific trigger scenarios].

    158 GitHub stars~791 tokensUpdated 3 days ago
    Auto-check passed
  • Taichung Land Parcel Query

    h30190/HJPLUS_Taiwan_Architect_KB

    This skill should be used when an architect receives just an address or lot number (地號) for a site in Taichung City, Taiwan, and needs the land's basic data — zoning, registered land area, land…

    158 GitHub stars~1.9k tokensUpdated 3 days ago
    Auto-check passed
  • Permit Report Data Mapping

    h30190/HJPLUS_Taiwan_Architect_KB

    This skill should be used when mapping a legacy CPAMI permit report identifier to its actual BMS data groups, computed display fields, or unresolved template dependencies.

    158 GitHub stars~1.4k tokensUpdated 3 days ago
    Auto-check passed
  • Revit AI Targeting And Safe Execution

    h30190/HJPLUS_Taiwan_Architect_KB

    This skill should be used when an AI agent, MCP tool, Revit add-in, or automation must inspect or change a live Revit model and needs to prove its target set, choose bounded read-only context…

    158 GitHub stars~3.6k tokensUpdated 3 days ago
    Auto-check passed
  • Smoke Exhaust Review

    h30190/HJPLUS_Taiwan_Architect_KB

    This skill should be used when evaluating smoke exhaust compliance for buildings in Taiwan, including windowless floor determination, smoke compartment partitioning, smoke exhaust window effective…

    158 GitHub stars~1.9k tokensUpdated 3 days ago
    Auto-check passed

Questions about Regulation Hierarchy And Conflicts

What does Regulation Hierarchy And Conflicts do?

This skill should be used when two or more Taiwan regulations appear to conflict, when deciding which rule governs (national law vs. Regulation Hierarchy And Conflicts is an agent skill from h30190/HJPLUS_Taiwan_Architect_KB. This skill should be used when two or more Taiwan regulations appear to conflict, when deciding which rule governs (national law vs.

How do I install Regulation Hierarchy And Conflicts in Claude Code?

Run `npx skills add h30190/HJPLUS_Taiwan_Architect_KB --skill regulation-hierarchy-and-conflicts -a claude-code`. Or copy the skill folder (raw/建築顧問方法論/法源位階與衝突處理/regulation-hierarchy-and-conflicts in h30190/HJPLUS_Taiwan_Architect_KB) into .claude/skills/regulation-hierarchy-and-conflicts in your project. Claude Code loads it when a task matches its description.

How do I install Regulation Hierarchy And Conflicts in Codex?

Run `npx skills add h30190/HJPLUS_Taiwan_Architect_KB --skill regulation-hierarchy-and-conflicts -a codex`. Or copy the skill folder (raw/建築顧問方法論/法源位階與衝突處理/regulation-hierarchy-and-conflicts in h30190/HJPLUS_Taiwan_Architect_KB) into .agents/skills/regulation-hierarchy-and-conflicts in your project. Codex loads it when a task matches its description.

Can I use Regulation Hierarchy And Conflicts in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add h30190/HJPLUS_Taiwan_Architect_KB --skill regulation-hierarchy-and-conflicts -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/regulation-hierarchy-and-conflicts, .gemini/skills/regulation-hierarchy-and-conflicts, .github/skills/regulation-hierarchy-and-conflicts and .opencode/skills/regulation-hierarchy-and-conflicts in your project.

What does Regulation Hierarchy And Conflicts need to run?

SKILL.md names no scripts, command-line tools or credentials: Regulation Hierarchy And Conflicts is instructions for the agent only. Our summary lists: Python 3. Compatibility (from SKILL.md): claude-code,opencode,agent-skills.

Does Regulation Hierarchy And Conflicts access the network?

SKILL.md names 1 domain. As links in the text: law.moj.gov.tw. This is read from the text; nothing was executed.

Is Regulation Hierarchy And Conflicts safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Regulation Hierarchy And Conflicts use?

Regulation Hierarchy And Conflicts is published under the CC-BY-SA-4.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Regulation Hierarchy And Conflicts use?

About 2.3k tokens (SKILL.md is roughly 9.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Regulation Hierarchy And Conflicts?

Skills that share tags, products or a category with Regulation Hierarchy And Conflicts: Heading Hierarchy (thedaviddias/Front-End-Checklist, 74k stars), Resolve Git Conflicts (penpot/penpot, 61k stars), Autoresolving PR Conflicts (PostHog/posthog, 40k stars) and Drizzle Migration Conflict (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Regulation Hierarchy And Conflicts?

h30190 (a GitHub user) maintains it in h30190/HJPLUS_Taiwan_Architect_KB, which has 158 GitHub stars. The repository holds 86 skills in this directory. The repository was last updated on October 8, 2026.

Source: h30190/HJPLUS_Taiwan_Architect_KB on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.