Skip to content

feat: Add lingma support#2348

Open
WhiteGive-Boy wants to merge 4 commits intogithub:mainfrom
WhiteGive-Boy:add-lingma-support
Open

feat: Add lingma support#2348
WhiteGive-Boy wants to merge 4 commits intogithub:mainfrom
WhiteGive-Boy:add-lingma-support

Conversation

@WhiteGive-Boy
Copy link
Copy Markdown

Summary

Add built-in integration support for Lingma (通义灵码 by Alibaba) IDE.

Changes

New Integration: Lingma IDE

  • Integration class: LingmaIntegration (src/specify_cli/integrations/lingma/__init__.py)
    • Extends SkillsIntegration with .lingma/skills/speckit-<name>/SKILL.md layout
    • IDE-based (requires_cli: False), no CLI tool check required
    • Context file: .lingma/rules/specify-rules.md
  • Registry: Added import and _register() call in src/specify_cli/integrations/__init__.py
  • Catalog: Added lingma entry in integrations/catalog.json
  • Tests: Added tests/integrations/test_integration_lingma.py (26 tests, all passing)

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new built-in Lingma (通义灵码) integration to Spec Kit so specify init / specify integration install can scaffold Lingma’s skills-based file layout and context rules.

Changes:

  • Introduces LingmaIntegration as a SkillsIntegration using .lingma/skills/speckit-<name>/SKILL.md plus .lingma/rules/specify-rules.md.
  • Registers the new integration in the built-in integration registry and catalog.
  • Adds a skills integration test suite entry for lingma.
Show a summary per file
File Description
src/specify_cli/integrations/lingma/__init__.py Implements the new Lingma integration (skills layout + context file + options).
src/specify_cli/integrations/__init__.py Registers LingmaIntegration in the built-in integration registry.
integrations/catalog.json Adds lingma to the built-in integration catalog metadata.
docs/reference/integrations.md Documents Lingma in the supported integrations table.
tests/integrations/test_integration_lingma.py Adds inherited skills integration tests for the new integration key/layout.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 5/5 changed files
  • Comments generated: 1

Comment on lines +34 to +39
IntegrationOption(
"--skills",
is_flag=True,
default=True,
help="Install as agent skills (default for lingma since v0.5.1)",
),
Copy link

Copilot AI Apr 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IntegrationOption.default values aren’t currently applied by _parse_integration_options() (it only returns explicitly provided tokens). Setting default=True here and describing it as the default can be misleading to callers that look at parsed options. Consider either (a) removing the default= / “default …” wording, or (b) updating _parse_integration_options() to populate defaults for all declared options when not provided.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Collaborator

@mnriem mnriem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address Copilot feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants