SuperAPI AI Directory

project-new

Office & productivity

View repository

Updated 10-16 09:56

About this skill

Load context

Read ../references/项目空间结构.md to understand the directory conventions and project.md template.


/finance:project-new — New project

Create the ~/.config/finance-skills/projects/{code}/ directory and project.md file.

Command format

/finance:project-new [--type <类型>] [--code <代码>]

Optional parameters skip the interaction and create directly.

Project type

Type Purpose Default code format
annual-audit Annual audit (internal control/finance) {YYYY}-audit-ic
budget-review Quarterly/annual budget review {Q}{YYYY}-budget
tax-filing Tax filing cycle tax-filing-{YYYY}
m-and-a M&A due diligence/valuation/integration m-and-a-{deal-code}
financing Financing project (syndicated loan/bond/equity) financing-{YYYY-MM}
internal-control Internal control design/remediation ic-{scope}-{YYYY}
other Other (custom) {name}-{YYYY-Q}

Interaction flow

Step 1: Select project type

选择项目类型:
1. annual-audit   - 年度审计(内控/财务)
2. budget-review  - 季度/年度预算审查
3. tax-filing     - 税务申报周期
4. m-and-a        - M&A 尽调/估值/整合
5. financing      - 融资项目
6. internal-control - 内控设计/整改
7. other          - 其他(自定义)

Step 2: Enter project code

请输入项目代码(或回车使用默认):
默认: {自动按类型生成}

代码必须:
- 全小写字母/数字/-
- 不含空格和特殊字符
- 1-32 字符
- 同一类型内唯一

示例:2026-audit-ic / Q3-2026-budget / m-and-a-deal-alpha

Conflict check: If the code already exists, report an error and require re-entry.

Step 3: Fill in basic project information

According to the project.md template in references/project-space-structure.md , ask in sequence:

Q1: 项目名称(用于显示)?
    > 2026 年度内部控制审计

Q2: 项目负责人?
    > CFO 张三

Q3: 项目周期?
    起始日期 (YYYY-MM-DD): 2026-01-01
    结束日期 (YYYY-MM-DD): 2026-12-31

Q4: 初始阶段?
    1. planning   - 规划
    2. active     - 启动
    3. fieldwork  - 现场执行
    默认: planning

Q5: 项目范围描述(可空)?
    > 总部 + 华东区域(工厂/仓库)

Q6: 排除范围(可空)?
    > 海外子公司(独立审计)

Step 4: Select activation scenarios

选择该项目涉及的财务场景(可多选):

☑ annual-audit      - 年度审计
☐ budget-review     - 预算审查
☐ tax-filing        - 税务申报
☐ internal-audit    - 内部审计
☐ internal-control  - 内部控制
☐ m-and-a           - 并购
☐ fx-risk           - 外汇
☐ treasury-management - 资金
☐ board-reporting   - 董事会汇报
☐ ... 其他场景

默认根据项目类型自动勾选(如 annual-audit 自动勾选 internal-audit + internal-control)

The scenario selection will be written to the 关联场景 field of project.md, affecting which skills are automatically activated subsequently.

Step 5: Set key thresholds

Display required thresholds by project type:

Required for annual-audit type:

重大缺陷门槛:[默认 500 万元]
重要缺陷门槛:[默认 100 万元]
SOX 控制总数:[可空]

Required for budget-review type:

预算偏差预警阈值:[默认 ±5%]
超支审批层级:[默认 财务总监]

Required for m-and-a type:

交易规模:[必填,万元]
目标公司:[必填]

Other types: This step can be skipped.

Step 6: Create directory + files

项目根目录: ~/.config/finance-skills/projects/{code}/

创建以下结构:
{code}/
├── project.md                  ← 写入用户填写的信息
├── scope.md                    ← 空模板(用户后续填)
├── timeline.md                 ← 空模板
├── findings/                   ← 空目录
├── control-testing/            ← 空目录(仅 annual-audit/internal-audit)
├── documents/                  ← 空目录
└── audit-trail.log             ← 空文件,记录所有 skill 操作

Step 7: Output creation result

════════════════════════════════════════
✅ 项目创建成功!

代码: {code}
类型: {type}
名称: {name}
负责人: {owner}
周期: {start} ~ {end}
当前阶段: {status}
关联场景: {N} 个

项目目录: ~/.config/finance-skills/projects/{code}/
════════════════════════════════════════

下一步:
  输入 /finance:project-switch {code} 切换到该项目
  输入 /finance:project-status {code} 查看详情
  输入 /finance:project-list 看所有项目
════════════════════════════════════════

Implementation mechanism

project.md template (written to the project root directory)

Refer to the complete template in references/project-space-structure.md .

Minimum required structure:

---
code: {code}
type: {type}
created: {YYYY-MM-DD}
status: {status}
owner: {owner}
---

# Project: {name}

## 基本信息
- **项目类型**: {type}
- **项目代码**: {code}
- **负责人**: {owner}
- **项目周期**: {start} ~ {end}
- **当前阶段**: {status}

## 关联场景
{勾选场景列表}

## 关键阈值
{按类型填充}

## 关联产出物
(暂无)

## 历史上下文
(首次创建,无)

## Agent 备注
(Agent 在项目执行过程中记录的临时状态)

Examples

→ Example: If the user says "start the 2026 annual internal control audit", the system should select the annual-audit type, with the code defaulting to 2026-audit-ic, ask for the person in charge/cycle/scope, and generate project.md.

→ Example: If the user says "we have an M&A project codenamed alpha, start due diligence", the system should select the m-and-a type, with the code m-and-a-deal-alpha, and ask for the transaction size and target company.

→ Example: If the user says "create directly via the command line: /finance:project-new --type budget-review --code Q3-2026-budget --name 'Q3 2026 Budget Review' --owner 'Finance Manager Wang Wu'", skip the interaction and create directly.


Notes

  • Overwrite protection: If the code already exists,refuse to overwrite, and require the user to use --force or change the code
  • Credential isolation: Project directoriesdo not store API credentials (uniformly in ~/.config/finance-skills/credentials/)
  • Cross-platform paths: Use ~/.config/ Cross-platform paths, do not hardcode /Users/xxx
  • Delete project: No delete entry is provided (to prevent accidental deletion of historical projects). If "deletion" is needed, it is recommended to use project-archive archive