Skip to content

docs(skills): add retriv Skill - #21

Merged
harlan-zw merged 2 commits into
mainfrom
feat/package-skill
Oct 8, 2026
Merged

harlan-zw merged 2 commits into
mainfrom
feat/package-skill

Conversation

@harlan-zw

Copy link
Copy Markdown
Collaborator

🔗 Linked issue

Related to #20

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

Agents misuse retriv in ways the README does not warn about. TypeScript 7 breaks code chunking, the FTS5 drivers need Node 22.16, hybrid scores are RRF values that should never be thresholded, and pgvector builds its ivfflat index on an empty table. This adds a package Skill at skills/retriv/SKILL.md, tested against 0.15.0, and ships it in the npm package through files.

The README's old npx skilld add retriv tip now links the Skill page, and a skilld.dev badge sits after the others. Once this merges, Skillgen can keep the Skill current after each release tag. The package bugs found while writing it are in #20.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

Agents misuse retriv in ways the README does not warn about: TypeScript 7
breaks code chunking, the FTS5 drivers need Node 22.16, hybrid scores are
RRF values, returnContent is a snippet, and pgvector builds an empty index.
The Skill records each tested trap for 0.15.0 and ships in the package.

The README tip now points at skilld.dev, and a badge links the Skill page.
An independent review found a false pgvector filter claim and four gaps
that give silent wrong results: the post-filter window on Upstash and
Cloudflare, low pgvector recall that REINDEX does not fix, sqlite-fts RRF
scores, and missing reranker coverage. Each fix was re-measured on 0.15.0.

Lower-value traps were merged or cut to stay near the size aim.
@harlan-zw harlan-zw added the harlan-agent-review Requests automated Review and repair label Oct 7, 2026
@harlan-github-agent harlan-github-agent Bot added harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. and removed harlan-agent-review Requests automated Review and repair labels Oct 7, 2026
@harlan-github-agent harlan-github-agent Bot added the harlan-agent-running An Agent holds a Task on this issue or pull request right now. label Oct 7, 2026
@harlan-github-agent

harlan-github-agent Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

🤖 MERGED

Harlan Agent Kit posted this automated review. It is not Harlan's personal review or approval. AI open source policy. Last updated: 2026-10-08 03:03 UTC.

GitHub merged this pull request.

No material findings were recorded.

3f626274-a063-48a6-93f4-53541544d371

@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. harlan-agent-ready The automated Review passed every gate on this head commit. and removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Oct 7, 2026

@harlan-github-agent harlan-github-agent Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Harlan Agent Kit posted this automated review. AI open source policy.

Automated Review: READY.

Read the Review results

@harlan-zw
harlan-zw merged commit 965a962 into main Oct 8, 2026
2 checks passed
@harlan-github-agent harlan-github-agent Bot removed the harlan-agent-ready The automated Review passed every gate on this head commit. label Oct 8, 2026
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.

1 participant