• Alex Standiford

    This has been a pretty big time/money saver with PHPNomad. I set up a CLI that makes it possible to scaffold code that fits PHPNomad’s patterns quickly. With it, I’m able to establish patterns in projects and save the patterns as JSON files in my PHPNomad projects so AI can leverage them when it needs to create things again later.

    Not only does this save a lot on tokens, it also ensures that AI doesn’t have to guess when I say “Use the x pattern that is established in this repository to do y”

    It can also discover them on its own, which is nice.

    The CLI also has the capability to index pretty much all of PHPNomad’s code and save it into a batch of JSONL files, which allows AI agents to grok my project quickly without combing through the entire codebase.

    It has had a profound impact on my AI token usage.

    https://github.com/phpnomad/cli

Alex
Alex
@alex@www.alexstandiford.com

Founder of Novatorius & creator of Siren Affiliates. WordPress engineer and partnership advocate helping businesses grow with flexible incentive programs.

4,889 posts
59 followers