📦 deps(skills): sync thirdparty skills
This commit is contained in:
+1
-1
@@ -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
@@ -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)")
|
||||
|
||||
Reference in New Issue
Block a user