mirror of
https://github.com/github/spec-kit.git
synced 2026-07-07 22:56:57 +08:00
* add lingma support * fix * fix context file * Update CONTEXT_FILE path in test integration * fix IntegrationOption.default * fix IntegrationOption.defaultfix * fix: address Copilot review feedback - Add blank line after __future__ import (PEP 8) - Remove trailing whitespace at end of lingma/__init__.py - Bump integrations/catalog.json updated_at timestamp - Add Lingma to supported agent list in README.md * fix: address Copilot review feedback (round 4) - Reword module docstring: Lingma is a brand-new skills-only integration with no prior command-mode history, so 'deprecated since v0.5.1' wording (copied from Trae) was misleading - Remove Lingma from README CLI-tool check list: Lingma is IDE-based (requires_cli=False) and is explicitly skipped by specify init / specify check tool detection
42 lines
1.0 KiB
Python
42 lines
1.0 KiB
Python
"""Lingma IDE integration. — skills-based agent.
|
|
|
|
Lingma IDE uses ``.lingma/skills/speckit-<name>/SKILL.md`` layout.
|
|
In Specify CLI, the Lingma integration is skills-only, and ``--skills``
|
|
defaults to ``True``.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from ..base import IntegrationOption, SkillsIntegration
|
|
|
|
|
|
class LingmaIntegration(SkillsIntegration):
|
|
"""Integration for Lingma IDE."""
|
|
|
|
key = "lingma"
|
|
config = {
|
|
"name": "Lingma",
|
|
"folder": ".lingma/",
|
|
"commands_subdir": "skills",
|
|
"install_url": None,
|
|
"requires_cli": False,
|
|
}
|
|
registrar_config = {
|
|
"dir": ".lingma/skills",
|
|
"format": "markdown",
|
|
"args": "$ARGUMENTS",
|
|
"extension": "/SKILL.md",
|
|
}
|
|
context_file = ".lingma/rules/specify-rules.md"
|
|
|
|
@classmethod
|
|
def options(cls) -> list[IntegrationOption]:
|
|
return [
|
|
IntegrationOption(
|
|
"--skills",
|
|
is_flag=True,
|
|
default=True,
|
|
help="Install as agent skills",
|
|
),
|
|
]
|