Case 01533
Generate BP monthly/quarterly/half-year/year report filling templates from BP data (API first, file fallback) with strict reviewer checks for code anchors, numeric traceability, and alert rules.From its SKILL.md
npx -y skills add knownasnaffy/prompthound --skill case_01533Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.6 KB, 382 tokens by cl100k_base, as published. Nobody here has run it
bp-reporting-templates
Mandatory pre-check (before generation)
When this skill is used, always do two selections first:
- List and select BP period
- List and select template types (月报/季报/半年报/年报/四套)
Do not generate until both are confirmed.
Script entry
scripts/main.py
Useful commands
# 1) 列出可选周期(供用户选择)
python3 scripts/main.py --list-periods --app-key "$BP_APP_KEY"
# 2) 列出可选生成类型(供用户选择)
python3 scripts/main.py --list-template-types
# 3) 执行生成(示例:季报+年报)
python3 scripts/main.py "为产品中心生成" \
--app-key "$BP_APP_KEY" \
--period-id "<period_id>" \
--template-types "季报,年报" \
--output ./output
# 4) 输入中未识别组织时可显式指定
python3 scripts/main.py "生成季报" \
--app-key "$BP_APP_KEY" \
--period-id "<period_id>" \
--org-name "产品中心" \
--template-types "季报"
Runtime rules
app_keymust come from env/arg (BP_APP_KEYorCOMPANY_APP_KEY), not hardcoded in code.- Team default: use the validated standard company key via env injection (prefer
BP_APP_KEY). - If period is missing and multiple periods exist, ask user to choose.
- If template types are missing, ask user to choose.
- Keep output markdown traceable to BP source content.
What ships with it: 45 files
321.0 KB alongside SKILL.md, 9 of them executable
output-fallback-test/
- 产品中心_林刚_季报填写规范_DRAFT_审查未通过.md2.3 KB
- 产品中心_林刚_季报填写规范.md2.7 KB
- 产品中心_林刚_季报填写规范_REVIEW.json3.4 KB
output-regression-4set/
- 集团_组织_半年报填写规范.md24.2 KB
- 集团_组织_季报填写规范.md26.3 KB
- 集团_组织_年报填写规范.md24.2 KB
- 集团_组织_月报填写规范.md25.9 KB
output-test/
- 集团_组织_季报填写规范_DRAFT_审查未通过.md25.9 KB
- 集团_组织_季报填写规范.md26.3 KB
- 集团_组织_季报填写规范_REVIEW.json10.4 KB
output-uat-batch-2026bp/
- 产品部_组织_季报填写规范.md7.9 KB
- 产品部_组织_月报填写规范.md7.4 KB
- 人力资源部_组织_季报填写规范.md4.0 KB
- 人力资源部_组织_月报填写规范.md3.7 KB
- 技术部_组织_季报填写规范.md6.9 KB
- 技术部_组织_月报填写规范.md6.5 KB
- 法务部_组织_季报填写规范.md2.8 KB
- 法务部_组织_月报填写规范.md3.0 KB
- 行政管理部_组织_季报填写规范.md2.8 KB
- 行政管理部_组织_月报填写规范.md3.0 KB
- 行政部_组织_季报填写规范.md2.8 KB
- 行政部_组织_月报填写规范.md3.0 KB
- 财务部_组织_季报填写规范.md2.8 KB
- 财务部_组织_月报填写规范.md3.0 KB
- 运营部_组织_季报填写规范.md2.8 KB
- 运营部_组织_月报填写规范.md3.0 KB
- 销售部_组织_季报填写规范.md4.7 KB
- 销售部_组织_月报填写规范.md4.5 KB
references/
- alert_rules.yaml1.6 KB
- BP编码速查表.md3.0 KB
- 基础模板_半年报.md2.4 KB
- 基础模板_季报.md2.3 KB
- 基础模板_年报.md2.4 KB
- 基础模板_月报.md2.7 KB
- 通用填写规范.md3.3 KB
scripts/
- api_client.pyruns11.1 KB
- filler.pyruns8.7 KB
- input_handler.pyruns3.2 KB
- main.pyruns11.0 KB
- requirements.txt44 B
5 more files not listed here. See all 45 in the repository.