AIssistLab

Iteration 02: Skill Lifecycle

Goal

Turn the current skill editor into a safer skill lifecycle manager with templates, import preview, stronger quality checks, and safer deletion.

Success Criteria

In Scope

Out Of Scope

Public Interfaces

Additive API shape:

interface SkillTemplate {
  id: string;
  label: string;
  description: string;
  category: "reference" | "workflow" | "command" | "subagent" | "learning";
  initialFrontmatter: Record<string, unknown>;
  initialBody: string;
}

interface SkillImportPreview {
  ok: boolean;
  sourceType: "folder" | "archive" | "github";
  skills: Array<{
    name: string;
    displayName: string;
    hasSkillFile: boolean;
    fileCount: number;
    validationErrors: unknown[];
    qualityWarnings: unknown[];
    duplicate: boolean;
  }>;
  warnings: string[];
}

Candidate endpoints:

All endpoints remain localhost-only.

Likely Modules

Checklist

Tests

Browser Smoke

Privacy Acceptance

Checkpoint Recommendation

Checkpoint as feat(skills): add lifecycle templates and import preview only after tests, build, and browser smoke pass.

Implementation Evidence