Agent Skills › krl-gr/upcomputer › vendored-assets

vendored-assets

GitHub

管理第三方或外部生成的静态资源(JS/CSS/Schema等)的导入与更新。通过追踪来源、固定版本、验证许可证、确定性再生及审计变更,确保供应链安全与可追溯性。

.repos/effect-smol/.agents/skills/vendored-assets/SKILL.md krl-gr/upcomputer

触发场景

导入或更新第三方JavaScript、CSS 更新Swagger、MIME等注册表或模式文件

安装

npx skills add krl-gr/upcomputer --skill vendored-assets -g -y
更多选项

非标准路径

npx skills add https://github.com/krl-gr/upcomputer/tree/main/.repos/effect-smol/.agents/skills/vendored-assets -g -y

不安装直接使用

npx skills use krl-gr/upcomputer@vendored-assets

指定 Agent (Claude Code)

npx skills add krl-gr/upcomputer --skill vendored-assets -a claude-code -g -y

安装 repo 全部 skill

npx skills add krl-gr/upcomputer --all -g -y

预览 repo 内 skill

npx skills add krl-gr/upcomputer --list

SKILL.md

Frontmatter
{
    "name": "vendored-assets",
    "description": "Vendored assets. Use when importing or updating checked-in third-party or externally generated JavaScript, CSS, registries, schemas, snapshots, or Scalar, Swagger, and MIME artifacts."
}

Treat upstream artifacts as supply-chain inputs. Change their generator or documented import source, then regenerate; generated output is review evidence, not an editing surface.

Workflow

  1. Trace ownership. Identify the artifact, generator or exact import procedure, upstream source/version, license, consumers, tests, and shipped package or bundle. Search by asset and upstream project name to find current packaging scripts, generated artifacts, consumers, and history. Continue when every input and consumer is accounted for.
  2. Pin provenance. Resolve moving URLs, tags, branches, and omitted versions to an immutable release or artifact. Record project, version, path or URL, and digest in the generator or maintenance header. Omit a digest only when another enforced immutable source is recorded. Continue when a future run cannot silently select different bytes.
  3. Clear the license gate. Verify release metadata, license files, bundled notices, and the license trail retained in the distributed form. Continue when every distributed artifact has a verified retained license trail.
  4. Regenerate. Improve the generator or import reference first. Recover an exact procedure for generatorless assets; add a deterministic script only for recurring updates. Record a one-off procedure beside the artifact. A clean rerun must produce no diff.
  5. Audit the complete diff. Account for behavior, URLs and runtime fetches, source maps, notices, encoding, format changes, and additions or removals. For browser assets, also read browser-assets.md. Continue when every change is attributable and suspicious content is resolved or reported.
  6. Clear test and size gates. Record byte sizes before and after, use focused consumer tests, and compare bundle size or composition when shipped JavaScript, CSS, or registry output changes materially. Compare that output against the pre-update revision rather than measuring only current size. Continue when focused checks pass and every non-trivial size delta is explained.
  7. Close release impact. Apply root changeset routing for consumer-visible behavior, browser support, wire data, or meaningful shipped-size changes. Generated sections owned by barrels, AI docs, or migration tooling remain with the owners named in root instructions.

The task is complete when every input and consumer is accounted for, provenance and licenses are immutable and retained, regeneration is deterministic, every output change and non-trivial size delta is explained, focused checks pass or are reported as not runnable, and release impact is recorded.

版本历史

  • 87ba963 当前 2026-10-18 23:19

同 Skill 集合

.agents/skills/contribution-triage/SKILL.md
.agents/skills/test-t3-app/SKILL.md
.agents/skills/test-t3-mobile/SKILL.md
.repos/effect-smol/.agents/skills/ai-docs/SKILL.md
.repos/effect-smol/.agents/skills/bundle-analysis/SKILL.md
.repos/effect-smol/.agents/skills/changesets/SKILL.md
.repos/effect-smol/.agents/skills/ci-maintenance/SKILL.md
.repos/effect-smol/.agents/skills/dependency-maintenance/SKILL.md
.repos/effect-smol/.agents/skills/effect-development/SKILL.md
.repos/effect-smol/.agents/skills/jsdocs/SKILL.md
.repos/effect-smol/.agents/skills/migration-guidance/SKILL.md
.repos/effect-smol/.agents/skills/package-development/SKILL.md
.repos/effect-smol/.agents/skills/performance-analysis/SKILL.md
.repos/effect-smol/.agents/skills/test-development/SKILL.md

元信息

文件数
0
版本
87ba963
Hash
b45cfc17
收录时间
2026-10-18 23:19

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-20 00:09
浙ICP备14020137号-1