📦 deps(skills): sync thirdparty skills

This commit is contained in:
ci[bot]
2026-06-21 16:02:42 +00:00
parent e46a4a192c
commit 1d4a92f874
4 changed files with 77 additions and 75 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ class BM25:
def tokenize(self, text):
"""Lowercase, split, remove punctuation, filter short words"""
text = re.sub(r'[^\w\s]', ' ', str(text).lower())
return [w for w in text.split() if len(w) > 2]
return [w for w in text.split() if len(w) >= 2]
def fit(self, documents):
"""Build BM25 index from documents"""
+1 -1
View File
@@ -85,7 +85,7 @@ if __name__ == "__main__":
# Print persistence confirmation
if args.persist:
project_slug = args.project_name.lower().replace(' ', '-') if args.project_name else "default"
project_slug = (args.project_name or args.query).lower().replace(' ', '-')
print("\n" + "=" * 60)
print(f"✅ Design system persisted to design-system/{project_slug}/")
print(f" 📄 design-system/{project_slug}/MASTER.md (Global Source of Truth)")