workspace-branch
Skill43 starsChanged 7 months agoApache-2.0View on GitHub
Use when setting up workspace and branch context, switching workspaces or branches, creating or deleting branches, reviewing branch history, or creating a pull request for a working branch. This skill should be used when the user asks to "list workspaces", "switch workspace", "create a branch", "delete a branch", "switch branch", "show branch history", "create a PR", or "open a pull request" in Honeydew.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- attribute-creationSkill
- context-item-creationSkill
- conversation-reviewSkill
- domain-creationSkill
- entity-creationSkill
- filteringSkill
- metric-creationSkill
- model-explorationSkill
- query-debuggingSkill
- querySkill
- relation-creationSkill
- validationSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 1 is distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
All Honeydew MCP tool calls operate against a workspace and branch set for the current session.
- Very specific: line 16
Call get_session_workspace_and_branch first.
- Very specific: line 24
If the user needs a specific branch, call list_workspace_branches first to see available options.
- Very specific: line 32
Never make modeling changes on the prod branch directly.
- Very specific: line 99
Always confirm: before calling delete_workspace_branch — it is irreversible.
- Very specific: line 100
Never modify
proddirectly: Always create a development branch for modeling changes. - Very specific: line 102
If the deleted branch is the session branch, the session reverts to prod automatically — remind the user to switch if needed.
- Very specific: line 103
After create_pr_for_working_branch, always display the returned PR URL.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Workspace & Branch Management
All Honeydew MCP tool calls operate against a workspace and branch set for the current session. Use this skill to set up that context, manage branches, and create pull requests when development work is ready for review.
Session Setup (Required Before Any Work)
Step 1: Check existing context
Call get_session_workspace_and_branch first. If a workspace and branch are already set, skip to Step 3.
Step 2: Select workspace and branch
list_workspaces → pick a workspace → set_session_workspace_and_branchIf the user needs a specific branch, call list_workspace_branches first to see available options.
Step 3: For development work, create a branch
create_workspace_branch → session switches automaticallyNever make modeling changes on the prod branch directly. Always create a development branch first.
MCP Tools Reference
Read-Only Tools
list_workspaces— List all available workspaces. Returns the workspace name and data warehouse type (snowflake,databricks, orbigquery). Use the warehouse type to inform SQL dialect choices.list_workspace_branches— List all branches available for a workspace. Requiresworkspace_id.get_session_workspace_and_branch— Get the workspace and branch set for the current session.get_branch_history— Get the change history for the current session's branch. Returns a chronological list of what semantic objects were modified, by whom, and when. Optionallimitparameter (default: 50).
Write Tools
set_session_workspace_and_branch— Set the workspace and branch for the current session. All subsequent tool calls use this context. Requiresworkspace_id;branch_idis optional (defaults toprod).create_workspace_branch— Create a new branch from the current state of the workspace'sprodbranch. The session automatically switches to the new branch. Requiresworkspace_idandbranch_name.delete_workspace_branch— Delete a branch from a workspace. Destructive and irreversible. Always confirm the workspace name and branch name with the user before calling. Theprodbranch cannot be deleted. If the deleted branch is the current session branch, the session switches toprodautomatically. Requiresworkspace_idandbranch_name.create_pr_for_working_branch— Create a pull request for the current session's working branch. Returns the PR URL on success. Requirestitle; optionaldescription.
Typical Workflows
Starting a session
get_session_workspace_and_branch
→ already set? → continue with current context
→ not set? → list_workspaces → set_session_workspace_and_branchStarting development work
get_session_workspace_and_branch (confirm you're on the right workspace)
create_workspace_branch (workspace_id, branch_name)
→ session switches to new branch automatically
→ make modeling changesReviewing work done on a branch
get_branch_history
→ inspect what changed, who changed it, and whenFinishing development and opening a PR
create_pr_for_working_branch (title, description)
→ display the returned PR URL to the userCleaning up a branch
list_workspace_branches (confirm the branch name)
→ confirm with user before proceeding
delete_workspace_branch (workspace_id, branch_name)Rules
- Always confirm before calling
delete_workspace_branch— it is irreversible. - Never modify
proddirectly. Always create a development branch for modeling changes. create_workspace_branchalways creates from the currentprodstate, not from another branch.- If the deleted branch is the session branch, the session reverts to
prodautomatically — remind the user to switch if needed. - After
create_pr_for_working_branch, always display the returned PR URL.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

