Skip to content

qiusuo0226/chrono-pm-skill / governance-shared/baselines/3.19.0/ChronoPM-Project

chrono-pm-project

Verified

Markdown 驱动的单项目 AI 项目管理技能。覆盖需求、待办、进度、风险问题、里程碑、成本、日报周报、会议纪要、决策、复盘、初始化向导、计划、完整性巡检、历史计划导入、词库、PM 偏好。录入只发生在本项目 ai 目录。跨项目归集/检索请使用伴生技能 ChronoPM-Portfolio(只读)。触发:项目管理、日报、周报、风险登记册、需求追踪、里程碑、ChronoPM、记录/整理记录/补全/回填/更新/归档/入库/评审/验收、会议纪要、合同登记、初始化项目、倒排、待办、完整性巡检、词库、偏好、画图、责任链图。支持主动变更+人工确认:写入即标记待确认并登记 pm-decisions,确认后生效。需求只绑工作包,计划只绑工作包。

FileKindSize
CHANGELOG.mdmarkdown128.5 KB
SKILL.mdskill md14.1 KB
SKILL_BLUEPRINT.mdmarkdown52.9 KB
SKILL_MODULE_MAP.mdmarkdown6.4 KB
VERSIONother7 B
assets/templates/archive/resource-register-template.mdmarkdown3.9 KB
assets/templates/archive/transfer-log-template.mdmarkdown3.8 KB
assets/templates/change-log-archive-template.mdmarkdown1.2 KB
assets/templates/change-log-index-template.mdmarkdown1.2 KB
assets/templates/change-log-template.mdmarkdown1.8 KB
assets/templates/contract-register-template.mdmarkdown3.1 KB
assets/templates/daily-todo-binding-template.mdmarkdown6.2 KB
assets/templates/decision-log-template.mdmarkdown685 B
assets/templates/domain-glossary-template.mdmarkdown2.2 KB
assets/templates/import-log-template.mdmarkdown1.3 KB
assets/templates/index-formats.mdmarkdown4.9 KB
assets/templates/issue-register-template.mdmarkdown1.5 KB
assets/templates/legacy-sources-template.mdmarkdown1022 B
assets/templates/lessons-learned-template.mdmarkdown1.8 KB
assets/templates/meeting-template.mdmarkdown1.4 KB
assets/templates/ops-log-index-template.mdmarkdown534 B
assets/templates/ops-log-template.mdmarkdown1.5 KB
assets/templates/output-manifest-template.mdmarkdown1.0 KB
assets/templates/outputs-index-template.mdmarkdown1.3 KB
assets/templates/personal-daily-todo-template.mdmarkdown9.0 KB
assets/templates/plan-import-template.mdmarkdown1.7 KB
assets/templates/plan-template.mdmarkdown3.7 KB
assets/templates/pm-decisions-template.mdmarkdown5.3 KB
assets/templates/pm-profile-template.mdmarkdown8.0 KB
assets/templates/project-brief-template.mdmarkdown4.4 KB
assets/templates/project-context-template.mdmarkdown4.1 KB
assets/templates/project-lineage-template.mdmarkdown1.3 KB
assets/templates/project-notes-template.mdmarkdown1.1 KB
assets/templates/project-status-template.mdmarkdown2.3 KB
assets/templates/requirement-index-template.mdmarkdown813 B
assets/templates/requirement-register-template.mdmarkdown4.5 KB
assets/templates/risk-register-template.mdmarkdown1.8 KB
assets/templates/source-type-registry-template.mdmarkdown6.3 KB
assets/templates/weekly-report-template.mdmarkdown2.4 KB
assets/templates/workspace-health-template.mdmarkdown1.9 KB
assets/templates/wp-chart-template.mdmarkdown3.1 KB
assets/templates/wp-index-template.mdmarkdown1.8 KB
assets/templates/wp-template.mdmarkdown9.6 KB
governance/contracts/skill-contract.mdmarkdown7.8 KB
governance/migrations/README.mdmarkdown141 B
governance/migrations/upgrade-to-3.10.0.mdmarkdown10.2 KB
governance/migrations/upgrade-to-3.11.0.mdmarkdown6.1 KB
governance/migrations/upgrade-to-3.12.0.mdmarkdown7.2 KB
governance/migrations/upgrade-to-3.13.0.mdmarkdown6.6 KB
governance/migrations/upgrade-to-3.14.0.mdmarkdown10.0 KB
governance/migrations/upgrade-to-3.15.0.mdmarkdown7.2 KB
governance/migrations/upgrade-to-3.16.0.mdmarkdown6.0 KB
governance/migrations/upgrade-to-3.17.0.mdmarkdown5.7 KB
governance/migrations/upgrade-to-3.18.0.mdmarkdown5.3 KB
governance/migrations/upgrade-to-3.19.0.mdmarkdown5.5 KB
governance/migrations/upgrade-to-3.6.0.mdmarkdown2.3 KB
governance/migrations/upgrade-to-3.7.0.mdmarkdown3.1 KB
governance/migrations/upgrade-to-3.8.0.mdmarkdown19.4 KB
governance/migrations/upgrade-to-3.9.0.mdmarkdown11.1 KB
references/00-pm-main-rules.mdmarkdown79.2 KB
references/01-daily-report-rules.mdmarkdown33.9 KB
references/02-meeting-rules.mdmarkdown7.5 KB
references/04-risk-issue-rules.mdmarkdown15.0 KB
references/05-query-rules.mdmarkdown45.5 KB
references/06-file-rules.mdmarkdown29.4 KB
references/07-requirement-rules.mdmarkdown31.0 KB
references/08-change-control-rules.mdmarkdown10.2 KB
references/09-portfolio-rules.mdmarkdown391 B
references/10-update-trigger-rules.mdmarkdown22.5 KB
references/11-output-artifact-rules.mdmarkdown17.5 KB
references/12-excel-generation-rules.mdmarkdown15.4 KB
references/13-continuity-rules.mdmarkdown12.2 KB
references/14-self-check-rules.mdmarkdown27.0 KB
references/15-snapshot-rules.mdmarkdown3.9 KB
references/16-skill-governance-rules.mdmarkdown15.3 KB
references/17-domain-glossary-rules.mdmarkdown18.7 KB
references/18-init-wizard-rules.mdmarkdown13.8 KB
references/19-info-completeness-rules.mdmarkdown17.3 KB
references/20-workspace-version-rules.mdmarkdown15.3 KB
references/21-pm-profile-rules.mdmarkdown24.5 KB
references/22-carried-over-rules.mdmarkdown19.7 KB
references/23-procedure-index.mdmarkdown5.5 KB
reply-norm-skill/CAPABILITY.mdmarkdown858 B
reply-norm-skill/references/capability-boundary.mdmarkdown880 B
reply-norm-skill/references/reply-rules.mdmarkdown2.8 KB
scripts/_version.pyscript2.2 KB
scripts/carryover_step0.pyscript12.1 KB
scripts/chronopm_init/__init__.pyscript247 B
scripts/chronopm_init/config.pyscript9.5 KB
scripts/chronopm_init/file_registry.pyscript20.4 KB
scripts/chronopm_init/template_renderer.pyscript2.7 KB
scripts/chronopm_init/validators.pyscript1.2 KB
scripts/chronopm_init/workspace_builder.pyscript5.1 KB
scripts/init_workspace.pyscript2.0 KB
scripts/migrate_workspace.pyscript96.6 KB
scripts/sync_version.pyscript4.6 KB
scripts/verify_contract_ri.pyscript1.9 KB
scripts/verify_projection.pyscript11.1 KB
scripts/verify_requirement_wp.pyscript3.3 KB
scripts/verify_todo_continuity.pyscript3.4 KB
skill-gap-skill/CAPABILITY.mdmarkdown974 B
skill-gap-skill/assets/templates/skill-gap-demand-template.mdmarkdown2.7 KB
skill-gap-skill/references/capability-boundary.mdmarkdown1.1 KB
skill-gap-skill/references/gap-capture-rules.mdmarkdown6.7 KB
skill.jsonconfig39.0 KB
source-split-skill/CAPABILITY.mdmarkdown884 B
source-split-skill/assets/templates/source-atoms-index-template.mdmarkdown412 B
source-split-skill/assets/templates/source-doc-meta-template.mdmarkdown2.6 KB
source-split-skill/assets/templates/source-index-template.mdmarkdown739 B
source-split-skill/assets/templates/source-parse-log-template.mdmarkdown582 B
source-split-skill/references/capability-boundary.mdmarkdown1.3 KB
source-split-skill/references/split-rules.mdmarkdown3.5 KB
tests/regression-suite.mdmarkdown96.3 KB

scripts/sync_version.py

View on GitHub
#!/usr/bin/env python3
"""
版本同步脚本:读取 _version.py 的唯一版本源,同步到所有派生触点。
用法(在 ChronoPM-Project/ 包根或仓库根均可):
    python ChronoPM-Project/scripts/sync_version.py
前提:先手动修改 scripts/_version.py 中的 SKILL_VERSION,再运行本脚本。

CR-G:包内触点在 ChronoPM-Project/;README×2 在仓库根;Portfolio 版本锁步。
"""
import json
import os
import re
from datetime import date

PKG_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
REPO_ROOT = os.path.dirname(PKG_ROOT)
if os.path.isfile(os.path.join(PKG_ROOT, "README.md")):
    # 旧布局兜底(仓库根即包根)
    REPO_ROOT = PKG_ROOT
PORTFOLIO_ROOT = os.path.join(REPO_ROOT, "ChronoPM-Portfolio")

# 1. 从唯一源头读取版本
version_mod_path = os.path.join(PKG_ROOT, "scripts", "_version.py")
with open(version_mod_path, "r", encoding="utf-8") as f:
    content = f.read()
m = re.search(r"SKILL_VERSION\s*=\s*['\"]([\d.]+)['\"]", content)
if not m:
    raise RuntimeError(f"Cannot find SKILL_VERSION in {version_mod_path}")
version = m.group(1)
today = date.today().isoformat()
synced = []


def sync_version_file(path):
    with open(path, "w", encoding="utf-8") as f:
        f.write(version + "\n")


def sync_skill_md(path):
    with open(path, "r", encoding="utf-8") as f:
        text = f.read()
    updated = re.sub(r"^(version:\s*)[\d.]+", rf"\g<1>{version}", text, count=1, flags=re.MULTILINE)
    updated = re.sub(r"^(updated_at:\s*)[\d-]+", rf"\g<1>{today}", updated, count=1, flags=re.MULTILINE)
    updated = re.sub(r"(Skill 包版本号(当前 )[\d.]+", rf"\g<1>{version}", updated, count=1)
    with open(path, "w", encoding="utf-8") as f:
        f.write(updated)


def sync_skill_json(path):
    if not os.path.exists(path):
        return
    with open(path, "r", encoding="utf-8") as f:
        skill_json = json.load(f)
    skill_json["version"] = version
    if "versionHistory" not in skill_json:
        skill_json["versionHistory"] = []
    entry = {"version": version, "date": today}
    if any(item.get("version") == version for item in skill_json["versionHistory"]):
        for item in skill_json["versionHistory"]:
            if item.get("version") == version:
                item.update(entry)
    else:
        skill_json["versionHistory"].insert(0, entry)
    if isinstance(skill_json.get("blueprint"), dict):
        skill_json["blueprint"]["lastVersion"] = version
        skill_json["blueprint"]["lastUpdated"] = today
    with open(path, "w", encoding="utf-8") as f:
        json.dump(skill_json, f, ensure_ascii=False, indent=2)
        f.write("\n")


# Project 包内
sync_version_file(os.path.join(PKG_ROOT, "VERSION"))
synced.append("ChronoPM-Project/VERSION")
sync_skill_md(os.path.join(PKG_ROOT, "SKILL.md"))
synced.append("ChronoPM-Project/SKILL.md")
sync_skill_json(os.path.join(PKG_ROOT, "skill.json"))
synced.append("ChronoPM-Project/skill.json")

blueprint_path = os.path.join(PKG_ROOT, "SKILL_BLUEPRINT.md")
if os.path.exists(blueprint_path):
    with open(blueprint_path, "r", encoding="utf-8") as f:
        blueprint = f.read()
    updated = re.sub(r"(\|\s*当前版本\s*\|\s*)[\d.]+", rf"\g<1>{version}", blueprint, count=1)
    if updated != blueprint:
        with open(blueprint_path, "w", encoding="utf-8") as f:
            f.write(updated)
        synced.append("SKILL_BLUEPRINT.md §1")

# 仓根 README
for name, pat_title, pat_table in (
    ("README.md", r"^(# ChronoPM v)[\d.]+", r"(\|\s*Skill 版本\s*\|\s*)[\d.]+"),
    ("README.en.md", r"^(# ChronoPM v)[\d.]+", r"(\|\s*Skill version\s*\|\s*)[\d.]+"),
):
    path = os.path.join(REPO_ROOT, name)
    if not os.path.exists(path):
        continue
    with open(path, "r", encoding="utf-8") as f:
        text = f.read()
    updated = re.sub(pat_title, rf"\g<1>{version}", text, count=1, flags=re.MULTILINE)
    updated = re.sub(pat_table, rf"\g<1>{version}", updated, count=1)
    with open(path, "w", encoding="utf-8") as f:
        f.write(updated)
    synced.append(name)

# Portfolio 锁步
if os.path.isdir(PORTFOLIO_ROOT):
    pv = os.path.join(PORTFOLIO_ROOT, "VERSION")
    if os.path.exists(pv):
        sync_version_file(pv)
        synced.append("ChronoPM-Portfolio/VERSION")
    ps = os.path.join(PORTFOLIO_ROOT, "SKILL.md")
    if os.path.exists(ps):
        sync_skill_md(ps)
        synced.append("ChronoPM-Portfolio/SKILL.md")
    pj = os.path.join(PORTFOLIO_ROOT, "skill.json")
    if os.path.exists(pj):
        sync_skill_json(pj)
        synced.append("ChronoPM-Portfolio/skill.json")

print(f"Synced version {version} to: {', '.join(synced)}")
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall