Agent skill

Contributor PR Workflow

by h30190 in h30190/HJPLUS_Taiwan_Architect_KB

This skill should be used when a contributor wants to submit a new skill, edit an existing skill, or make any change to the Taiwan Architect KB repository.

CC-BY-SA-4.0Auto-check passed

Install Contributor PR Workflow

skills CLI
$ npx skills add h30190/HJPLUS_Taiwan_Architect_KB --skill contributor-pr-workflow -a claude-code

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

GitHub CLI
$ gh skill install h30190/HJPLUS_Taiwan_Architect_KB contributor-pr-workflow --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/contributor-pr-workflow .claude/skills/contributor-pr-workflow && 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
contributor-pr-workflow
GitHub stars
157
Token cost
~1.9k tokens
SKILL.md length
771 words
Files
2
Skills in repo
86
Repo updated
First seen
Licence
CC-BY-SA-4.0

At a glance

This skill should be used when a contributor wants to submit a new skill, edit an existing skill, or make any change to the Taiwan Architect KB repository.

  • Works in 7 steps: Environment Setup → Creating a New Skill → Editing an Existing Skill → …
  • SKILL.md covers Overview, How It Works, Troubleshooting and Related Skills
  • Calls git, gh and python

What it does

Contributor PR Workflow is an agent skill from h30190/HJPLUS_Taiwan_Architect_KB. This skill should be used when a contributor wants to submit a new skill, edit an existing skill, or make any change to the Taiwan Architect KB repository. It guides the full lifecycle: clone/fetch, branch, create/edit, self-validate, and submit PR.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `domain.md`). Compatibility notes: claude-code,opencode,agent-skills

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

Example prompts

  • “/contributor-pr-workflow”

Requirements

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

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Environment Setup
  2. Creating a New Skill
  3. Editing an Existing Skill
  4. Renaming / Restructuring
  5. Other Changes (Typo, Reference, Translation)
  6. Self-Validation (RUN BEFORE SUBMITTING)
  7. Submit

What it can do on your machine

Read from SKILL.md and the folder at commit c24d243. 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

    Shell commands in SKILL.md call:

    • git
    • gh
    • python

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

  • Network

    No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.

    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

Contributor PR Workflow loads about 1.9k tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 771 words of instructions outside code blocks.

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

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 c24d243, republished under its CC-BY-SA-4.0 licence (© h30190). 771 words, ~1,854 tokens.

Download SKILL.mdSave it as .claude/skills/contributor-pr-workflow/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
contributor-pr-workflow
description
This skill should be used when a contributor wants to submit a new skill, edit an existing skill, or make any change to the Taiwan Architect KB repository. It guides the full lifecycle: clone/fetch, branch, create/edit, self-validate, and submit PR.
compatibility
claude-code,opencode,agent-skills
license
CC-BY-SA-4.0
metadata.audience
contributors
metadata.region
taiwan
metadata.class
A
metadata.status
verified
metadata.data-currency
2026-07-14

Contributor PR Workflow

Guide a contributor through the end-to-end process of submitting a change to this KB.

Overview

This skill covers the full lifecycle from first clone to PR submission, with automated validation gates at each step. It prevents common mistakes: wrong directory structure, mismatched frontmatter, dirty files, broken links, and Simplified Chinese content.

How It Works

Phase 0: Environment Setup
  1. Clone the repo (if first time):

    bash
    git clone https://github.com/h30190/HJPLUS_Taiwan_Architect_KB.git
    cd HJPLUS_Taiwan_Architect_KB
  2. Sync with latest main:

    bash
    git checkout main
    git pull origin main
  3. Create a feature branch:

    bash
    git checkout -b feat/your-feature-description
  4. Ask the contributor: "What are you contributing?"

    • New skill → Phase 1
    • Edit existing skill → Phase 2
    • Rename / restructure → Phase 3
    • Other (fix typo, add reference, translate) → Phase 4
Phase 1: Creating a New Skill
  1. Choose the category: Look at raw/ subdirectories to find the right home (建築設計與規劃, 建築法規, 公共工程, etc.).

  2. Copy the template:

    bash
    cp -r 知識樣板/ raw/<category>/<chinese-entry-name>/
  3. Name the entry directory (Traditional Chinese, intuitive name like 排煙窗法規檢討/).

  4. Rename the skill directory (inside the Chinese entry, from skill-name-hyphenated/ to lowercase English hyphenated).

  5. Clean up optional subdirectories: Delete assets/, references/, scripts/ if not needed.

  6. Write SKILL.md:

    • Frontmatter: name MUST match the skill directory name
    • metadata.class is REQUIRED (A/B/C)
    • metadata.status is RECOMMENDED (verified/unverified/draft)
    • license and compatibility are RECOMMENDED
    • Body in English, keep under 500 lines
    • C-class skills MUST include MCP tool examples
  7. Write domain.md:

    • Traditional Chinese body
    • OKF frontmatter with type: Knowledge Entry and title matching the # H1 — nothing else
    • 使用情境、學習目標、實務應用
  8. Update parent index.md:

    • Open the parent directory's index.md
    • Add a new * [Skill Name](path/SKILL.md) - description entry under ## Skills
    • If no index.md exists and the directory has 2+ children, create one per OKF v0.2
Phase 2: Editing an Existing Skill
  1. Never delete SKILL.md or domain.md without a replacement.

  2. Sync SKILL.md and domain.md: If you change one, update the other.

  3. Preserve frontmatter: name must stay in sync with directory name.

  4. If file is lowercase skill.md, rename to SKILL.md:

    bash
    git mv <path>/skill.md <path>/SKILL.md
  5. B-class skills: Keep <!-- TODO: Taiwan adaptation needed --> markers until adaptation is complete.

  6. When adding or removing a skill, update the parent directory's index.md accordingly.

Phase 3: Renaming / Restructuring
  1. Use git mv, not OS-level rename:

    bash
    git mv <old-path> <new-path>
  2. Scan the entire repo for stale references:

    bash
    # Search for old directory name in all markdown files
    grep -r "<old-name>" raw/ --include="*.md"

    Every reference must be updated.

  3. Update all index.md entries that point to the old path.

  4. Update frontmatter name if the skill directory name changed.

Phase 4: Other Changes (Typo, Reference, Translation)
  1. Make the change directly on your branch.
  2. If touching a skill AND its domain, keep both in sync.
  3. No special structure requirements.
Phase 5: Self-Validation (RUN BEFORE SUBMITTING)

Run ALL checks below. If any fails, fix it before proceeding.

Structure Checks
  • SKILL.md is uppercase (❌ skill.md is wrong)
  • Three-layer structure correct: category/chinese-entry/english-skill-name/SKILL.md category/chinese-entry/domain.md
  • domain.md frontmatter has type: Knowledge Entry + title ONLY (no skill fields)
  • No .history/, .vscode/, node_modules/, __pycache__/ files in the diff
  • Skill directory name is lowercase English hyphenated (❌ pinyin like pai-yan-chuang)
  • Skill directory name matches name in SKILL.md frontmatter
Show full SKILL.md (317 more words)Show less
Frontmatter Checks
  • type: Skill is present (OKF §11.2 — required on every SKILL.md)
  • name is 1-64 chars, lowercase + hyphens only
  • description is 1-1024 chars, includes trigger scenario
  • metadata.class is present: A / B / C
  • sources declared with id / resource (required for new skills)
  • Top-level status, if used, is draft/stable/deprecated — never verified/unverified
  • No undefined frontmatter fields (❌ user-invocable, language, category without AGENTS.md approval)
  • python scripts/validate_okf.py reports 0 errors
Content Checks
  • No Simplified Chinese characters anywhere in new/modified files

    Common simplified characters to catch: 质(→質) 体(→體) 设(→設) 门(→門) 气(→氣) 车(→車) 机(→機) 发(→發/發展) 层(→層) 组(→組) 备(→備) 标(→標) 规(→規) 场(→場) 试(→試) 复(→複/復) 认(→認) 适(→適) 整(→整) 审(→審) 图(→圖) 电(→電) 专(→專) 阀(→閥) 预(→預) 签(→簽) 标(→標) 记(→記) 证(→證) 准(→準) 验(→驗)

  • In REFERENCES.md or body text: no broken relative paths

  • C-class skills have MCP tool call examples

Index & Cross-Reference Checks
  • Parent directory's index.md lists this skill (or is created if needed)
  • If the skill belongs to an existing question cluster, it's added to consultation-workflow/SKILL.md Section 1 Step 3
  • ## Related Skills section exists (if overlapping skills exist in raw/)
Phase 6: Submit
  1. Stage and commit:

    bash
    git add -A
    git commit -m "type(scope): brief description"

    Use Conventional Commits:

    • feat = new skill
    • fix = bug/correction
    • docs = documentation
    • refactor = restructure
  2. Push:

    bash
    git push origin feat/your-feature-description
  3. Create PR via GitHub CLI:

    bash
    gh pr create --title "<title>" --body "<description>"
  4. Tell the contributor: "Your PR is submitted! A maintainer will review it. If changes are requested, the review comments will tell you exactly what to fix."

Troubleshooting

"I don't have gh (GitHub CLI)" → Push your branch, then open the PR manually at https://github.com/h30190/HJPLUS_Taiwan_Architect_KB/pulls

"I can't push (permission denied)" → You need to fork the repo first, then push to your fork and create a PR from there.

"I don't know what class my skill is" → A = International standard (no Taiwan adaptation). B = International → Taiwan (add TODO). C = Taiwan-specific code/regulation.

© 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

SKILL.md and 1 other file in contributor-pr-workflow of h30190/HJPLUS_Taiwan_Architect_KB.

  • SKILL.md
  • domain.md

Open the folder on GitHubat commit c24d243

Compare with similar skills

Contributor PR Workflow 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.

Contributor PR Workflow compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Contributor PR Workflow this skillh30190/HJPLUS_Taiwan_Architect_KB157—~1.9kAutomated safety check: PassCC-BY-SA-4.0
Submitbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~1kAutomated safety check: NotesCustom licence
Submitbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~591Automated safety check: NotesCustom licence
Contributor Screendifferent-ai/openwork24k—~939Automated safety check: WarnCustom licence
Codewhale Contributor Onboardingcodewhale-hq/Codewhale41k—~1.3kAutomated safety check: PassMIT
Triage Contributor PRsprisma/orm48k—~3.6kAutomated safety check: PassApache-2.0

Similar skills

  • Submit

    brycewang-stanford/Auto-Empirical-Research-Skills

    Final submission verification gate for the sewage-house-prices paper.

    4.5k GitHub stars~1k tokensUpdated 3 days ago
    Business, Finance & HRAuto-check: notes
  • Submit

    brycewang-stanford/Auto-Empirical-Research-Skills

    Submission pipeline — journal targeting, replication package, audit, and final gate.

    4.5k GitHub stars~591 tokensUpdated 3 days ago
    Research & ScienceAuto-check: notes
  • Contributor Screen

    different-ai/openwork

    Screen a pull request from an outside contributor for hidden, obfuscated, or supply-chain-risky changes before any of its code runs.

    24k GitHub stars~939 tokensUpdated today
    DevelopmentAuto-check: warnings
  • Codewhale Contributor Onboarding

    codewhale-hq/Codewhale

    Reports whether a fresh Codewhale checkout is current, builds and passes its tests, and what changed since the contributor was last here, without touching the working tree.

    41k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    Triages open pull requests from external contributors to prisma/orm, producing a per-PR verdict with evidence, without closing, commenting on or approving anything.

    48k GitHub stars~3.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    Set up, repair, or check a NemoClaw contributor checkout. An agent skill from NVIDIA/NemoClaw.

    23k GitHub stars~1.4k tokensUpdated today
    Auto-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…

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

    h30190/HJPLUS_Taiwan_Architect_KB

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

    157 GitHub stars~791 tokensUpdated 2 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…

    157 GitHub stars~1.9k tokensUpdated 2 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.

    157 GitHub stars~1.4k tokensUpdated 2 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…

    157 GitHub stars~3.6k tokensUpdated 2 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…

    157 GitHub stars~1.9k tokensUpdated 2 days ago
    Auto-check passed

Questions about Contributor PR Workflow

What does Contributor PR Workflow do?

This skill should be used when a contributor wants to submit a new skill, edit an existing skill, or make any change to the Taiwan Architect KB repository. Contributor PR Workflow is an agent skill from h30190/HJPLUS_Taiwan_Architect_KB. This skill should be used when a contributor wants to submit a new skill, edit an existing skill, or make any change to the Taiwan Architect KB repository.

How do I install Contributor PR Workflow in Claude Code?

Run `npx skills add h30190/HJPLUS_Taiwan_Architect_KB --skill contributor-pr-workflow -a claude-code`. Or copy the skill folder (contributor-pr-workflow in h30190/HJPLUS_Taiwan_Architect_KB) into .claude/skills/contributor-pr-workflow in your project. Claude Code loads it when a task matches its description.

How do I install Contributor PR Workflow in Codex?

Run `npx skills add h30190/HJPLUS_Taiwan_Architect_KB --skill contributor-pr-workflow -a codex`. Or copy the skill folder (contributor-pr-workflow in h30190/HJPLUS_Taiwan_Architect_KB) into .agents/skills/contributor-pr-workflow in your project. Codex loads it when a task matches its description.

Can I use Contributor PR Workflow 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 contributor-pr-workflow -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/contributor-pr-workflow, .gemini/skills/contributor-pr-workflow, .github/skills/contributor-pr-workflow and .opencode/skills/contributor-pr-workflow in your project.

What does Contributor PR Workflow need to run?

Going by SKILL.md and its folder, Contributor PR Workflow needs the command-line tools its instructions call (git, gh and python). Our summary lists: Python 3. Compatibility (from SKILL.md): claude-code,opencode,agent-skills.

Does Contributor PR Workflow access the network?

SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Contributor PR Workflow 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 Contributor PR Workflow use?

Contributor PR Workflow 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 Contributor PR Workflow use?

About 1.9k tokens (SKILL.md is roughly 7.4k 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 Contributor PR Workflow?

Skills that share tags, products or a category with Contributor PR Workflow: Submit (brycewang-stanford/Auto-Empirical-Research-Skills, 4.5k stars), Submit (brycewang-stanford/Auto-Empirical-Research-Skills, 4.5k stars), Contributor Screen (different-ai/openwork, 24k stars) and Codewhale Contributor Onboarding (codewhale-hq/Codewhale, 41k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Contributor PR Workflow?

h30190 (a GitHub user) maintains it in h30190/HJPLUS_Taiwan_Architect_KB, which has 157 GitHub stars. The repository holds 86 skills in this directory. The repository was last updated on October 6, 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.