Skip to content

Enhancement: Simplify twprojects tool descriptions#293

Merged
ready4god2513 merged 1 commit into
mainfrom
gary/twprojects-strip-descriptions
May 1, 2026
Merged

Enhancement: Simplify twprojects tool descriptions#293
ready4god2513 merged 1 commit into
mainfrom
gary/twprojects-strip-descriptions

Conversation

@tw-garymeehan
Copy link
Copy Markdown
Contributor

Summary

  • Strip per-tool entity blurbs (taskDescription, userDescription, …) from every twprojects tool description. Tool name + a one-line action phrase is enough signal for LLM tool selection — the marketing-style entity prose was duplicated 4–8× per entity across ~108 CRUD tools and added no value.
  • Delete all 28 unused xxxDescription constants. Add two short toolset-level descriptions (projectsDescription, tasksDescription) in tools.go to match the existing peopleDescription / timeDescription / contentDescription style — these were the only two constants still referenced after the strip.
  • Add docs/glossary.md so the deleted entity context is still available to drop into a skill or prompt when richer wording is needed.

Test plan

  • gofmt -s -w ./internal/twprojects/
  • go vet ./internal/twprojects/...
  • go test ./... (all packages green)

🤖 Generated with Claude Code

Strip per-tool entity blurbs from every twprojects tool description and
delete the 28 unused xxxDescription constants. Add two short toolset-level
descriptions in tools.go matching the existing peopleDescription style.
Move the deleted entity context to docs/glossary.md for reuse in skills
or prompts when richer wording is needed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@tw-garymeehan tw-garymeehan requested a review from a team as a code owner May 1, 2026 15:13
Copy link
Copy Markdown
Contributor

@ready4god2513 ready4god2513 left a comment

Choose a reason for hiding this comment

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

Doing the same for Desk and Spaces where possible would be great

Copy link
Copy Markdown
Contributor

@rafaeljusto rafaeljusto left a comment

Choose a reason for hiding this comment

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

🚀

@ready4god2513 ready4god2513 merged commit 49c5bb7 into main May 1, 2026
3 checks passed
@ready4god2513 ready4god2513 deleted the gary/twprojects-strip-descriptions branch May 1, 2026 15:36
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.

3 participants