Skip to content

Add /btw command for paste-friendly context input#90

Open
madeleinesong wants to merge 1 commit intomainfrom
eng-456-allow-pasting-btw-command
Open

Add /btw command for paste-friendly context input#90
madeleinesong wants to merge 1 commit intomainfrom
eng-456-allow-pasting-btw-command

Conversation

@madeleinesong
Copy link
Copy Markdown
Collaborator

Summary

  • Adds the /gpd:btw <text> command so users can paste or type context mid-conversation
  • The command accepts all text as inline $ARGUMENTS — no interactive prompting that would block paste
  • Registers the command in the skill category map as "session" and adds it to both help references

Closes ENG-456

Changes

  • New: src/gpd/commands/btw.md — command definition with context_mode: global, accepts $ARGUMENTS inline
  • Updated: src/gpd/commands/help.md — added /btw to Session Management section and quick-reference
  • Updated: src/gpd/specs/workflows/help.md — matching help updates
  • Updated: src/gpd/registry.py — added gpd-btw to skill category map
  • Updated: tests and repo graph contract to account for the new command

Test plan

  • PYTHONPATH=src python3 -m pytest tests/ -q -o "addopts=" — all tests pass (2133+)
  • Verified command registers correctly via get_command('btw'), get_skill('gpd-btw')
  • Verified all lookup forms work: btw, gpd:btw, gpd-btw
  • Command count, repo graph contract, and workflow exemption tests updated and passing

🤖 Generated with Claude Code

Users could not paste text into conversations via a slash command.
This adds the /gpd:btw command which accepts inline arguments,
enabling both typed and pasted input of any length without
interactive prompting.
@madeleinesong madeleinesong force-pushed the eng-456-allow-pasting-btw-command branch from dc6c0ea to a959967 Compare April 6, 2026 17:25
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