components/mcp/mcp-config-writer/bit-rules-template.md
bit_workspace_info to understand the current state of the workspace (list components, templates, dependencies, etc).bit_commands_list and bit_command_help for command details.bit_workspace_info to check for local and existing components.bit_remote_search to find components on the remote scope.bit_remote_search, provide an array of relevant search terms (e.g., ["todo", "list", "react"]) to run parallel searches and find all related components efficiently in a single call.node_modules.This is the decision-making process for executing any Bit operation.
bit_commands_list output to help you decide:
bit_query: Use this for operations that inspect state but do not change the workspace.bit_execute: Use this for operations that modify the workspace, components, or dependencies.bit testbit buildbit start (long-running processes)bit watch (long-running processes)bit lintbit check-typesbit run (long-running processes)--build flag is used. (build can take long)bit_workspace_info with the "warnings" option to detect errors. Output includes possible solutions, follow them.bit_workspace_info to validate fixes. If error persists, use bit_component_details on relevant component(s) for more information.bit test COMPONENT_ID).bit test).--log CLI option gives more details on errors.bit_workspace_info lists templates for new components.bit_component_details on new components gives information on them, this is useful for making code changes or composing the component into another (as a dependency).bit_component_details to get API references and documentation.
Follow Critical Principle #2 No Relative Imports Between Components.*.composition.*, *.docs.mdx, *.spec.*.bit_component_details to get the component location.bit_workspace_info to identify the current active lane.main lane.bit_execute for "Bit Lane" commands.bit lint, bit test, bit check-types).git commit).git push).main is the default lane. Lane is similar in concept to a Git Branch.bit ws-config write --clean