Skip to content

fix(skills): strip duplicate description prefix + fix pinecone naming + add scripts/tests - #64619

Closed
immuhammadfurqan wants to merge 1 commit into
NousResearch:mainfrom
immuhammadfurqan:fix/skill-description-pinecone-review
Closed

immuhammadfurqan wants to merge 1 commit into
NousResearch:mainfrom
immuhammadfurqan:fix/skill-description-pinecone-review

Conversation

@immuhammadfurqan

Copy link
Copy Markdown
Contributor

Summary
Addresses review feedback from #46005.

Changes
Removed unconditional description: prefix strip extract_skill_description() receives parsed dicts, so the guard also strips legitimate values like "Description: setup steps.". Removed entirely since the upstream YAML duplicate-prefix bug is already fixed on main.

Renamed research Pinecone skill Changed from name: pinecone to name: pinecone-research to avoid conflicting with optional-skills/mlops/pinecone (installs keyed by bundle.name).

Shortened mlops/pinecone description From 246 chars to 47 chars (≤60 char standard).

Added scripts scripts/rag_pipeline.py (RAG indexing/querying) and scripts/memory_manager.py (namespace-based session memory).

Added tests tests/skills/test_pinecone_research_skill.py with 10 tests: frontmatter validation, ast.parse() syntax checks on both scripts, unique naming vs mlops/pinecone, and Pinecone SDK usage verification.

Test plan
python -m pytest tests/skills/test_pinecone_research_skill.py -v — all 10 tests pass
python -m pytest tests/agent/test_skill_utils.py -v — all existing tests pass

…pts + tests

- Rename research/pinecone to pinecone-research (distinct from mlops/pinecone)
- Shorten mlops/pinecone description to <=60 chars
- Add rag_pipeline.py and memory_manager.py scripts
- Add test_pinecone_research_skill.py (10 tests: frontmatter, scripts, naming)
- Remove unconditional description: prefix strip from extract_skill_description()
@alt-glitch alt-glitch added type/bug Something isn't working tool/skills Skills system (list, view, manage) P3 Low — cosmetic, nice to have labels Jul 14, 2026
@immuhammadfurqan

Copy link
Copy Markdown
Contributor Author

Closing in favor of the original updated PR #46519

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low — cosmetic, nice to have tool/skills Skills system (list, view, manage) type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants