Skip to main content

What’s Next

Congratulations — you built a working Slack bot without writing a single line of code yourself. Let’s recap what you achieved, explore where to take it next, and reflect on the experience.

What You Built

A daily report bot that:
  • Collects your git commits automatically
  • Distributes them across the working week using commit banking
  • Summarises them into a friendly daily update using AI
  • Posts the update to your Slack channel every morning

What You Actually Learned

The code is useful, but the real skills you practised are transferable to any project:
The skill that matters most isn’t coding — it’s communication. You learned to break a problem into steps, describe each step clearly, and iterate until the result is right. These are the same skills that make someone effective working with any AI tool, in any field.
Here’s what you practised:
  • Setting context — giving Claude Code the big picture before diving into details
  • Breaking work into steps — tackling one piece at a time instead of everything at once
  • Describing business logic — explaining what you want in plain language, not code
  • Specifying integrations — being clear about which APIs, formats, and tools to use
  • Building incrementally — each step builds on the previous one
  • Requesting testing — always asking for a safe way to verify before going live
  • Debugging with AI — describing errors clearly and letting the AI help diagnose

The Commit Banking Algorithm

For those curious about the maths behind commit banking:
The algorithm is simple but effective:Rule: Each day, divide the total banked commits by the number of remaining weekdays (including today), and round up. On Friday, use everything.Here’s a full week example with 15 commits made on Monday:
DayBankedRemaining daysBatch sizeSentLeft
Monday155ceil(15/5) = 3312
Tuesday124ceil(12/4) = 339
Wednesday93ceil(9/3) = 336
Thursday62ceil(6/2) = 333
Friday313 (all)30
Another example — commits arrive throughout the week:
DayNewBankedBatchSentLeft
Monday44ceil(4/5) = 113
Tuesday03ceil(3/4) = 112
Wednesday68ceil(8/3) = 335
Thursday05ceil(5/2) = 332
Friday133 (all)30
The bank always empties by Friday, so Monday starts fresh.

Ideas to Try Next

Add a weekly summary

Ask Claude Code to create a separate workflow that runs on Friday and posts a summary of the entire week’s work — a “weekly digest” instead of a daily update.

Post to Microsoft Teams

Replace the Slack webhook with a Teams incoming webhook. The message format is slightly different, but Claude Code can handle the conversion.

Include Jira or Trello tasks

Extend the bot to pull in your recent Jira tickets or Trello card movements alongside git commits, giving a fuller picture of your day.

Add a motivational quote

Ask Claude Code to add a random motivational quote at the end of each report. A small touch that makes daily updates more fun.

Pitfalls and Lessons Learned

If you use || as a separator in git log --pretty=format, the shell will treat it as a logical OR. Use a safe separator like <SEP> instead. This is a classic gotcha that trips up even experienced developers.
Scheduled workflows can be delayed by up to 15 minutes during periods of high demand. Don’t rely on exact timing — design your bot to work regardless of when it runs.
The commit bank state needs to persist between runs. Since GitHub Actions starts fresh each time, state.json must be committed to the repository. That’s why the workflow includes a step to commit and push it after each run.
By default, actions/checkout only fetches the latest commit (shallow clone). Your bot needs the full git history to find recent commits. Always set fetch-depth: 0.
Store all secrets in GitHub Secrets, not in your code. If you accidentally commit a secret, revoke it immediately and generate a new one. Git history keeps deleted content — removing a secret from the latest commit doesn’t remove it from history.

Reflect

Take a few minutes to think about your experience:
Many people are surprised by how much can be accomplished just by describing what they want clearly. Was there a moment where Claude Code’s output exceeded your expectations? What about a moment where you had to refine your prompt?
Vibe coding isn’t just for building bots. Think about repetitive tasks in your job — reports, data formatting, email templates. Could you use Claude Code to automate any of them?
Now that you know the workflow — describe, build, review, iterate — what else could you create? A Slack bot that answers FAQs? A script that organises your files? A tool that generates meeting notes?

Resources

ResourceDescriptionLink
Claude Code docsOfficial documentation for Claude Codedocs.anthropic.com
GitHub Actions docsLearn more about workflows, triggers, and secretsdocs.github.com/actions
OpenAI API referenceAPI documentation for chat completionsplatform.openai.com/docs
Slack API — WebhooksHow incoming webhooks workapi.slack.com/messaging/webhooks
Crontab GuruTest and understand cron schedule expressionscrontab.guru
Thank you for completing this tutorial! You’ve gone from zero to a fully automated daily report bot — and more importantly, you’ve learned how to communicate effectively with AI tools. Take these skills with you into your next project.