본문으로 건너뛰기
cccskills
무료GitHub에 공개

mas-schema-naming

Define canonical naming for future backend schema domains. Use when creating new specialized schema models or extending Pydantic contracts in app/models/schema.py, standardizing shared Info/Data/Notify/Run semantics, and avoiding new naming drift without forcing retroactive changes on legacy modules.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

AUTO-MAS-Project/AUTO-MAS스타 757(GitHub 757 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(2)

  • SKILL.md4.1 KB
  • agents/openai.yaml249 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

MAS Schema Naming

Objective

Standardize naming for future specialized backend schema implementations.

This skill constrains new domain work by default. It does not require retroactive renaming of existing legacy modules unless explicitly requested.

Global Constraints

Apply these constraints while using this skill.

  1. Make minimal necessary changes first; avoid broad refactors unless explicitly requested.
  2. Align with current code style and existing project conventions in the touched module.
  3. Avoid over-engineering, over-abstraction, and defensive programming that does not match existing code patterns.
  4. Study similar existing implementations deeply before coding and follow established local patterns.

Apply Workflow

  1. Determine whether the field is shared semantic or domain-specific semantic.
  2. For shared semantic, use the canonical name from this skill.
  3. For domain-specific semantic, keep naming local to the domain block.
  4. Keep public config-model field style consistent: PascalCase.
  5. When touching legacy modules, prefer compatibility-first edits and avoid broad rename-only refactors.

Canonical Structure For New Domains

Use this top-level structure for new script/user schema models.

class XxxConfig(BaseModel):
    Info: XxxConfig_Info | None
    Run: XxxConfig_Run | None
    Emulator: XxxConfig_Emulator | None  # only if emulator semantics exist


class XxxUserConfig(BaseModel):
    Info: XxxUserConfig_Info | None
    Data: XxxUserConfig_Data | None
    Notify: XxxUserConfig_Notify | None
    # optional domain blocks, e.g. Task/Stage/Game

Shared Naming Matrix

Use these names when semantics are the same.

SemanticCanonical nameBlock
Script display nameNameInfo
Script runtime pathPathInfo
Emulator idIdEmulator
Emulator indexIndexEmulator
Transition strategyTaskTransitionMethodRun
Daily proxy limitProxyTimesLimitRun
Retry limitRunTimesLimitRun
Runtime timeoutRunTimeLimitRun
User display nameNameUser.Info
User idIdUser.Info
User enabled statusStatusUser.Info
Remaining day budgetRemainedDayUser.Info
User noteNotesUser.Info
User tag payloadTagUser.Info
Last proxy dateLastProxyDateUser.Data
Proxy run countProxyTimesUser.Data
Manual-check resultIfPassCheckUser.Data
Notify enabledEnabledUser.Notify
Send statisticIfSendStatisticUser.Notify
Send mailIfSendMailUser.Notify
Mail receiverToAddressUser.Notify
ServerChan enabledIfServerChanUser.Notify
ServerChan keyServerChanKeyUser.Notify

Boundary For Domain-Specific Names

  1. Keep domain-specific semantics inside dedicated domain blocks.
  2. Do not force shared naming when semantics differ.
  3. Do not add synonym fields for the same semantic in one block.

Drift To Avoid In New Work

  1. Same semantic, different names (Path vs RootPath).
  2. Same semantic, different block placement (Data vs Info).
  3. Same semantic, mixed boolean style in the same block.

Compatibility Rule

When canonicalizing an existing public field:

  1. Keep read compatibility for legacy payloads during migration.
  2. Prefer writing canonical names in new responses.
  3. Remove legacy names only after consumer migration is complete.

PR Checklist

  1. New specialized schema models follow this canonical matrix for shared semantics.
  2. Domain-specific fields stay in domain-specific blocks.
  3. No new synonym names are introduced for existing shared semantics.
  4. Legacy modules are not renamed in bulk unless explicitly in scope.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

从固定点(commit、branch、tag 或 merge-base)开始,沿两条轴线审查变更——规范(代码是否遵循仓库文档化的编码规范?)和规格(代码是否与原始 issue/PRD 的要求一致?)。两条审查线在并行子 agent 中运行,并以并排方式报告结果。当用户想审查一个分支、PR、进行中的变更,或要求"从 X 开始审查"时使用。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

AUTO-MAS-Project/AUTO-MAS7572026년 10월 26일 업데이트

grill-me

무료

一场无休止的盘问,用来打磨你的计划或设计。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

AUTO-MAS-Project/AUTO-MAS7572026년 10월 26일 업데이트

grilling

무료

对用户的计划、决策或想法进行层层盘问。当用户想要压力测试自己的思考,或使用任何 'grill' 触发短语时使用。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

AUTO-MAS-Project/AUTO-MAS7572026년 10월 26일 업데이트

Define backend API contract standards for FastAPI services. Use when adding or refactoring HTTP/WebSocket endpoints in app/api, designing request/response schemas in app/models/schema.py, standardizing status/error contracts, and maintaining backward compatibility for clients.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

AUTO-MAS-Project/AUTO-MAS7572026년 10월 26일 업데이트

Use when an AUTO-MAS PR is red in CI, when reproducing a dev-PR gate locally before pushing, when a workflow needs a skip-changelog or changelog-maintenance label, or when editing .github/workflows, .github/actions, scripts/changelog.py or scripts/check_reverts.py. Covers every gate that runs on a PR to dev and the exact local command for each.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

AUTO-MAS-Project/AUTO-MAS7572026년 10월 26일 업데이트

Use when implementing, fixing, refactoring, or reviewing non-generated AUTO-MAS code, or when preparing code-style guidance, comments, docstrings, version notes, or Conventional Commit wording. Skip read-only diagnosis, explanation, exploration, and planning unless code conventions are requested.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

AUTO-MAS-Project/AUTO-MAS7572026년 10월 26일 업데이트

AUTO-MAS-Project의 스킬 모두 보기

이 스킬의 문제 신고