refactor: migrate skills from Jinja to Markdown

This commit is contained in:
0xallam
2026-01-19 22:47:04 -08:00
committed by Ahmed Allam
parent 4b62169f74
commit 6cb1c20978
31 changed files with 1462 additions and 1367 deletions

View File

@@ -9,7 +9,11 @@ strix_root = project_root / 'strix'
datas = []
for jinja_file in strix_root.rglob('*.jinja'):
for md_file in strix_root.rglob('skills/**/*.md'):
rel_path = md_file.relative_to(project_root)
datas.append((str(md_file), str(rel_path.parent)))
for jinja_file in strix_root.rglob('agents/**/*.jinja'):
rel_path = jinja_file.relative_to(project_root)
datas.append((str(jinja_file), str(rel_path.parent)))
@@ -86,6 +90,14 @@ hiddenimports = [
# XML parsing
'xmltodict',
'defusedxml',
'defusedxml.ElementTree',
# Syntax highlighting
'pygments',
'pygments.lexers',
'pygments.styles',
'pygments.util',
# Tiktoken (for token counting)
'tiktoken',
@@ -95,6 +107,9 @@ hiddenimports = [
# Tenacity retry
'tenacity',
# CVSS scoring
'cvss',
# Strix modules
'strix',
'strix.interface',
@@ -128,6 +143,7 @@ hiddenimports += collect_submodules('litellm')
hiddenimports += collect_submodules('textual')
hiddenimports += collect_submodules('rich')
hiddenimports += collect_submodules('pydantic')
hiddenimports += collect_submodules('pygments')
excludes = [
# Sandbox-only packages