Skip to content

Commit ded486e

Browse files
committed
Fix ClawHub installed package validation
1 parent b359eef commit ded486e

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: agentic-case-study-skill
33
description: >-
44
Create CompleteTech LLC case studies, testimonials, and proof assets for completed agentic development engagements, including intake questionnaires, outcome interview guides, anonymized and named-client case studies, before/after workflow summaries, implementation stories, technical notes, risk/control summaries, approval-gate summaries, evaluation results, testimonial requests/drafts, proof libraries, sales one-pagers, website stories, LinkedIn posts, nurture emails, referral blurbs, portfolio entries, pitches, award submissions, press releases, quote approvals, and anonymization checks. Use after delivery when Codex needs to package verified client-approved outcomes without exposing confidential details or inventing proof.
5-
version: 1.0.0
5+
version: 1.0.1
66
metadata:
77
openclaw:
88
skillKey: agentic-case-study-skill

scripts/validate_quality.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@
3131
".md", ".mmd", ".ps1", ".py", ".sh", ".svg", ".toml", ".txt", ".yaml", ".yml",
3232
}
3333
SPECIAL_TEXT_FILES = {"LICENSE", "README", "SKILL.md", "QUALITY.md", "CLAW_HUB_PUBLISHING.md", ".clawhubignore"}
34+
DEFAULT_CLAWHUBIGNORE_PATTERNS = [
35+
"*.png", "*.jpg", "*.jpeg", "*.gif", "*.ico", "*.pdf", "*.docx", "*.ipynb", "*.ttf", "*.otf", "*.woff", "*.woff2",
36+
"preview/", "output/", "__pycache__/", "*.py[cod]", "*$py.class", ".mypy_cache/", ".pytest_cache/", ".ruff_cache/",
37+
".venv/", "venv/", "env/", "ENV/", ".env", ".env.*", "secrets.json", "*_secret.ini", "*_local.ini", "*.tmp",
38+
".DS_Store", "Thumbs.db", "desktop.ini",
39+
]
3440

3541

3642
def iter_files(*suffixes: str) -> list[Path]:
@@ -175,7 +181,10 @@ def frontmatter() -> dict[str, Any]:
175181
def ignore_patterns() -> list[str]:
176182
ignore_file = ROOT / ".clawhubignore"
177183
if not ignore_file.exists():
178-
raise RuntimeError(".clawhubignore is required for ClawHub publishing")
184+
if (ROOT / ".git").exists():
185+
raise RuntimeError(".clawhubignore is required for ClawHub publishing")
186+
print("clawhub ignore defaults used: .clawhubignore is not present in this installed package")
187+
return DEFAULT_CLAWHUBIGNORE_PATTERNS.copy()
179188
patterns = []
180189
for raw in ignore_file.read_text(encoding="utf-8").splitlines():
181190
line = raw.strip()

0 commit comments

Comments
 (0)