Skip to content

Auto add empty skill array when running ai-devkit install #64

@codeaholicguy

Description

@codeaholicguy

Version: 0.23.0
Precondition:

  • There is content in .ai-devkit.json, ex:
{
  "version": "0.23.0",
  "environments": [
    "cursor",
    "claude",
    "codex"
  ],
  "phases": [
    "requirements",
    "design",
    "planning",
    "implementation",
    "testing"
  ],
  "createdAt": "2026-04-17T17:17:15.973Z",
  "updatedAt": "2026-04-17T17:17:34.208Z",
  "mcpServers": {
    "memory": {
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ai-devkit/memory"
      ]
    },
    "notion": {
      "transport": "http",
      "url": "https://mcp.notion.com/mcp"
    }
  },
}

Reproduce:

  • Run ai-devkit install
  • It adds an empty array in the .ai-devkit.json content
{
  "version": "0.23.0",
  "environments": [
    "cursor",
    "claude",
    "codex"
  ],
  "phases": [
    "requirements",
    "design",
    "planning",
    "implementation",
    "testing"
  ],
  "createdAt": "2026-04-17T17:17:15.973Z",
  "updatedAt": "2026-04-17T17:17:34.208Z",
  "mcpServers": {
    "memory": {
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ai-devkit/memory"
      ]
    },
    "notion": {
      "transport": "http",
      "url": "https://mcp.notion.com/mcp"
    }
  },
  "skills": []
}

Expect: Should not add skills empty array.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions