opencode-skills-collection 4.1.1 → 4.1.3
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.
Potentially problematic release.
This version of opencode-skills-collection might be problematic. Click here for more details.
- package/bundled-skills/.antigravity-install-manifest.json +133 -1
- package/bundled-skills/360-feedback-system/SKILL.md +481 -0
- package/bundled-skills/access-matrix/SKILL.md +338 -0
- package/bundled-skills/accounting-audit-system-builder/SKILL.md +302 -0
- package/bundled-skills/accounting-audit-system-builder/references/catalog.md +114 -0
- package/bundled-skills/accounting-software-selection/SKILL.md +427 -0
- package/bundled-skills/accounting-software-selection/references/build-artifacts.md +362 -0
- package/bundled-skills/accounting-software-selection/references/common-pitfalls.md +44 -0
- package/bundled-skills/accounting-software-selection/references/field-reference.md +93 -0
- package/bundled-skills/accounting-software-selection/references/select-options.md +202 -0
- package/bundled-skills/admin-access-register/SKILL.md +381 -0
- package/bundled-skills/advanced-analytics-dashboard/SKILL.md +318 -0
- package/bundled-skills/ai-image-generation-studio/SKILL.md +259 -0
- package/bundled-skills/ai-logo-maker/SKILL.md +259 -0
- package/bundled-skills/ai-multilingual-dubbing/SKILL.md +259 -0
- package/bundled-skills/ai-photo-restyler/SKILL.md +259 -0
- package/bundled-skills/ai-podcast-voiceover/SKILL.md +259 -0
- package/bundled-skills/alumni-re-hire-tracker/SKILL.md +314 -0
- package/bundled-skills/announcement-board/SKILL.md +336 -0
- package/bundled-skills/antigravity-maintainer-batch-release/SKILL.md +63 -4
- package/bundled-skills/asset-it-management/SKILL.md +407 -0
- package/bundled-skills/attendance/SKILL.md +331 -0
- package/bundled-skills/audit-log/SKILL.md +314 -0
- package/bundled-skills/audit-preparation/SKILL.md +416 -0
- package/bundled-skills/beatra/SKILL.md +260 -0
- package/bundled-skills/board-governance/SKILL.md +360 -0
- package/bundled-skills/brand-growth-system-builder/SKILL.md +360 -0
- package/bundled-skills/brand-kit-print-collateral/SKILL.md +498 -0
- package/bundled-skills/buddy-program-manager/SKILL.md +329 -0
- package/bundled-skills/budget-cash-flow/SKILL.md +352 -0
- package/bundled-skills/busabase/SKILL.md +118 -0
- package/bundled-skills/business-email-template/SKILL.md +480 -0
- package/bundled-skills/business-email-template/references/common-pitfalls.md +30 -0
- package/bundled-skills/business-website-setup/SKILL.md +489 -0
- package/bundled-skills/business-website-setup/references/common-pitfalls.md +32 -0
- package/bundled-skills/candidate-talent-pool/SKILL.md +359 -0
- package/bundled-skills/capacity-workload-planner/SKILL.md +354 -0
- package/bundled-skills/changelog-entry/SKILL.md +141 -0
- package/bundled-skills/clients-accounts/SKILL.md +398 -0
- package/bundled-skills/code-of-conduct/SKILL.md +488 -0
- package/bundled-skills/code-of-conduct/references/common-pitfalls.md +31 -0
- package/bundled-skills/company-email-accounts/SKILL.md +404 -0
- package/bundled-skills/competency-matrix/SKILL.md +335 -0
- package/bundled-skills/contract-document-renewal/SKILL.md +396 -0
- package/bundled-skills/course-upskilling-requests/SKILL.md +354 -0
- package/bundled-skills/credit-cycle-analysis/SKILL.md +303 -0
- package/bundled-skills/credit-cycle-analysis/references/best-practices.md +35 -0
- package/bundled-skills/credit-cycle-analysis/references/common-pitfalls.md +5 -0
- package/bundled-skills/credit-cycle-analysis/references/examples.md +34 -0
- package/bundled-skills/credit-cycle-analysis/references/field-reference.md +47 -0
- package/bundled-skills/credit-cycle-analysis/references/how-it-works.md +494 -0
- package/bundled-skills/credit-cycle-analysis/references/security-notes.md +16 -0
- package/bundled-skills/credit-cycle-analysis/references/select-options.md +32 -0
- package/bundled-skills/csv-manual-export/SKILL.md +499 -0
- package/bundled-skills/csv-manual-export/references/common-pitfalls.md +19 -0
- package/bundled-skills/culture-retention/SKILL.md +346 -0
- package/bundled-skills/data-export-engine/SKILL.md +308 -0
- package/bundled-skills/data-privacy-controls/SKILL.md +317 -0
- package/bundled-skills/day-book/SKILL.md +499 -0
- package/bundled-skills/day-book/references/best-practices.md +32 -0
- package/bundled-skills/day-book/references/common-pitfalls.md +58 -0
- package/bundled-skills/day-book/references/field-reference.md +45 -0
- package/bundled-skills/day-book/references/how-it-works.md +7 -0
- package/bundled-skills/day-book/references/related-skills.md +18 -0
- package/bundled-skills/day-book/references/relations.md +14 -0
- package/bundled-skills/day-book/references/reusable-prompt.md +50 -0
- package/bundled-skills/day-book/references/security-safety-notes.md +19 -0
- package/bundled-skills/day-book/references/select-options.md +38 -0
- package/bundled-skills/deep-research-framework/SKILL.md +81 -0
- package/bundled-skills/dei-dashboard/SKILL.md +307 -0
- package/bundled-skills/design-theme-guide/SKILL.md +472 -0
- package/bundled-skills/disciplinary-pip-tracker/SKILL.md +345 -0
- package/bundled-skills/document-management-system/SKILL.md +328 -0
- package/bundled-skills/ecommerce-listing-image-set/SKILL.md +259 -0
- package/bundled-skills/employee-suggestion-hub/SKILL.md +322 -0
- package/bundled-skills/esop-equity-tracker/SKILL.md +331 -0
- package/bundled-skills/events-activities/SKILL.md +355 -0
- package/bundled-skills/expense-accounting/SKILL.md +496 -0
- package/bundled-skills/expense-accounting/references/common-pitfalls.md +41 -0
- package/bundled-skills/expense-accounting/references/related-skills.md +11 -0
- package/bundled-skills/expense-accounting/references/reusable-prompt.md +36 -0
- package/bundled-skills/expense-management/SKILL.md +351 -0
- package/bundled-skills/five-axis-code-review/SKILL.md +78 -0
- package/bundled-skills/free-design-resources/SKILL.md +480 -0
- package/bundled-skills/free-design-resources/references/common-pitfalls.md +44 -0
- package/bundled-skills/free-design-resources/references/related-skills.md +24 -0
- package/bundled-skills/free-design-resources/references/reusable-prompt.md +12 -0
- package/bundled-skills/gamification-engine/SKILL.md +307 -0
- package/bundled-skills/gbp-local-seo-intent/SKILL.md +466 -0
- package/bundled-skills/gbp-local-seo-intent/references/best-practices.md +41 -0
- package/bundled-skills/gbp-local-seo-intent/references/common-pitfalls.md +40 -0
- package/bundled-skills/gbp-local-seo-intent/references/related-skills.md +17 -0
- package/bundled-skills/gbp-local-seo-intent/references/reusable-prompt.md +11 -0
- package/bundled-skills/gbp-local-seo-intent/references/security-safety-notes.md +27 -0
- package/bundled-skills/git-commit-message/SKILL.md +76 -0
- package/bundled-skills/health-wellness/SKILL.md +334 -0
- package/bundled-skills/idea-to-blueprint/LICENSE +21 -0
- package/bundled-skills/idea-to-blueprint/SKILL.md +260 -0
- package/bundled-skills/idea-to-blueprint/assets/AGENTS.md.template +38 -0
- package/bundled-skills/idea-to-blueprint/assets/CLAUDE.md.template +38 -0
- package/bundled-skills/idea-to-blueprint/assets/DECISIONS.md.template +14 -0
- package/bundled-skills/idea-to-blueprint/assets/PROGRESS.md.template +47 -0
- package/bundled-skills/idea-to-blueprint/assets/session-prompt.md +23 -0
- package/bundled-skills/idea-to-blueprint/references/architecture-decisions.md +202 -0
- package/bundled-skills/idea-to-blueprint/references/blueprint-template.md +259 -0
- package/bundled-skills/idea-to-blueprint/references/code-quality-and-review.md +216 -0
- package/bundled-skills/idea-to-blueprint/references/design-minimal.md +96 -0
- package/bundled-skills/idea-to-blueprint/references/edge-case-catalog.md +239 -0
- package/bundled-skills/idea-to-blueprint/references/intake-questions.md +105 -0
- package/bundled-skills/idea-to-blueprint/references/research-protocol.md +196 -0
- package/bundled-skills/idea-to-blueprint/references/session-protocol.md +133 -0
- package/bundled-skills/idea-to-blueprint/references/stories-ac-tests.md +194 -0
- package/bundled-skills/idea-to-blueprint/references/ux-writing-guide.md +128 -0
- package/bundled-skills/idea-to-blueprint/scripts/lint_blueprint.py +460 -0
- package/bundled-skills/intern-program/SKILL.md +354 -0
- package/bundled-skills/internal-communication/SKILL.md +318 -0
- package/bundled-skills/inventory-stock-reconciliation/SKILL.md +470 -0
- package/bundled-skills/inventory-stock-reconciliation/references/best-practices.md +18 -0
- package/bundled-skills/inventory-stock-reconciliation/references/common-pitfalls.md +42 -0
- package/bundled-skills/inventory-stock-reconciliation/references/related-skills.md +13 -0
- package/bundled-skills/inventory-stock-reconciliation/references/relations.md +8 -0
- package/bundled-skills/inventory-stock-reconciliation/references/reusable-prompt.md +31 -0
- package/bundled-skills/inventory-stock-reconciliation/references/security-safety-notes.md +17 -0
- package/bundled-skills/inventory-stock-reconciliation/references/select-options.md +45 -0
- package/bundled-skills/invoices-billing/SKILL.md +385 -0
- package/bundled-skills/issue-grievance-tracker/SKILL.md +400 -0
- package/bundled-skills/json-schema-manual/SKILL.md +309 -0
- package/bundled-skills/json-schema-manual/references/best-practices.md +9 -0
- package/bundled-skills/json-schema-manual/references/common-pitfalls.md +25 -0
- package/bundled-skills/json-schema-manual/references/input-modules.md +203 -0
- package/bundled-skills/json-schema-manual/references/related-skills.md +8 -0
- package/bundled-skills/json-schema-manual/references/reusable-prompt.md +10 -0
- package/bundled-skills/json-schema-manual/references/security-safety-notes.md +13 -0
- package/bundled-skills/knowledge-base/SKILL.md +318 -0
- package/bundled-skills/kpi-tracker/SKILL.md +345 -0
- package/bundled-skills/learning-career-development/SKILL.md +349 -0
- package/bundled-skills/leave-management/SKILL.md +341 -0
- package/bundled-skills/legal-compliance-vault/SKILL.md +324 -0
- package/bundled-skills/linktree-link-hub/SKILL.md +453 -0
- package/bundled-skills/liuguang-banlan-ui/SKILL.md +22 -18
- package/bundled-skills/liuguang-banlan-ui/assets/starter/launcher.css +2 -2
- package/bundled-skills/liuguang-banlan-ui/assets/starter/obsidian/index.html +5 -4
- package/bundled-skills/liuguang-banlan-ui/assets/starter/obsidian/theme-config.js +3 -10
- package/bundled-skills/liuguang-banlan-ui/assets/starter/obsidian/theme.css +48 -62
- package/bundled-skills/liuguang-banlan-ui/assets/starter/opal/index.html +5 -4
- package/bundled-skills/liuguang-banlan-ui/assets/starter/opal/theme-config.js +27 -35
- package/bundled-skills/liuguang-banlan-ui/assets/starter/opal/theme.css +48 -62
- package/bundled-skills/liuguang-banlan-ui/assets/starter/shared/spectral-field.js +135 -148
- package/bundled-skills/liuguang-banlan-ui/references/style-contract.md +26 -7
- package/bundled-skills/liuguang-banlan-ui/references/verification.md +19 -7
- package/bundled-skills/liuguang-banlan-ui/scripts/measure_preview.py +78 -47
- package/bundled-skills/liuguang-banlan-ui/scripts/serve_preview.py +35 -0
- package/bundled-skills/liuguang-banlan-ui/scripts/validate_manifest.py +34 -3
- package/bundled-skills/liuguang-banlan-ui/tests/test_measure_preview.py +119 -0
- package/bundled-skills/liuguang-banlan-ui/tests/test_serve_preview.py +38 -0
- package/bundled-skills/liuguang-banlan-ui/tests/test_validate_manifest.py +73 -0
- package/bundled-skills/logo-image-design/SKILL.md +459 -0
- package/bundled-skills/loki-mode/examples/todo-app-generated/frontend/package-lock.json +12 -12
- package/bundled-skills/loki-mode/examples/todo-app-generated/frontend/package.json +1 -1
- package/bundled-skills/meeting-notes/SKILL.md +80 -0
- package/bundled-skills/mentorship-program/SKILL.md +332 -0
- package/bundled-skills/mirrord/SKILL.md +90 -0
- package/bundled-skills/monthly-closing-statements/SKILL.md +488 -0
- package/bundled-skills/monthly-closing-statements/references/related-skills.md +17 -0
- package/bundled-skills/monthly-closing-statements/references/reusable-prompt.md +8 -0
- package/bundled-skills/music-generation-studio/SKILL.md +259 -0
- package/bundled-skills/notification-reminder-hub/SKILL.md +324 -0
- package/bundled-skills/notion-manual-import/SKILL.md +376 -0
- package/bundled-skills/notion-manual-import/references/best-practices.md +10 -0
- package/bundled-skills/notion-manual-import/references/common-pitfalls.md +26 -0
- package/bundled-skills/notion-manual-import/references/input-modules.md +203 -0
- package/bundled-skills/notion-manual-import/references/related-skills.md +7 -0
- package/bundled-skills/notion-manual-import/references/reusable-prompt.md +8 -0
- package/bundled-skills/notion-manual-import/references/security-safety-notes.md +15 -0
- package/bundled-skills/observability-cloud-planning/SKILL.md +487 -0
- package/bundled-skills/observability-cloud-planning/references/common-pitfalls.md +39 -0
- package/bundled-skills/observability-cloud-planning/references/related-skills.md +20 -0
- package/bundled-skills/observability-cloud-planning/references/reusable-prompt.md +12 -0
- package/bundled-skills/observability-cloud-planning/references/security-safety-notes.md +30 -0
- package/bundled-skills/offboarding-exit/SKILL.md +343 -0
- package/bundled-skills/offer-appointment/SKILL.md +351 -0
- package/bundled-skills/okr-system/SKILL.md +355 -0
- package/bundled-skills/onboarding-playbook/SKILL.md +292 -0
- package/bundled-skills/organization-design/SKILL.md +324 -0
- package/bundled-skills/party-ledger-reconciliation/SKILL.md +411 -0
- package/bundled-skills/payment-accounting/SKILL.md +421 -0
- package/bundled-skills/payments-received/SKILL.md +315 -0
- package/bundled-skills/payroll-finance/SKILL.md +351 -0
- package/bundled-skills/people-directory/SKILL.md +459 -0
- package/bundled-skills/performance-management/SKILL.md +367 -0
- package/bundled-skills/petty-cash-management/SKILL.md +448 -0
- package/bundled-skills/policy-acknowledgement/SKILL.md +314 -0
- package/bundled-skills/policy-library/SKILL.md +327 -0
- package/bundled-skills/poster-design-studio/SKILL.md +259 -0
- package/bundled-skills/pre-boarding/SKILL.md +326 -0
- package/bundled-skills/presentation-deck/SKILL.md +491 -0
- package/bundled-skills/presentation-deck/references/related-skills.md +19 -0
- package/bundled-skills/presentation-deck/references/reusable-prompt.md +11 -0
- package/bundled-skills/probation-tracker/SKILL.md +347 -0
- package/bundled-skills/product-photo-studio/SKILL.md +259 -0
- package/bundled-skills/project-based-performance/SKILL.md +323 -0
- package/bundled-skills/projects-work-management/SKILL.md +368 -0
- package/bundled-skills/promotion-upgrade-requests/SKILL.md +377 -0
- package/bundled-skills/purchase-accounting/SKILL.md +414 -0
- package/bundled-skills/receipt-accounting/SKILL.md +424 -0
- package/bundled-skills/recognition-rewards/SKILL.md +324 -0
- package/bundled-skills/recruitment-pipeline/SKILL.md +399 -0
- package/bundled-skills/remote-work-tracker/SKILL.md +306 -0
- package/bundled-skills/repo-foundation/SKILL.md +166 -0
- package/bundled-skills/repo-foundation/references/LICENSE.md +21 -0
- package/bundled-skills/repo-foundation/references/bootstrap.md +63 -0
- package/bundled-skills/repo-foundation/references/companion.md +9 -0
- package/bundled-skills/repo-foundation/references/continuity.md +50 -0
- package/bundled-skills/repo-foundation/references/evolution.md +60 -0
- package/bundled-skills/repo-foundation/references/migration-examples.md +53 -0
- package/bundled-skills/repo-foundation/references/shared-contracts.md +48 -0
- package/bundled-skills/repo-foundation/references/verification.md +50 -0
- package/bundled-skills/repo-native-refactor/SKILL.md +225 -0
- package/bundled-skills/repo-native-refactor/references/LICENSE.md +21 -0
- package/bundled-skills/repo-native-refactor/references/deterministic-tooling.md +101 -0
- package/bundled-skills/repo-native-refactor/references/error-reliability.md +117 -0
- package/bundled-skills/repo-native-refactor/references/finding-taxonomy.md +181 -0
- package/bundled-skills/repo-native-refactor/references/refactor-examples.md +77 -0
- package/bundled-skills/repo-native-refactor/references/repository-prose.md +157 -0
- package/bundled-skills/repo-native-refactor/references/repository-rehabilitation.md +94 -0
- package/bundled-skills/repo-native-refactor/references/semantic-risk.md +187 -0
- package/bundled-skills/repo-native-refactor/references/shared-contracts.md +48 -0
- package/bundled-skills/repo-native-refactor/references/testing-integrity.md +103 -0
- package/bundled-skills/reports-analytics/SKILL.md +320 -0
- package/bundled-skills/salary-benchmarking/SKILL.md +318 -0
- package/bundled-skills/salary-wage-accounting/SKILL.md +412 -0
- package/bundled-skills/sales-accounting/SKILL.md +494 -0
- package/bundled-skills/sales-accounting/references/common-pitfalls.md +28 -0
- package/bundled-skills/sales-accounting/references/related-skills.md +13 -0
- package/bundled-skills/sales-accounting/references/reusable-prompt.md +8 -0
- package/bundled-skills/seo-directory-backlinks/SKILL.md +484 -0
- package/bundled-skills/seo-directory-backlinks/references/common-pitfalls.md +36 -0
- package/bundled-skills/seo-directory-backlinks/references/related-skills.md +15 -0
- package/bundled-skills/seo-directory-backlinks/references/reusable-prompt.md +11 -0
- package/bundled-skills/skill-gap-analysis/SKILL.md +338 -0
- package/bundled-skills/social-media-setup/SKILL.md +477 -0
- package/bundled-skills/social-media-setup/references/common-pitfalls.md +34 -0
- package/bundled-skills/social-media-setup/references/related-skills.md +19 -0
- package/bundled-skills/social-media-setup/references/reusable-prompt.md +11 -0
- package/bundled-skills/social-media-setup/references/security-safety-notes.md +27 -0
- package/bundled-skills/sop-company-wiki/SKILL.md +324 -0
- package/bundled-skills/source-document-filing/SKILL.md +368 -0
- package/bundled-skills/spreadsheet-manual-build/SKILL.md +493 -0
- package/bundled-skills/spreadsheet-manual-build/references/best-practices.md +9 -0
- package/bundled-skills/spreadsheet-manual-build/references/common-pitfalls.md +22 -0
- package/bundled-skills/spreadsheet-manual-build/references/related-skills.md +8 -0
- package/bundled-skills/spreadsheet-manual-build/references/reusable-prompt.md +9 -0
- package/bundled-skills/spreadsheet-manual-build/references/security-safety-notes.md +16 -0
- package/bundled-skills/stakeholder-investor-reports/SKILL.md +303 -0
- package/bundled-skills/suno-lyrics-to-song/SKILL.md +259 -0
- package/bundled-skills/talking-avatar-video/SKILL.md +260 -0
- package/bundled-skills/tax-register/SKILL.md +363 -0
- package/bundled-skills/tds-booking-payment/SKILL.md +405 -0
- package/bundled-skills/team-calendar/SKILL.md +312 -0
- package/bundled-skills/tech-writing-proofread/SKILL.md +78 -0
- package/bundled-skills/telegram/assets/boilerplate/nodejs/package-lock.json +3 -3
- package/bundled-skills/telegram/assets/boilerplate/nodejs/package.json +1 -0
- package/bundled-skills/template-library/SKILL.md +304 -0
- package/bundled-skills/time-tracking/SKILL.md +353 -0
- package/bundled-skills/typescript-expert/scripts/ts_diagnostic.py +40 -19
- package/bundled-skills/vendor-contractor-management/SKILL.md +327 -0
- package/bundled-skills/viral-video-teardown-remake/SKILL.md +260 -0
- package/bundled-skills/voice-cloning-studio/SKILL.md +260 -0
- package/bundled-skills/voiceover-narration-studio/SKILL.md +259 -0
- package/bundled-skills/whatsapp-cloud-api/assets/boilerplate/nodejs/package-lock.json +3 -3
- package/bundled-skills/whatsapp-cloud-api/assets/boilerplate/nodejs/package.json +1 -0
- package/bundled-skills/youtube-summarizer/SKILL.md +3 -3
- package/package.json +1 -1
- package/skills_index.json +254 -0
|
@@ -10,21 +10,42 @@ import os
|
|
|
10
10
|
import json
|
|
11
11
|
from pathlib import Path
|
|
12
12
|
|
|
13
|
-
def run_cmd(
|
|
14
|
-
"""Run
|
|
13
|
+
def run_cmd(args):
|
|
14
|
+
"""Run a command as an argument list (no shell) and return its output."""
|
|
15
15
|
try:
|
|
16
|
-
result = subprocess.run(
|
|
16
|
+
result = subprocess.run(args, capture_output=True, text=True)
|
|
17
17
|
return result.stdout + result.stderr
|
|
18
18
|
except Exception as e:
|
|
19
19
|
return str(e)
|
|
20
20
|
|
|
21
|
+
def grep_source_count(pattern: str, exclude: str | None = None) -> tuple[int, list[str]]:
|
|
22
|
+
"""Count and sample lines containing ``pattern`` under ``src/``.
|
|
23
|
+
|
|
24
|
+
Pure-Python replacement for ``grep -r ... src/`` so no shell is involved.
|
|
25
|
+
"""
|
|
26
|
+
root = Path("src")
|
|
27
|
+
if not root.is_dir():
|
|
28
|
+
return 0, []
|
|
29
|
+
matches: list[str] = []
|
|
30
|
+
for path in sorted(root.rglob("*")):
|
|
31
|
+
if path.suffix not in (".ts", ".tsx") or not path.is_file():
|
|
32
|
+
continue
|
|
33
|
+
try:
|
|
34
|
+
text = path.read_text(encoding="utf-8", errors="replace")
|
|
35
|
+
except OSError:
|
|
36
|
+
continue
|
|
37
|
+
for lineno, line in enumerate(text.splitlines(), start=1):
|
|
38
|
+
if pattern in line and (exclude is None or exclude not in line):
|
|
39
|
+
matches.append(f"{path}:{lineno}:{line}")
|
|
40
|
+
return len(matches), matches
|
|
41
|
+
|
|
21
42
|
def check_versions():
|
|
22
43
|
"""Check TypeScript and Node versions."""
|
|
23
44
|
print("\n📦 Versions:")
|
|
24
45
|
print("-" * 40)
|
|
25
46
|
|
|
26
|
-
ts_version = run_cmd("npx tsc --version
|
|
27
|
-
node_version = run_cmd("node -v
|
|
47
|
+
ts_version = run_cmd(["npx", "tsc", "--version"]).strip()
|
|
48
|
+
node_version = run_cmd(["node", "-v"]).strip()
|
|
28
49
|
|
|
29
50
|
print(f" TypeScript: {ts_version or 'Not found'}")
|
|
30
51
|
print(f" Node.js: {node_version or 'Not found'}")
|
|
@@ -134,11 +155,12 @@ def check_type_errors():
|
|
|
134
155
|
print("\n🔍 Type Check:")
|
|
135
156
|
print("-" * 40)
|
|
136
157
|
|
|
137
|
-
result = run_cmd("npx tsc --noEmit
|
|
158
|
+
result = run_cmd(["npx", "tsc", "--noEmit"])
|
|
159
|
+
lines = result.splitlines()
|
|
138
160
|
if "error TS" in result:
|
|
139
161
|
errors = result.count("error TS")
|
|
140
162
|
print(f" ❌ {errors}+ type errors found")
|
|
141
|
-
print(
|
|
163
|
+
print("\n".join(lines[:20])[:500])
|
|
142
164
|
else:
|
|
143
165
|
print(" ✅ No type errors")
|
|
144
166
|
|
|
@@ -147,13 +169,11 @@ def check_any_usage():
|
|
|
147
169
|
print("\n⚠️ 'any' Type Usage:")
|
|
148
170
|
print("-" * 40)
|
|
149
171
|
|
|
150
|
-
|
|
151
|
-
count
|
|
152
|
-
if count and count != "0":
|
|
172
|
+
count, matches = grep_source_count(": any")
|
|
173
|
+
if count:
|
|
153
174
|
print(f" ⚠️ Found {count} occurrences of ': any'")
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
print(sample)
|
|
175
|
+
if matches:
|
|
176
|
+
print("\n".join(matches[:5]))
|
|
157
177
|
else:
|
|
158
178
|
print(" ✅ No explicit 'any' types found")
|
|
159
179
|
|
|
@@ -162,9 +182,8 @@ def check_type_assertions():
|
|
|
162
182
|
print("\n⚠️ Type Assertions (as):")
|
|
163
183
|
print("-" * 40)
|
|
164
184
|
|
|
165
|
-
|
|
166
|
-
count
|
|
167
|
-
if count and count != "0":
|
|
185
|
+
count, _ = grep_source_count(" as ", exclude="import")
|
|
186
|
+
if count:
|
|
168
187
|
print(f" ⚠️ Found {count} type assertions")
|
|
169
188
|
else:
|
|
170
189
|
print(" ✅ No type assertions found")
|
|
@@ -174,9 +193,11 @@ def check_performance():
|
|
|
174
193
|
print("\n⏱️ Type Check Performance:")
|
|
175
194
|
print("-" * 40)
|
|
176
195
|
|
|
177
|
-
result = run_cmd("npx tsc --extendedDiagnostics --noEmit
|
|
178
|
-
|
|
179
|
-
|
|
196
|
+
result = run_cmd(["npx", "tsc", "--extendedDiagnostics", "--noEmit"])
|
|
197
|
+
keys = ("Check time", "Files:", "Lines:", "Nodes:")
|
|
198
|
+
lines = [line for line in result.splitlines() if any(k in line for k in keys)]
|
|
199
|
+
if lines:
|
|
200
|
+
for line in lines:
|
|
180
201
|
print(f" {line}")
|
|
181
202
|
else:
|
|
182
203
|
print(" ⚠️ Could not measure performance")
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: vendor-contractor-management
|
|
3
|
+
description: 'Vendor register: name, type, services, contact, linked contract dates, payment terms and rating. Use for vendor and contractor management.'
|
|
4
|
+
category: business
|
|
5
|
+
risk: safe
|
|
6
|
+
source: self
|
|
7
|
+
source_type: self
|
|
8
|
+
date_added: "2026-09-26"
|
|
9
|
+
author: WHOISABHISHEKADHIKARI
|
|
10
|
+
tags: [sme, business, operations, database, csv, notion, sql, operate]
|
|
11
|
+
tools: []
|
|
12
|
+
source_repo: WHOISABHISHEKADHIKARI/sme-ops-system-builder
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# Vendor & Contractor Management
|
|
16
|
+
|
|
17
|
+
**What it is:** External management.
|
|
18
|
+
|
|
19
|
+
## Overview
|
|
20
|
+
|
|
21
|
+
Works out the smallest useful **Vendor & Contractor Management** setup for the business in front of it, then
|
|
22
|
+
builds it only when asked. The default output is a short recommendation, not a
|
|
23
|
+
spreadsheet. Artifacts - CSV, SQL DDL, JSON Schema, Notion mapping - are produced on
|
|
24
|
+
request, from one field list so they cannot drift apart.
|
|
25
|
+
|
|
26
|
+
Layer: Layer 8: Operate. Fits: Scale stage. Table code: n/a.
|
|
27
|
+
|
|
28
|
+
## When to Use This Skill
|
|
29
|
+
|
|
30
|
+
- vendor management
|
|
31
|
+
- supplier tracker
|
|
32
|
+
- contractor register
|
|
33
|
+
- vendor database
|
|
34
|
+
|
|
35
|
+
Also use it when the user says "external management", or describes the same process happening in a
|
|
36
|
+
spreadsheet, a document or someone inboxes.
|
|
37
|
+
|
|
38
|
+
Do not use it for: payroll calculation, tax filing, or legal advice. This skill produces
|
|
39
|
+
empty templates only - it never holds or processes real employee or customer data.
|
|
40
|
+
|
|
41
|
+
## How It Works
|
|
42
|
+
|
|
43
|
+
Follow the shared execution contract. The module-specific rules below define only domain fields, decisions, calculations, and safety constraints.
|
|
44
|
+
|
|
45
|
+
### Step 1 - Identify intent
|
|
46
|
+
|
|
47
|
+
Read the request and pick the intent before asking anything.
|
|
48
|
+
|
|
49
|
+
- "set up" or "build" or "create" -> the user wants artifacts; go to Step 2.
|
|
50
|
+
- "our process is ..." or "it is in a sheet" -> the user wants to move an existing process; capture it, then Step 2.
|
|
51
|
+
- "is this right" or "review" or "audit" -> the user wants a check, not a build; answer from what they share.
|
|
52
|
+
- "how do I ..." -> advice question; answer directly and offer the build only if it helps.
|
|
53
|
+
|
|
54
|
+
Ask only if this is the highest-value missing fact; otherwise proceed without an opener:
|
|
55
|
+
|
|
56
|
+
> **Q:** How many vendors or contractors do you work with?
|
|
57
|
+
|
|
58
|
+
### Step 2 - Ask only what is missing
|
|
59
|
+
|
|
60
|
+
Skip anything the user already answered, in any earlier message. Ask the rest one at a
|
|
61
|
+
time, and stop as soon as the remaining answers would not change the output.
|
|
62
|
+
|
|
63
|
+
- **Vendors** - How many active? / What do they supply? / Any single point of failure?
|
|
64
|
+
- **Commercials** - Cost or rate? / Fixed or recurring? / Renewal dates?
|
|
65
|
+
- **Risk** - Any compliance or security check? / Owner per vendor? / Data shared with them?
|
|
66
|
+
- **Current process** - Is it recorded now? / Accounts payable or nothing? / What gets missed?
|
|
67
|
+
- **Outcome** - What do you need? / A vendor register, a review cycle or both?
|
|
68
|
+
|
|
69
|
+
Never invent an answer. If the user does not know, record it as unknown and carry on.
|
|
70
|
+
|
|
71
|
+
### Step 3 - Hold the internal context
|
|
72
|
+
|
|
73
|
+
Hold the answers in this shape. It stays internal - it is not shown to the user unless
|
|
74
|
+
they ask, and it never carries a value the user did not give.
|
|
75
|
+
|
|
76
|
+
```yaml
|
|
77
|
+
module: vendor-contractor-management
|
|
78
|
+
intent: null # setup | advice | review | fix | build | convert | export
|
|
79
|
+
scale: null # Starter | Growth | Scale, only if the answer changes it
|
|
80
|
+
areas:
|
|
81
|
+
"Vendors": null
|
|
82
|
+
"Commercials": null
|
|
83
|
+
"Risk": null
|
|
84
|
+
"Current process": null
|
|
85
|
+
"Outcome": null
|
|
86
|
+
requested_outputs: [] # csv | sql | json | notion | xlsx - requested formats only
|
|
87
|
+
confirmed_facts: [] # only what the user actually said
|
|
88
|
+
open_questions: [] # the unanswered ones, in the order worth asking
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### Step 4 - Recommend the smallest workflow
|
|
92
|
+
|
|
93
|
+
If an artifact was requested, build it after resolving essential missing facts. Otherwise give a short recommendation and offer the relevant artifact.
|
|
94
|
+
|
|
95
|
+
**Recommended approach:** One record per vendor with an owner, the renewal date and what they can access, and review the ones with data or system access more often.
|
|
96
|
+
|
|
97
|
+
**Why this one:** Vendor risk concentrates in the few vendors with access. Tag those and review them; the rest need a register, not a process.
|
|
98
|
+
|
|
99
|
+
**Workflow:** Vendor recorded → Owner assigned → Due diligence → Review → Renewed or ended
|
|
100
|
+
|
|
101
|
+
### Step 5 - Build only on request
|
|
102
|
+
|
|
103
|
+
Once the user asks for it, derive the fields from the confirmed context and emit the
|
|
104
|
+
requested artifacts. For machine-readable text, keep prose outside the data; for files,
|
|
105
|
+
provide a usable link. Report material validation failures or limitations separately.
|
|
106
|
+
|
|
107
|
+
**A selected Notion output is rendered by `notion-manual-import`, so route the
|
|
108
|
+
Notion step there.** When the user selects Notion, hand that step to
|
|
109
|
+
@notion-manual-import: it holds the CSV, the property
|
|
110
|
+
mapping, the import steps and the verification checklist, and it renders the Field
|
|
111
|
+
Reference below instead of defining a table of its own. Do not restate the mapping
|
|
112
|
+
here and do not improvise the import steps. Manual CSV and mapping outputs need no
|
|
113
|
+
connection. For requested workspace changes, follow the shared contract: verify actual
|
|
114
|
+
tool access and the target before writing. A user saying "connected" is not tool evidence.
|
|
115
|
+
Never ask for a Notion password or token.
|
|
116
|
+
|
|
117
|
+
For an Excel-compatible CSV, use UTF-8 with a byte order mark so Excel opens the
|
|
118
|
+
text correctly. A CSV is not an `.xlsx` workbook; create `.xlsx` only when the user
|
|
119
|
+
requests a workbook.
|
|
120
|
+
A CSV carries no types, so after it, name the columns
|
|
121
|
+
that need a number, date or currency format applied.
|
|
122
|
+
|
|
123
|
+
```csv
|
|
124
|
+
Vendor Name,Vendor Type,Services,Contact Person,Email,Phone,Department,Linked Contract,Contract Start,Contract End,Payment Terms,Rating,Status,Vendor ID
|
|
125
|
+
Acme Corp,SaaS,"Cloud hosting, support",Rahul Mehta,rahul.mehta@example.com,+91 98xxxxxx21,Delivery,CON-2026-009,2026-01-01,2026-12-31,30 days,4,Active,
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
```sql
|
|
129
|
+
CREATE TABLE vendor_contractor_management (
|
|
130
|
+
vendor_name VARCHAR(255),
|
|
131
|
+
vendor_type VARCHAR(100) NOT NULL,
|
|
132
|
+
services VARCHAR(255),
|
|
133
|
+
contact_person VARCHAR(255),
|
|
134
|
+
email VARCHAR(255),
|
|
135
|
+
phone VARCHAR(255),
|
|
136
|
+
department VARCHAR(255),
|
|
137
|
+
linked_contract VARCHAR(255), -- relation -> target record
|
|
138
|
+
contract_start DATE NOT NULL,
|
|
139
|
+
contract_end DATE NOT NULL,
|
|
140
|
+
payment_terms VARCHAR(255),
|
|
141
|
+
rating NUMERIC NOT NULL,
|
|
142
|
+
status VARCHAR(100) NOT NULL,
|
|
143
|
+
vendor_id SERIAL PRIMARY KEY,
|
|
144
|
+
created_at TIMESTAMP DEFAULT NOW(),
|
|
145
|
+
updated_at TIMESTAMP DEFAULT NOW()
|
|
146
|
+
);
|
|
147
|
+
|
|
148
|
+
CREATE INDEX idx_vendor_contractor_management_status ON vendor_contractor_management (status);
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
```json
|
|
152
|
+
{
|
|
153
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
154
|
+
"title": "Vendor & Contractor Management",
|
|
155
|
+
"type": "object",
|
|
156
|
+
"additionalProperties": false,
|
|
157
|
+
"properties": {
|
|
158
|
+
"Vendor Name": { "type": "string" },
|
|
159
|
+
"Vendor Type": { "type": "string" },
|
|
160
|
+
"Services": { "type": "string" },
|
|
161
|
+
"Contact Person": { "type": "string" },
|
|
162
|
+
"Email": { "type": "string", "format": "email" },
|
|
163
|
+
"Phone": { "type": "string" },
|
|
164
|
+
"Department": { "type": "string" },
|
|
165
|
+
"Linked Contract": { "type": "string" },
|
|
166
|
+
"Contract Start": { "type": "string", "format": "date" },
|
|
167
|
+
"Contract End": { "type": "string", "format": "date" },
|
|
168
|
+
"Payment Terms": { "type": "string" },
|
|
169
|
+
"Rating": { "type": "number" },
|
|
170
|
+
"Status": { "type": "string" },
|
|
171
|
+
"Vendor ID": { "type": "integer" }
|
|
172
|
+
},
|
|
173
|
+
"required": [
|
|
174
|
+
"Vendor Type",
|
|
175
|
+
"Contract Start",
|
|
176
|
+
"Contract End",
|
|
177
|
+
"Rating",
|
|
178
|
+
"Status"
|
|
179
|
+
]
|
|
180
|
+
}
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
```markdown
|
|
184
|
+
| CSV column | Notion property | Set after import |
|
|
185
|
+
|---|---|---|
|
|
186
|
+
| Vendor Name | Title | Use as the database title |
|
|
187
|
+
| Vendor Type | Select (add options after import) | Convert to Select, add options: "SaaS", "Service", "Contractor", "Consultant", "Landlord" |
|
|
188
|
+
| Services | Text | Leave as Text |
|
|
189
|
+
| Contact Person | Text | Leave as Text |
|
|
190
|
+
| Email | Email | Convert to Email |
|
|
191
|
+
| Phone | Text | Leave as Text |
|
|
192
|
+
| Department | Text | Leave as Text |
|
|
193
|
+
| Linked Contract | Relation (link to the target database) | Convert to Relation, link to the target database |
|
|
194
|
+
| Contract Start | Date | Convert to Date |
|
|
195
|
+
| Contract End | Date | Convert to Date |
|
|
196
|
+
| Payment Terms | Text | Leave as Text |
|
|
197
|
+
| Rating | Number | Convert to Number |
|
|
198
|
+
| Status | Select (add options after import) | Convert to Select, add options: "Prospect", "Onboarding", "Active", "Under Review", "Offboarding", "Terminated" |
|
|
199
|
+
| Vendor ID | Text (preserve source ID) | Keep imported IDs as Text; optionally add a separate Unique ID property |
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
The rows above are documentation examples only. Emit empty templates unless the user explicitly requests examples. Money stays `currency`, dates stay `date`,
|
|
203
|
+
and anything pointing at another table stays `relation`.
|
|
204
|
+
|
|
205
|
+
## Field Reference
|
|
206
|
+
|
|
207
|
+
| # | Field | Type | SQL | JSON Schema | Notion | CSV example |
|
|
208
|
+
|---:|---|---|---|---|---|---|
|
|
209
|
+
| 1 | Vendor Name | `text` | `VARCHAR(255)` | `string` | Text | `Acme Corp` |
|
|
210
|
+
| 2 | Vendor Type | `select` | `VARCHAR(100)` | `string` | Select (add options after import) | `SaaS` |
|
|
211
|
+
| 3 | Services | `text` | `VARCHAR(255)` | `string` | Text | `Cloud hosting, support` |
|
|
212
|
+
| 4 | Contact Person | `text` | `VARCHAR(255)` | `string` | Text | `Rahul Mehta` |
|
|
213
|
+
| 5 | Email | `email` | `VARCHAR(255)` | `string, format: email` | Email | `rahul.mehta@example.com` |
|
|
214
|
+
| 6 | Phone | `text` | `VARCHAR(255)` | `string` | Text | `+91 98xxxxxx21` |
|
|
215
|
+
| 7 | Department | `text` | `VARCHAR(255)` | `string` | Text | `Delivery` |
|
|
216
|
+
| 8 | Linked Contract | `relation` | `VARCHAR(255)` | `string` | Relation (link to the target database) | `CON-2026-009` |
|
|
217
|
+
| 9 | Contract Start | `date` | `DATE` | `string, format: date` | Date | `2026-01-01` |
|
|
218
|
+
| 10 | Contract End | `date` | `DATE` | `string, format: date` | Date | `2026-12-31` |
|
|
219
|
+
| 11 | Payment Terms | `text` | `VARCHAR(255)` | `string` | Text | `30 days` |
|
|
220
|
+
| 12 | Rating | `number` | `NUMERIC` | `number` | Number | `4` |
|
|
221
|
+
| 13 | Status | `select` | `VARCHAR(100)` | `string` | Select (add options after import) | `Active` |
|
|
222
|
+
| 14 | Vendor ID | `id` | `SERIAL PRIMARY KEY` | `integer` | Text (preserve source ID) | `(blank)` |
|
|
223
|
+
|
|
224
|
+
## Select Options
|
|
225
|
+
|
|
226
|
+
**Vendor Type**
|
|
227
|
+
|
|
228
|
+
```
|
|
229
|
+
SaaS | Service | Contractor | Consultant | Landlord
|
|
230
|
+
```
|
|
231
|
+
**Status**
|
|
232
|
+
|
|
233
|
+
```
|
|
234
|
+
Prospect | Onboarding | Active | Under Review | Offboarding | Terminated
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
## Relations
|
|
238
|
+
|
|
239
|
+
Link fields: `Linked Contract`
|
|
240
|
+
|
|
241
|
+
## Examples
|
|
242
|
+
|
|
243
|
+
**Prompt**
|
|
244
|
+
|
|
245
|
+
```
|
|
246
|
+
Two vendors have access to our systems and nobody reviews it.
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
**Context first** - one question per message, nothing already answered:
|
|
250
|
+
|
|
251
|
+
> **Q:** How many vendors?
|
|
252
|
+
> **A:** Twelve.
|
|
253
|
+
>
|
|
254
|
+
> **Q:** Any with system access?
|
|
255
|
+
> **A:** Two.
|
|
256
|
+
>
|
|
257
|
+
> **Q:** Recorded where?
|
|
258
|
+
> **A:** Accounting package only.
|
|
259
|
+
|
|
260
|
+
**Recommended next step** - offered, not built:
|
|
261
|
+
|
|
262
|
+
> One record per vendor with an owner, the renewal date and what they can access, and review the ones with data or system access more often.
|
|
263
|
+
>
|
|
264
|
+
> Workflow: Vendor recorded → Owner assigned → Due diligence → Review → Renewed or ended
|
|
265
|
+
>
|
|
266
|
+
> Want the CSV, SQL, JSON Schema and Notion mapping for this?
|
|
267
|
+
|
|
268
|
+
## Best Practices
|
|
269
|
+
|
|
270
|
+
- Build when requested; recommend and offer a build for advice-only requests.
|
|
271
|
+
- One question per message. A batched intake reads as a form and gets guessed at.
|
|
272
|
+
- Keep display names identical across CSV and JSON; document normalized SQL identifiers.
|
|
273
|
+
- Use `relation` for anything that points at another table, `text` only for free text.
|
|
274
|
+
- Money fields are `currency`, never `text`. Dates are `date`, never free text.
|
|
275
|
+
- If the user requests an example row, keep it obviously fake so nobody imports it as real data.
|
|
276
|
+
|
|
277
|
+
## Limitations
|
|
278
|
+
|
|
279
|
+
- Empty template only. It does not compute payroll, tax, leave balances or KPIs.
|
|
280
|
+
- Notion relations need both databases imported before the link column resolves.
|
|
281
|
+
- Select options are a starting set. Rename them to match how the business talks.
|
|
282
|
+
- No automation, reminders or sync. Those need the integration layer.
|
|
283
|
+
- Does not assess vendors, sign anything or manage payments.
|
|
284
|
+
- Legal, tax and HR review is still required before this drives real decisions.
|
|
285
|
+
|
|
286
|
+
## Security & Safety Notes
|
|
287
|
+
|
|
288
|
+
- Never fill in real names, salaries, medical or banking data. Placeholders only.
|
|
289
|
+
- Label example rows as synthetic, and keep bank details masked.
|
|
290
|
+
- Local reads, generation commands, and validation are part of a requested artifact build.
|
|
291
|
+
External writes, messages, provisioning, and publication require authorization for that
|
|
292
|
+
action and target; existing explicit authorization does not need to be repeated.
|
|
293
|
+
- If sensitive data is supplied, avoid repeating unnecessary identifiers. Use only what
|
|
294
|
+
the requested review needs; keep generated templates empty. Do not claim deletion
|
|
295
|
+
from the conversation or service storage.
|
|
296
|
+
- Privacy, legal and disciplinary cases need a qualified human reviewer before anything
|
|
297
|
+
is acted on.
|
|
298
|
+
|
|
299
|
+
## Common Pitfalls
|
|
300
|
+
|
|
301
|
+
- **Problem:** a static mapping is described as a completed workspace build.
|
|
302
|
+
**Solution:** deliver manual mappings without a connection; claim a live change only
|
|
303
|
+
after the authorized tool operation succeeds.
|
|
304
|
+
- **Problem:** asked all six questions in one message.
|
|
305
|
+
**Solution:** ask one, wait, and drop any the first answer already covered.
|
|
306
|
+
- **Problem:** built a full system when one table was asked for.
|
|
307
|
+
**Solution:** build what was requested; mention the parent skill separately.
|
|
308
|
+
- **Problem:** all four artifacts drift apart.
|
|
309
|
+
**Solution:** derive all four from the field list in this file, never by hand.
|
|
310
|
+
- **Problem:** Notion import shows every column as Text.
|
|
311
|
+
**Solution:** that is expected. Apply the property mapping table once, after import.
|
|
312
|
+
|
|
313
|
+
## Related Skills
|
|
314
|
+
|
|
315
|
+
- [Module Catalog](https://github.com/sickn33/agentic-awesome-skills/blob/main/CATALOG.md) - find the relevant module, then read its skill.
|
|
316
|
+
- @people-directory - the employee master record most modules link to.
|
|
317
|
+
- @notification-reminder-hub - turns due dates in this module into reminders.
|
|
318
|
+
|
|
319
|
+
## Reusable Prompt
|
|
320
|
+
|
|
321
|
+
```
|
|
322
|
+
I want to set up external management for my company.
|
|
323
|
+
Ask me one short question at a time, and only about what I have not already told you.
|
|
324
|
+
Then recommend the smallest setup that fits, and wait for me to ask before you build it.
|
|
325
|
+
When I ask, output CSV, SQL DDL, JSON Schema, a Notion property mapping or an Excel workbook. Data only.
|
|
326
|
+
```
|
|
327
|
+
|