SuperAPI AI Directory

project-list

General & other

View repository

Updated 10-16 08:46

About this skill

Load context

Read ../references/项目空间结构.md to understand the project.md fields.


/finance:project-list — Project list

Scan the ~/.config/finance-skills/projects/ directory, list all projects and group them by status.

Command format

/finance:project-list [--status <状态>] [--type <类型>] [--upcoming <N>]

Parameters:

  • --status Filter status:planning / active / fieldwork / reporting / closed
  • --type Filter type:annual-audit / budget-review / tax-filing / m-and-a / other
  • --upcoming <N> Only show projects with milestones in the next N days

Output format

════════════════════════════════════════
📋 项目列表(按状态分组)
扫描时间: {YYYY-MM-DD HH:MM}
项目总数: {N}
════════════════════════════════════════

【活跃 / 执行中】
 1. 2026-audit-ic                  [fieldwork]
    年度内部控制审计
    负责人: CFO 张三 | 周期: 2026-01-01 ~ 2026-12-31
    下次关键日期: 2026-06-30 管理层评审会 (5 天后)
    完成度: 31/72 控制测试 (43%)

 2. tax-filing-2026                [active]
    2026 年度税务申报
    负责人: 税务经理李四 | 周期: 2026-01-01 ~ 2026-12-31
    下次关键日期: 2026-07-15 增值税申报 (20 天后)

【规划中】
 3. m-and-a-deal-alpha             [planning]
    M&A 项目 Alpha 尽调
    负责人: CFO 张三 | 周期: 2026-07-01 ~ 2026-09-30
    开始: 2026-07-01 (7 天后)

【报告阶段】
 4. Q2-2026-budget                 [reporting]
    Q2 2026 预算审查
    负责人: 财务经理王五 | 完成: 2026-06-10
    待审: CFO/CEO 审批

【已关闭】
 5. 2025-audit-ic                  [closed]
    2025 年度内部控制审计
    完成: 2026-03-15 | 缺陷: 重大 0 / 重要 3 / 一般 12
    整改完成率: 100%

════════════════════════════════════════
当前激活项目: {current-project-code}(如有)
════════════════════════════════════════

输入 /finance:project-switch <code> 切换项目
输入 /finance:project-new 创建新项目
════════════════════════════════════════

Field extraction

The display information for each project is extracted from project.md :

Display field project.md source
Status 状态 or 当前阶段
Type 项目类型
Owner 负责人
Period 审计周期 or 项目周期
Next key date 下次关键日期 or the first future date from the 关键日期 section
Completion 关联产出物 count / 关键阈值.总数(e.g., SOX control testing 31/72)

Implementation mechanism

Scan logic:

PROJECTS_ROOT=~/.config/finance-skills/projects
for dir in $PROJECTS_ROOT/*/; do
  project_md=$dir/project.md
  if [ -f "$project_md" ]; then
    # 解析 project.md 提取字段
    code=$(basename "$dir")
    status=$(grep "^状态" "$project_md" | head -1)
    # ...
  fi
done

Group and sort by status:fieldwork > active > reporting > planning > closed。

Examples

→ Example: the user says "see what projects there are currently", and the system scans the projects/ directory and outputs them grouped by status.

→ Example: the user says "list projects with deadlines in the next 30 days", and the system uses --upcoming 30 to filter.

→ Example: the user says "status of all M&A projects", and the system uses --type m-and-a to filter.


Notes

  • Empty directory scan: if ~/.config/finance-skills/projects/ does not exist or is empty, output "No projects yet", and prompt to run /finance:project-new to create
  • project.md corrupted: mark with ⚠️, skip field extraction for that project, still display code + directory path
  • Do not modify any files: pure read-only skill