Skip to content

Instantly share code, notes, and snippets.

@acebytes
acebytes / *claude.md
Created June 28, 2025 11:46 — forked from ruvnet/*claude.md
The Claude-SPARC Automated Development System is a comprehensive, agentic workflow for automated software development using the SPARC methodology with the Claude Code CLI

Claude-SPARC Automated Development System For Claude Code

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Overview

The SPARC Automated Development System (claude-sparc.sh) is a comprehensive, agentic workflow for automated software development using the SPARC methodology (Specification, Pseudocode, Architecture, Refinement, Completion). This system leverages Claude Code's built-in tools for parallel task orchestration, comprehensive research, and Test-Driven Development.

Features

@acebytes
acebytes / README.md
Created June 18, 2025 10:08
Simple way for Claude Code to know the correct date/time

Claude Code Custom Commands

A simple example showing how to create custom slash commands for Claude Code without needing MCP servers.

What are Custom Commands?

Claude Code automatically recognizes any markdown file in your .claude/commands/ directory as a slash command. This provides a simple way to create reusable prompts and workflows without any complex setup.

Directory Structure

On Mac or Linux:

<?php
$html =<<<HTML
<script type="text/javascript">
<!--
piCId = '{$campaign}';
{$tracking_code_template}
-->
</script>
HTML;
@acebytes
acebytes / frm-skip-action.php
Last active December 5, 2021 00:40
Skip Formidable Forms User Registration Action
<?php
add_filter( 'frm_skip_form_action', 'form_action_conditions', 10, 2 );
/**
* @param $skip_this_action
* @param $args
* @return bool
*
* Skips user registration actiom if
* email address is already registered
<?php
function _wgt_scripts() {
// styles and scripts code...
$form_html = array(
'trip_signup_form' => _wgt_get_trip_signup_form_html(),
'request_trip_quote' => _wgt_request_trip_quote_form_html()
);
wp_localize_script(
@acebytes
acebytes / heroku-node-cache.txt
Created October 8, 2018 08:58
Disable Heroku Node modules cache
$ heroku config:set NODE_MODULES_CACHE=false
$ git commit -am 'disable node_modules cache' --allow-empty
$ git push heroku master
@acebytes
acebytes / heroku-build-cache.txt
Last active October 8, 2018 08:58
Clear Heroku build cache
$ heroku plugins:install heroku-repo
$ heroku repo:purge_cache -a appname
$ git commit --allow-empty -m "Purge cache"
$ git push heroku master
@acebytes
acebytes / email-widget.js
Created February 12, 2018 06:16 — forked from nozzlegear/email-widget.js
This is an example email capturing widget, used to demonstrate the power of Shopify's script tags to add dynamic functionality to a Shopify store front. Learn more about using Shopify script tags with The Shopify Development Handbook at https://nozzlegear.com/shopify-development-handbook.
(function ()
{
//Build a pseudo-class to prevent polluting our own scope.
var api = {
Settings: {},
Vox: {},
Start: function ()
{
//Get the *.myshopify.com domain
var shop = Shopify.shop;