Back to list
nozomi-koborinai

change-type

by nozomi-koborinai

🪴 A repository for building personal homepages and technical garden on GCP

7🍴 0📅 Jan 24, 2026

SKILL.md


name: change-type description: Classify a change set as behavior vs structure, then recommend the correct PR label (change:behavior or change:structure) and the appropriate local/CI checks. Use when the user asks whether a change is a behavior change or a structure change, what label to apply, or how CI/testing should differ based on change type.

change-type

Classify the current work as either a Behavior Change or a Structure Change, then recommend:

  • PR label (change:behavior or change:structure)
  • local verification commands
  • what CI is expected to run

Trigger Examples

  • "Is this a Behavior Change or a Structure Change?"
  • "Which label should I apply: change:behavior or change:structure?"
  • "Can we skip build/audit for this refactor?"
  • "How should CI differ for behavior vs structure changes?"

Execution Flow

1. Inspect the change set

  • Identify changed files/paths
  • Identify intent (behavior vs refactor)
  • If any uncertainty remains, default to Behavior Change

2. Classify

Behavior Change if the change is externally observable (site output, infra behavior, CI behavior).

Structure Change if the change is intended to preserve external behavior while improving maintainability.

3. Apply repo-specific heuristics

Treat as Behavior Change if the diff touches any of:

  • app/src/content/docs/** (published content)
  • app/src/** (components/layouts/pages)
  • app/public/** or app/src/assets/** (published assets)
  • app/astro.config.mjs, app/nginx/**, app/Dockerfile
  • infra/src/** (Pulumi stacks)
  • .github/workflows/** (CI behavior)

Treat as Structure Change candidates if the diff touches only:

  • README.md, AGENTS.md, CLAUDE.md
  • .github/release.yml
  • other non-deployed repository documentation files

4. Recommend label + checks

Return:

  1. Change type: behavior or structure
  2. PR label: change:behavior or change:structure
  3. Local checks
  4. CI expectations

App

  • Behavior:
    • cd app && npm run lint && npm run build
  • Structure:
    • cd app && npm run lint

Infra

  • Always (local static checks):
    • cd infra && npm run build && npm run lint && npm run typecheck
  • Never run pulumi preview/pulumi up locally (CI only).

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon