@loopstack/git-commit-flow-example-workflow
v0.22.1
Published
Example workflow that orchestrates git-status → git-add → git-commit → git-log tools from @loopstack/git-module end-to-end
Maintainers
Readme
@loopstack/git-commit-flow-example-workflow
Demonstrates a scripted multi-tool orchestration using @loopstack/git-module. The workflow stages everything, commits with a canned message, and captures the resulting commit from git log — the full happy path of a commit flow, no LLM involved.
By using this example you'll get...
- A workflow that calls
GitStatusTool,GitAddTool,GitCommitTool, andGitLogToolin sequence - A pattern for direct tool injection and invocation (as opposed to agent-driven tool use)
MessageDocumententries showing the state and final commit hash
Installation
loopstack add @loopstack/git-commit-flow-example-workflow@loopstack/git-module requires @loopstack/remote-client to be configured (sandbox environment with a git workspace).
How It Works
git status— capture the current dirty state.git add ["."]— stage everything.git commit— commit with a canned message.git log --limit 1— read back the new commit hash and save it as a message.
Public API
GitCommitFlowExampleModuleGitCommitFlowExampleWorkflow
Dependencies
@loopstack/common,@loopstack/core@loopstack/git-module
