设置应用
- 作者仓库星标 12
- 作者仓库 temple8
- 领域
- 通用
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @nullhack · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 即装即用
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- 未检出明确要求
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
# Setup Apply
Available knowledge: [[software-craft/versioning]]. `in` artifacts: read all before starting work.
1. Rename the package directory: `mv app {package_name}`
2. Apply every substitution from `template-config.yaml` substitutions section in order:
- **pyproject.toml**: 7 substitutions (including version reset to `0.1.0`)
- **README.md**: many nullhack→github_username, temple8→project_name, 1 eol→author_name (only in author credit line (do not replace other occurrences))
- **.github/workflows/ci.yml**: 2 import app→package_name, 1 href api fix
- **LICENSE**: 1 copyright substitution
- **tests/unit/main_test.py**: 1 import substitution
- **template-config.yaml**: 6 defaults section updates (always last)
3. Write `CHANGELOG.md` from template `.templates/CHANGELOG.md.template`, replacing `{project_name}` with the project name and `{YYYYMMDD}` with today's date.
4. Verify version in `pyproject.toml` is `0.1.0` (should already be set by substitution; if not, reset manually per [[software-craft/versioning]]).
5. Verify no stale references remain: `grep -rn "from app" tests/` must return empty.
6. Verify package directory was renamed: old `app/` must not exist, new `{package_name}/` must exist.
7. Set evidence:
- `no-stale-app-imports`: verified if grep returns empty
- `package-renamed`: verified if old `app/` is gone and new directory exists
- `version-reset`: verified if pyproject.toml version is `0.1.0`
章节与文件索引
按说明文件中的顺序排列。
文件/命令 -> mv app {package_name} · template-config.yaml · 0.1.0 · CHANGELOG.md · .templates/CHANGELOG.md.template · {project_name} · {YYYYMMDD} · pyproject.toml
内容校验值 -> bb5253303314
当前原文的自动摘译,尚未人工审校。
可用知识:[[软件工艺/版本控制]]。
in工件:在开始工作之前阅读所有内容。重命名包目录:
mv app {package_name}2.应用从template-config.yaml替换部分按顺序: - pyproject.toml:7 个替换(包括版本重置为0.1.0) - README.md: 许多 nullhack→github_username, Temple8→project_name, 1 eol→author_name (仅在作者信用行中(不要替换其他出现的地方)) - .github/workflows/ci.yml: 2 import app→package_name, 1 href api fix - LICENSE: 1 版权替换 -tests/unit/main_test.py: 1 导入替换 - template-config.yaml: 6 个默认部分更新(总是最后) 3. 写CHANGELOG.md从模板.templates/CHANGELOG.md.template, 替换{project_name}以及项目名称和{YYYYMMDD}与今天的日期。 4. 验证版本pyproject.toml是0.1.0(应该已经通过替换设置;如果没有,请根据[[软件工艺/版本控制]]手动重置)。 5. 验证否