360 Secure SkillHub
360 安全技能中心

Publish-To-Public

axiom-rebrand 是纯 Python 标准库实现的 CLI 流水线,对项目目录做确定性的去术语处理:按可配置的术语列表剥离内部代号、把硬编码 sys.path.insert 改为基于文件位置的路径、重新生成含 SHA-256 的 MANIFEST.txt,并可运行测试与自定义校验;PyYAML 为可选依赖,缺少时回退 JSON 配置。

kofna3369
kofna3369
热度 25.61
最近更新 2026-06-15 10:48:57
分类:开发依赖:代码执行 / 读写文件应用场景:自动化脚本 / 工作流 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add publish-to-public
Metadata
name
axiom-rebrand
description
Generic rebrand pipeline. Deterministic, idempotent, byte-to-byte. Strip jargon, fix paths, regenerate manifests, validate. Use when preparing internal code for public release, marketplace publication, or open-sourcing.

axiom-rebrand

Generic rebrand pipeline. Deterministic, idempotent, byte-to-byte.

Pricing

  • Free tier: 100 rebrand/months
  • Then: $0.005 per use

When to use

  • Open-sourcing an internal tool with private codenames
  • Marketplace publication (Capafy, GitHub Marketplace)
  • Multi-tenant projects — strip org-specific references
  • CI/CD gates on jargon leaks

When NOT to use

  • Code logic needs to change (use a real refactor tool)
  • One-off case with few files (just sed by hand)
  • Need 100% custom rules (this has a configurable jargon list)

Dependencies

  • Pure Python stdlib
  • 1 optional dep: PyYAML (for YAML config; falls back to JSON without it)