feat(projects): add interactive AI app scaffold skill

This commit is contained in:
2026-09-04 20:36:28 +08:00
parent 336e0bb0ca
commit 959b6333b5
40 changed files with 2647 additions and 65 deletions

View File

@@ -1,13 +1,23 @@
export const PRODUCT_OVERVIEW_FILENAME = 'PRODUCT_OVERVIEW.md';
export const LEGACY_PROMOTION_PLAN_FILENAME = 'PROMOTION_PLAN.md';
export const PROJECT_TYPES = ['mini_game', 'mini_program', 'custom'] as const;
export const PROJECT_TYPES = ['interactive_ai_app', 'custom'] as const;
export type ProjectType = (typeof PROJECT_TYPES)[number];
const LEGACY_INTERACTIVE_PROJECT_TYPES = new Set(['mini_game', 'mini_program']);
export function isProjectType(value: unknown): value is ProjectType {
return typeof value === 'string' && PROJECT_TYPES.includes(value as ProjectType);
}
export function normalizeProjectType(value: unknown): ProjectType | undefined {
if (isProjectType(value)) return value;
if (typeof value === 'string' && LEGACY_INTERACTIVE_PROJECT_TYPES.has(value)) {
return 'interactive_ai_app';
}
return undefined;
}
export type ProjectAgentResponsibility = {
mission: string;
owns: string[];