Skip to content

Can AI build me a metrics tracker tool for this astro site content?

I asked Perplexity AI

Terminal window
best way to automate github commit metrics. Eg. use commitizen style with count of new file vs. edited file

Perplexity gave decent suggestions, with a Github Action I frequently prompt on both as they Perplexity is sometimes shows altenrative paths / directions that better suit my needs.

I was quite specific for Claude Sonnet 3.7. Claude cli tool was fine, easy to install and run and does what I need for now.

Terminal window
I want a tool to track per iso week, how many astro document .md files I added and edits separately) with some type of scheme so I can ignore general maintenance commits or file renames etc. I know tools like commitizen might be useful for regular projects, but this might be overkill for my needs.
Terminal window
./astro-md-tracker.js --last 4
Terminal window
Astro Markdown File Changes By ISO Week:
-----------------------------------------------------------------
| ISO Week | Added | Modified | Renamed | Deleted | Total |
|-----------------------------------------------------------------|
| 2025-W16 | 2 | 3 | 0 | 0 | 5 |
| 2025-W15 | 5 | 2 | 1 | 0 | 7 |
-----------------------------------------------------------------
| TOTAL | 7 | 5 | 1 | 0 | 12 |
-----------------------------------------------------------------

With recommendation to integrate into a pipeline.