code-abyss 1.6.6 → 1.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/SKILL.md +36 -0
- package/skills/domains/COVERAGE_PLAN.md +232 -0
- package/skills/{ai → domains/ai}/SKILL.md +3 -0
- package/skills/domains/ai/model-evaluation.md +790 -0
- package/skills/domains/ai/prompt-engineering.md +703 -0
- package/skills/domains/ai/rag-system.md +542 -0
- package/skills/domains/data-engineering/SKILL.md +43 -0
- package/skills/domains/data-engineering/data-pipeline.md +762 -0
- package/skills/domains/data-engineering/data-quality.md +894 -0
- package/skills/domains/data-engineering/stream-processing.md +791 -0
- package/skills/{development → domains/development}/SKILL.md +4 -0
- package/skills/domains/development/dart.md +963 -0
- package/skills/domains/development/kotlin.md +834 -0
- package/skills/domains/development/php.md +659 -0
- package/skills/domains/development/swift.md +755 -0
- package/skills/{devops → domains/devops}/SKILL.md +3 -0
- package/skills/domains/devops/e2e-testing.md +914 -0
- package/skills/domains/devops/performance-testing.md +734 -0
- package/skills/domains/devops/testing-strategy.md +667 -0
- package/skills/domains/frontend-design/SKILL.md +28 -0
- package/skills/domains/frontend-design/build-tools.md +743 -0
- package/skills/domains/frontend-design/component-patterns.md +202 -0
- package/skills/domains/frontend-design/performance.md +734 -0
- package/skills/domains/frontend-design/state-management.md +680 -0
- package/skills/domains/frontend-design/testing.md +699 -0
- package/skills/domains/frontend-design/ui-aesthetics.md +110 -0
- package/skills/domains/frontend-design/ux-principles.md +156 -0
- package/skills/domains/infrastructure/SKILL.md +58 -0
- package/skills/domains/infrastructure/gitops.md +735 -0
- package/skills/domains/infrastructure/iac.md +855 -0
- package/skills/domains/infrastructure/kubernetes.md +1018 -0
- package/skills/domains/mobile/SKILL.md +32 -0
- package/skills/domains/mobile/android-dev.md +979 -0
- package/skills/domains/mobile/cross-platform.md +795 -0
- package/skills/domains/mobile/ios-dev.md +931 -0
- package/skills/domains/orchestration/SKILL.md +21 -0
- package/skills/domains/orchestration/multi-agent.md +227 -0
- package/skills/{security → domains/security}/SKILL.md +3 -0
- package/skills/domains/security/secrets-management.md +834 -0
- package/skills/domains/security/supply-chain.md +931 -0
- package/skills/domains/security/threat-modeling.md +828 -0
- package/skills/run_skill.py +7 -7
- package/skills/tests/test_change_analyzer.py +1 -1
- package/skills/tests/test_doc_generator.py +1 -1
- package/skills/tests/test_module_scanner.py +1 -1
- package/skills/tests/test_quality_checker.py +1 -1
- package/skills/tests/test_security_scanner.py +1 -1
- /package/skills/{ai → domains/ai}/agent-dev.md +0 -0
- /package/skills/{ai → domains/ai}/llm-security.md +0 -0
- /package/skills/{architecture → domains/architecture}/SKILL.md +0 -0
- /package/skills/{architecture → domains/architecture}/api-design.md +0 -0
- /package/skills/{architecture → domains/architecture}/caching.md +0 -0
- /package/skills/{architecture → domains/architecture}/cloud-native.md +0 -0
- /package/skills/{architecture → domains/architecture}/compliance.md +0 -0
- /package/skills/{architecture → domains/architecture}/data-security.md +0 -0
- /package/skills/{architecture → domains/architecture}/message-queue.md +0 -0
- /package/skills/{architecture → domains/architecture}/security-arch.md +0 -0
- /package/skills/{development → domains/development}/cpp.md +0 -0
- /package/skills/{development → domains/development}/go.md +0 -0
- /package/skills/{development → domains/development}/java.md +0 -0
- /package/skills/{development → domains/development}/python.md +0 -0
- /package/skills/{development → domains/development}/rust.md +0 -0
- /package/skills/{development → domains/development}/shell.md +0 -0
- /package/skills/{development → domains/development}/typescript.md +0 -0
- /package/skills/{devops → domains/devops}/cost-optimization.md +0 -0
- /package/skills/{devops → domains/devops}/database.md +0 -0
- /package/skills/{devops → domains/devops}/devsecops.md +0 -0
- /package/skills/{devops → domains/devops}/git-workflow.md +0 -0
- /package/skills/{devops → domains/devops}/observability.md +0 -0
- /package/skills/{devops → domains/devops}/performance.md +0 -0
- /package/skills/{devops → domains/devops}/testing.md +0 -0
- /package/skills/{security → domains/security}/blue-team.md +0 -0
- /package/skills/{security → domains/security}/code-audit.md +0 -0
- /package/skills/{security → domains/security}/pentest.md +0 -0
- /package/skills/{security → domains/security}/red-team.md +0 -0
- /package/skills/{security → domains/security}/threat-intel.md +0 -0
- /package/skills/{security → domains/security}/vuln-research.md +0 -0
- /package/skills/{multi-agent → orchestration/multi-agent}/SKILL.md +0 -0
- /package/skills/{gen-docs → tools/gen-docs}/SKILL.md +0 -0
- /package/skills/{gen-docs → tools/gen-docs}/scripts/doc_generator.py +0 -0
- /package/skills/{verify-change → tools/verify-change}/SKILL.md +0 -0
- /package/skills/{verify-change → tools/verify-change}/scripts/change_analyzer.py +0 -0
- /package/skills/{verify-module → tools/verify-module}/SKILL.md +0 -0
- /package/skills/{verify-module → tools/verify-module}/scripts/module_scanner.py +0 -0
- /package/skills/{verify-quality → tools/verify-quality}/SKILL.md +0 -0
- /package/skills/{verify-quality → tools/verify-quality}/scripts/quality_checker.py +0 -0
- /package/skills/{verify-security → tools/verify-security}/SKILL.md +0 -0
- /package/skills/{verify-security → tools/verify-security}/scripts/security_scanner.py +0 -0
package/skills/run_skill.py
CHANGED
|
@@ -33,11 +33,11 @@ def get_script_path(skill_name: str) -> Path:
|
|
|
33
33
|
skills_dir = get_skills_dir()
|
|
34
34
|
|
|
35
35
|
script_map = {
|
|
36
|
-
"verify-module": "module_scanner.py",
|
|
37
|
-
"verify-security": "security_scanner.py",
|
|
38
|
-
"verify-change": "change_analyzer.py",
|
|
39
|
-
"verify-quality": "quality_checker.py",
|
|
40
|
-
"gen-docs": "doc_generator.py",
|
|
36
|
+
"verify-module": ("tools", "module_scanner.py"),
|
|
37
|
+
"verify-security": ("tools", "security_scanner.py"),
|
|
38
|
+
"verify-change": ("tools", "change_analyzer.py"),
|
|
39
|
+
"verify-quality": ("tools", "quality_checker.py"),
|
|
40
|
+
"gen-docs": ("tools", "doc_generator.py"),
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
if skill_name not in script_map:
|
|
@@ -46,8 +46,8 @@ def get_script_path(skill_name: str) -> Path:
|
|
|
46
46
|
print(f"可用的 skills: {available}")
|
|
47
47
|
sys.exit(1)
|
|
48
48
|
|
|
49
|
-
script_name = script_map[skill_name]
|
|
50
|
-
script_path = skills_dir / skill_name / "scripts" / script_name
|
|
49
|
+
category, script_name = script_map[skill_name]
|
|
50
|
+
script_path = skills_dir / category / skill_name / "scripts" / script_name
|
|
51
51
|
|
|
52
52
|
if not script_path.exists():
|
|
53
53
|
print(f"错误: 脚本不存在 {script_path}")
|
|
@@ -11,7 +11,7 @@ from pathlib import Path
|
|
|
11
11
|
from unittest.mock import patch, MagicMock
|
|
12
12
|
|
|
13
13
|
# 添加 skills 目录到 Python 路径
|
|
14
|
-
sys.path.insert(0, str(Path(__file__).parent.parent / "verify-change" / "scripts"))
|
|
14
|
+
sys.path.insert(0, str(Path(__file__).parent.parent / "tools" / "verify-change" / "scripts"))
|
|
15
15
|
|
|
16
16
|
from change_analyzer import (
|
|
17
17
|
ChangeType, Severity, FileChange, Issue, AnalysisResult,
|
|
@@ -10,7 +10,7 @@ import sys
|
|
|
10
10
|
from pathlib import Path
|
|
11
11
|
|
|
12
12
|
# 添加 skills 目录到 Python 路径
|
|
13
|
-
sys.path.insert(0, str(Path(__file__).parent.parent / "gen-docs" / "scripts"))
|
|
13
|
+
sys.path.insert(0, str(Path(__file__).parent.parent / "tools" / "gen-docs" / "scripts"))
|
|
14
14
|
|
|
15
15
|
from doc_generator import (
|
|
16
16
|
ModuleInfo, detect_language, analyze_python_module, analyze_module,
|
|
@@ -10,7 +10,7 @@ import sys
|
|
|
10
10
|
from pathlib import Path
|
|
11
11
|
|
|
12
12
|
# 添加 skills 目录到 Python 路径
|
|
13
|
-
sys.path.insert(0, str(Path(__file__).parent.parent / "verify-module" / "scripts"))
|
|
13
|
+
sys.path.insert(0, str(Path(__file__).parent.parent / "tools" / "verify-module" / "scripts"))
|
|
14
14
|
|
|
15
15
|
from module_scanner import (
|
|
16
16
|
Severity, Issue, ScanResult, scan_module, scan_structure,
|
|
@@ -10,7 +10,7 @@ import sys
|
|
|
10
10
|
from pathlib import Path
|
|
11
11
|
|
|
12
12
|
# 添加 skills 目录到 Python 路径
|
|
13
|
-
sys.path.insert(0, str(Path(__file__).parent.parent / "verify-quality" / "scripts"))
|
|
13
|
+
sys.path.insert(0, str(Path(__file__).parent.parent / "tools" / "verify-quality" / "scripts"))
|
|
14
14
|
|
|
15
15
|
from quality_checker import (
|
|
16
16
|
Severity, Issue, FileMetrics, QualityResult, PythonAnalyzer,
|
|
@@ -11,7 +11,7 @@ from pathlib import Path
|
|
|
11
11
|
from unittest.mock import patch, MagicMock
|
|
12
12
|
|
|
13
13
|
# 添加 skills 目录到 Python 路径
|
|
14
|
-
sys.path.insert(0, str(Path(__file__).parent.parent / "verify-security" / "scripts"))
|
|
14
|
+
sys.path.insert(0, str(Path(__file__).parent.parent / "tools" / "verify-security" / "scripts"))
|
|
15
15
|
|
|
16
16
|
from security_scanner import (
|
|
17
17
|
Severity, Finding, ScanResult, scan_file, scan_directory,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|