-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy path__init__.py
More file actions
45 lines (38 loc) · 1.33 KB
/
__init__.py
File metadata and controls
45 lines (38 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright 2025 Cisco Systems, Inc. and its affiliates
#
# SPDX-License-Identifier: Apache-2.0
"""
Formats Package
This package contains all IDE format implementations for rule conversion.
Available Formats:
- CursorFormat: Generates .mdc files for Cursor IDE
- WindsurfFormat: Generates .md files for Windsurf IDE
- CopilotFormat: Generates .instructions.md files for GitHub Copilot
- AgentSkillsFormat: Generates .md files for Agent Skills (OpenAI Codex, Claude Code, other AI coding tools)
- AntigravityFormat: Generates .md files for Google Antigravity
Usage:
from formats import BaseFormat, ProcessedRule, CursorFormat, WindsurfFormat, CopilotFormat, AgentSkillsFormat, AntigravityFormat
version = "1.0.0"
formats = [
CursorFormat(version),
WindsurfFormat(version),
CopilotFormat(version),
AgentSkillsFormat(version),
AntigravityFormat(version),
]
"""
from formats.base import BaseFormat, ProcessedRule
from formats.cursor import CursorFormat
from formats.windsurf import WindsurfFormat
from formats.copilot import CopilotFormat
from formats.agentskills import AgentSkillsFormat
from formats.antigravity import AntigravityFormat
__all__ = [
"BaseFormat",
"ProcessedRule",
"CursorFormat",
"WindsurfFormat",
"CopilotFormat",
"AgentSkillsFormat",
"AntigravityFormat",
]