Skip to content

docs(agents): keep single-use logic in components - #857

Open
gsanchietti wants to merge 1 commit into
mainfrom
agents_skills_composables
Open

gsanchietti wants to merge 1 commit into
mainfrom
agents_skills_composables

Conversation

@gsanchietti

Copy link
Copy Markdown
Member

During the review of #852, functions used by a single component were moved into a shared composable file, and the maintainer asked to keep them inside the component instead. The composables skill only explains how to write a composable, not when to avoid one, so coding agents keep making the same choice.

No code changes: only the guidance for coding agents.

  • .agents/skills/composables/SKILL.md: new "When Not to Write a Composable" section.
  • AGENTS.md: the skills table linked to .github/skills/, but the skills live in .agents/skills/, so all links were broken.

Generated by Claude Code:claude-haiku-5-5 with nethserver-pr

The composables skill explained how to write a composable but not
when to avoid one, so single-use helpers ended up in shared files.
Also fix the skill links in AGENTS.md, which pointed to the old
.github/skills folder.

Assisted-by: Claude Code:Haiku 5.5
@gsanchietti gsanchietti self-assigned this Nov 12, 2026
@gsanchietti
gsanchietti requested a review from Tbaile November 12, 2026 13:24
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