Skip to content

feat(skill): add company-radar and sync README counters#38

Merged
farizanjum merged 4 commits into
mainfrom
feat/company-radar-sync-fixes
May 29, 2026
Merged

feat(skill): add company-radar and sync README counters#38
farizanjum merged 4 commits into
mainfrom
feat/company-radar-sync-fixes

Conversation

@farizanjum
Copy link
Copy Markdown
Contributor

Adds the company-radar skill: A competitive intel tool that takes a list of companies,
researches them across 8+ platforms in parallel (GitHub, Twitter/X, Reddit, HN, Product Hunt, YC Jobs, Web, Pricing), and spits out a structured radar report with a 0–100 heat score and briefing per company.

Heat score breaks down across 4 dimensions (25 pts each): Authority, Shipping, Social, Growth.

What's in this PR:

  • New company-radar skill with orchestration logic, heat score script, and reference docs
  • Registered in packages/cli/registry.json under GTM Intelligence
  • README skill count bumped from 58 → 59 (badge, text, and animated header)
  • scripts/update-readme.ts now also syncs the typing SVG line and "specialized skills" count
    so future additions don't need manual fixes

Copilot AI review requested due to automatic review settings May 29, 2026 14:43
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds the company-radar skill to the OpenDirectory skill library, including orchestration docs, a heat scoring script, reference templates, registry entry, and README count synchronization updates.

Changes:

  • Introduces the new company-radar skill with supporting references and a heat-score calculator.
  • Registers the skill in the CLI registry and README skill table.
  • Extends scripts/update-readme.ts to sync additional hardcoded README counters.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
skills/company-radar/SKILL.md Defines the company radar orchestration workflow.
skills/company-radar/scripts/heat-score-calc.mjs Adds standalone scoring logic and alert generation.
skills/company-radar/references/skill-integration-map.md Documents source skill mappings for each signal channel.
skills/company-radar/references/radar-report-template.md Adds the expected report output structure.
skills/company-radar/references/heat-score-methodology.md Documents scoring formulas and interpretation.
skills/company-radar/references/company-profile-format.md Defines the profile schema used by the skill.
skills/company-radar/README.md Adds install, usage, and customization docs.
scripts/update-readme.ts Syncs additional README skill count occurrences.
README.md Updates counts and adds company-radar to the skill list.
packages/cli/registry.json Registers the new skill for CLI installation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread skills/company-radar/references/heat-score-methodology.md Outdated
Comment thread skills/company-radar/README.md Outdated
Comment thread skills/company-radar/scripts/heat-score-calc.mjs Outdated
Comment thread skills/company-radar/README.md
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 29, 2026

Greptile Summary

This PR adds the company-radar skill — a competitive intelligence orchestrator that researches companies across 8+ platforms in parallel, computes a 0–100 heat score across four dimensions, and generates structured radar reports. It also updates scripts/update-readme.ts to keep the typing SVG count and "specialized skills" text in sync automatically so future skill additions don't need manual README fixes.

  • New skill (skills/company-radar/): SKILL.md orchestration prompt, standalone heat-score-calc.mjs scorer, and four reference documents covering the profile schema, scoring methodology, report template, and skill integration map.
  • Registry & README: company-radar is registered under GTM Intelligence in packages/cli/registry.json; the skill badge, typing SVG, and all prose counts are bumped from 58 → 59, correcting previously out-of-sync values (55, 56, 58) across the README.
  • Script improvements: Two new regex replacements added to update-readme.ts for the animated SVG and quick-start prose; existing replacements gain the g flag for correctness.

Confidence Score: 5/5

Safe to merge — the two previously flagged crashes in heat-score-calc.mjs are both resolved, and the README sync logic is correct.

The heat-score calculator now guards against missing signals fields and wraps readFileSync in a try/catch — both previously-reported issues are addressed. The update-readme.ts regex additions are distinct patterns with no overlap, and the <summary> tag count is regenerated inside the SKILLS_LIST block rather than via regex, so it stays consistent automatically. No logic errors, data-loss paths, or broken contracts found in the changed code.

No files require special attention. The heat-score calculator and README sync script are both straightforward and behave correctly.

Important Files Changed

Filename Overview
skills/company-radar/scripts/heat-score-calc.mjs New heat score engine — previously-flagged crashes (missing signals guard and unhandled readFileSync error) are now fixed.
scripts/update-readme.ts Adds two new regex replacements and the g flag to existing ones; summary tag count is regenerated inside SKILLS_LIST block automatically.
packages/cli/registry.json Adds company-radar entry; name-prefix detection takes priority over tags so table rendering is correct.
skills/company-radar/SKILL.md Well-structured orchestration prompt with parallel execution requirements and graceful failure handling per channel.
README.md Bumps skill count from 58 to 59 consistently across badge, typing SVG, paragraph text, and summary heading.

Reviews (2): Last reviewed commit: "fix(scripts): add /g flag to regex repla..." | Re-trigger Greptile

Comment thread skills/company-radar/scripts/heat-score-calc.mjs
Comment thread skills/company-radar/scripts/heat-score-calc.mjs Outdated
farizanjum and others added 3 commits May 29, 2026 20:33
… readFileSync errors

Clamp reddit_score at 0 to prevent negative Social dimension scores

Guard against missing signals field in computeCompany with early return

Wrap readFileSync in try/catch for cleaner CLI error messages

Ultraworked with Sisyphus (https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Fix ranked rankings -> ranked companies in README

Document heat-score-only as valid output_preference in SKILL.md

Ultraworked with Sisyphus (https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Add global flag to 6 skill-count replacement regexes to prevent stale matches if duplicate patterns appear in the future

Ultraworked with Sisyphus (https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
@farizanjum
Copy link
Copy Markdown
Contributor Author

farizanjum commented May 29, 2026

All issues resolved:

  • P1 Crash on missing signals: Fixed in 649c372 with guard clause
  • P2 readFileSync unhandled error: Fixed in 649c372 with try/catch
  • Bonus: Greptile also flagged non-global regex fixed entire set in ea799c0

@farizanjum farizanjum merged commit 24d45e6 into main May 29, 2026
2 checks passed
@farizanjum farizanjum deleted the feat/company-radar-sync-fixes branch May 29, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants