qfeius/make-platform-skills

make-app-permission

Use when generating, refactoring, reviewing, or debugging Make App single-app permission enforcement: /principal/permission, App-scoped IAM matching, permission-aware Schema, entity/field/operation guards, or permission refresh.

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/qfeius/make-platform-skills --skill make-app-permission

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

make-app-permission

Use this skill when a request creates, changes, reviews, or debugs Make App single-app permission enforcement. It must be enabled by default for every generated or refactored Make App. Do not omit the IAM proxy, route guards, permission-aware Schema, or permission audits merely because the request focuses on UI, Service, Schema, or runtime work.

This skill owns permission semantics. Use make-app-auth for login/session, make-app-service for Service and Schema transport, makeui for rendering, canvas-table-integration for cell-editor mechanics, and make-app-runtime for packaging/runtime.

Quick start

  1. Inspect apps/docs/api.md, Service/UI schema adapters and types, principal-permission code, providers, router, object pages, create/edit forms, submit builders, refresh flow, and tests.
  2. Read references/permission-boundaries.md before selecting scope, permissionKey, schema collection, or field access state.
  3. Read references/service-principal-permission.md before changing /principal/permission or interpreting IAM fieldAccess.
  4. Read references/ui-permission-runtime.md before changing route/action gates, create/read/update field sets, payload filtering, or refresh.
  5. Read references/system-field-contract.md before implementing ID/audit create or edit capability.
  6. Read references/testing-and-audit.md before implementation and before reporting completion.
  7. Implement tests first, then the Service/schema boundary, permission pure model, route/action gates, field-set consumers, submit allowlists, and refresh invalidation.
  8. Run host tests, the behavioral conformance suite, and node skills/make-app-permission/scripts/audit-make-app-permission.mjs <project-root>. Wire both permission checks into the host's default test, CI, or publish gate; a one-off local run is not a continuous gate.
  9. When publishing or installing this Skill, run check-installed-skill-sync.mjs with explicit source and installed directories. When the release changes shared Make response/auth/permission guidance, publish the platform package, run npx skills update qfeius/make-platform-skills, then run the repository-wide check-installed-make-platform-skills-sync.mjs with explicit source and installed Skill roots. Keep these local release checks out of portable host CI.

Required contract

  • Expose /api/make/app/principal/permission; have Service call /api/make/iam/v1/principal/permission with App scope, MakeService.GetResource, and the established login context. This is a direct Make proxy: return every completed IAM response unchanged, including 2xx/4xx/5xx status, Content-Type, and body. Do not request tenant-root scope or upstream platform permission filters. Before strict normalization, classify rows with references/permission-boundaries.md: ignore only clearly unrelated rows, and fail closed for every selected or unclassifiable row.
  • Match exact, wildcard, parent, App, entity, IAM namespace-wildcard App resources, and deny correctly. Use the most-specific allow field range; deny wins.
  • Keep create, visibility, and editability as separate field-set decisions:
  • create form: createFields ∩ meta.field.read fieldAccess(creatable|readonly|editable|partialMask|fullMask|*);
  • list/detail/filter: fields ∩ meta.field.read fieldAccess(readable states);
  • edit/cell edit: visible fields ∩ meta.field.update fieldAccess(editable|*).
  • Keep entity navigation, table headers, and record data independent: meta.entity.read controls whether a Schema-present entity appears in navigation and can enter its object route; both the navigation and the dynamic route must reject the entity when this permission is absent. meta.field.read controls the authorized columns/table headers; data.record.read controls record/detail requests and rows only. When record read is denied or revoked but entity and fields are authorized, keep the navigation item and table shell with authorized headers, skip every record request, and render an explicit empty row set so cached values cannot remain visible.
  • Preserve every access state returned for a field. Current IAM responses may use arrays such as ["creatable", "readonly"] or scalar strings; normalize a supported scalar string to a one-element array and authorize a permission dimension when any state is allowed for that dimension. Never coerce an array with String(value) or template interpolation.
  • Treat missing createFields as empty. Never fall back to fields, and do not consume editableFields for current edit behavior.
  • Gate the create entry and submit with data.record.create only; derive create fields from the matched meta.field.read row and createFields. meta.field.create is not a platform permission point and must not be required, inferred, or emitted. The operation gate never grants field access or bypasses the create-field intersection. Gate update/delete/bulk-update independently with their own operation keys.
  • Recompute the latest create/edit allowlist before submit and build payloads from it. Never spread the complete form store into a protected mutation.
  • Exclude ID and system audit fields from create capability. Keep existing audit-field edit capability when the field is visible, update-authorized, and supported by the host editor.
  • Keep create-only invisible fields available only in create mode. A creatable access state is not readable or editable.
  • Add App/object/fixed-route guards; hiding menus or buttons is not authorization. Recheck handlers before reads and mutations.
  • Refresh permission and permission-trimmed Schema in one access generation before data refresh. Invalidate stale permission, Schema, form, and record work; do not close a still-authorized create surface merely because read is revoked.
  • Fail closed on permission or Schema failure. Leave row-level dataCondition enforcement to backend APIs.
  • Permission and Schema request failures must retain the safe structured kind/status/title/description/traceId from the shared request adapter through Provider state to the error outlet. Use make-app-observability for request-error classification and card presentation; do not reduce these failures to a plain string or expose raw upstream errors. A denied permission result is still a forbidden state, not a fabricated request failure.
  • Add Service/schema, permission-model, route/page, payload, special-field, refresh, and negative audit tests.

Reference map

TaskRead
Platform vs App scope, create/read/update field surfaces, Schema collections, matchingreferences/permission-boundaries.md
Service endpoint, IAM request/response, meta.field.read.fieldAccessreferences/service-principal-permission.md
Providers, helpers, routes, create/edit flow, payload, refresh, Lookupreferences/ui-permission-runtime.md
Exact ID/audit create exclusions and edit compatibilityreferences/system-field-contract.md
Required tests, audit signals, completion blockersreferences/testing-and-audit.md
Auth/sessionUse make-app-auth
Schema/API transport and cacheUse make-app-service
Form/empty-state presentationUse makeui
Table/cell-editor mechanicsUse canvas-table-integration
Selection, row precheck, batch actionsUse make-app-actions
Runtime gateway and packagingUse make-app-runtime

Audit

bash
node skills/make-app-permission/scripts/audit-make-app-permission.mjs <project-root>

Treat failures as blockers and warnings as review items. The audit is heuristic and never replaces runtime tests. It rejects obvious fieldAccess state-array coercion through String(...), text helpers, template interpolation, .toString(), or .join() when the coerced value affects normalization output or permission evaluation, including direct control-flow conditions. Diagnostic-only logging, comments, and string literals inside a named normalization helper must not fail the audit, regardless of whether the parameter uses a generic or fieldAccess-specific name. The executable behavior contract remains authoritative.

Also expose a thin host adapter and run the executable behavior contract:

bash
node skills/make-app-permission/scripts/permission-conformance-suite.mjs <host-adapter-module>

If the adapter is TypeScript, run the same command through the host's existing TypeScript runner. Do not add a runtime dependency only for this check. The adapter must delegate to the production permission helpers and create-capability guard; it must not reimplement them in the test. Keep the audit and conformance runner project-local or install them through a versioned dependency before making them a host gate. Do not hardcode another workspace checkout or a developer home-directory Skill path into portable CI.

For local Skill install/release verification, compare the complete source and installed directories:

bash
node skills/make-app-permission/scripts/check-installed-skill-sync.mjs \
  skills/make-app-permission <installed-skill-dir>

The checker reports source-only, installed-only, and content-mismatch files. Pass an explicit install directory; do not embed a developer home path in the Skill or in host CI.

For a release that changes the shared Service/auth/permission contract, update the installed platform package first, then verify all affected Make App Skills:

bash
npx skills update qfeius/make-platform-skills
node scripts/check-installed-make-platform-skills-sync.mjs \
  skills <installed-skills-dir>

Run this only after the source revision has been published through the platform Skill release flow. It is a local release verification, not portable host CI.

관련 작업

같은 저장소의 Skills

더 많은 Skills

모든 Skills
qfeius
커뮤니티

canvas-table-integration

Use when integrating @qfei-design/canvas-table into an app or page. Covers consumer-side local, virtual, large-data fast-scroll, and grouped tables; public props/methods/events; row-head and header menus; selection, Shift 200 条上限, row colors, drag, fixed columns, summaries, empty states, async row sync, canvas interactions, cell editing, and Make schema field display. Make record lists use make-app-actions for the default selectable record-action workflow. Use make-app-sort for record sorting an

설치 수
1
GitHub Stars
0
업데이트
10월 9일
qfeius
커뮤니티

make-ai-assistant

Use when integrating, upgrading, debugging, or reviewing @qfei-design/make-ai-assistant in a Make App: Agent discovery, multi-session chat, streaming, file/image input, Service gateway routes, and package-owned UI. Does not own generic dialogs, model behavior, authentication or permission policy, DSL, or publishing.

설치 수
1
GitHub Stars
0
업데이트
10월 9일
qfeius
커뮤니티

make-app-actions

Use when generating, integrating, refactoring, reviewing, or debugging Make record-list actions: CanvasTable actions are the default desktop/tablet selection and batch workflow, while 手机/phone 卡片/card and mobile detail pages reuse single edit/delete actions. Triggered by 复选框, 行操作, 选择操作栏, 编辑, 删除, 批量编辑, 暂无可用的操作, selectAll, Shift selection, selectionIntent, 手机卡片操作, 手机详情操作栏, 行级写权限预检, noPermissionRecordIds, record-write-permission, records/bulk, @qfei-design/make-app-actions, or action tests. Covers

설치 수
1
GitHub Stars
0
업데이트
10월 9일
qfeius
커뮤니티

make-app-auth

Use when generating, modifying, reviewing, or debugging Make App unified login and authenticated /api/make requests with @qfeius/make-app-auth. Covers unified login, OAuth/ngrok mode, 401/403 handling, logout, current-user/account-drawer auth wiring, current-context identity, Feishu-container logout visibility, cookies, sessions, redirect callbacks, and Make App auth troubleshooting. Preserve authenticated context for the default /api/make/app/principal/permission flow. Does not cover UI layout,

설치 수
1
GitHub Stars
0
업데이트
10월 9일