implement

acornsoft's avatarfrom acornsoft

Generate clean C# code, Markdown files, agents, prompts, skills in MacroFlow.

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 10, 2026

When & Why to Use This Skill

The Implement Skill is a high-performance development tool designed to automate the creation of production-ready C# code, Markdown documentation, and AI agent components within the MacroFlow ecosystem. It bridges the gap between technical planning and deployment by enforcing coding standards, generating structured artifacts, and providing automated synchronization scripts for seamless GitHub integration.

Use Cases

  • Automated C# Development: Rapidly generating clean, standardized C# source code and logic based on predefined technical specifications and task breakdowns.
  • Agent & Prompt Engineering: Creating and packaging specialized AI agents, prompts, and skill definitions tailored for the MacroFlow framework.
  • DevOps Synchronization: Using integrated PowerShell scripts to automatically sync local development artifacts from hidden directories to the repository root for deployment.
  • Documentation & Compliance: Generating comprehensive Markdown files and ensuring all code artifacts adhere to organizational standards, including copyright and license headers.
nameimplement
descriptionGenerate clean C# code, Markdown files, agents, prompts, skills in MacroFlow.

Implement Skill

Overview

The Implement phase generates clean, production-ready code based on the plan and tasks.

Purpose

  • Generate code
  • Follow coding standards
  • Ensure quality and testing
  • Deploy solutions

Inputs

  • Task breakdown
  • Technical specs

Process

  1. Generate code for each task
  2. Apply coding standards (#region, etc.)
  3. Test and validate
  4. Deploy and integrate
  5. Sync local ~/.github development to repository root for deployment

Outputs

  • Production code
  • Tests
  • Deployed solution
  • Synced repository with local developments

Deployment Mechanism

To ensure local development in ~/.github is deployed to the repository:

  1. After generating artifacts in ~/.github (agents, chatmodes, instructions, prompts, skills), run the sync operation.
  2. Use PowerShell script to copy folders from ~/.github to repo root.
  3. Commit and push changes to GitHub.

Example PowerShell script (add to scripts/ folder):

# Sync-Deployment.ps1
param(
    [string]$RepoRoot = "K:\com.acornsoft365\luna-foundry"
)

$LocalGitHub = "$env:USERPROFILE\.github"

$FoldersToCopy = @("agents", "chatmodes", "instructions", "prompts", "skills")

foreach ($folder in $FoldersToCopy) {
    $source = Join-Path $LocalGitHub $folder
    $dest = Join-Path $RepoRoot $folder
    if (Test-Path $source) {
        Copy-Item -Path $source -Destination $dest -Recurse -Force
        Write-Host "Copied $folder to $dest"
    }
}

# Commit and push
Set-Location $RepoRoot
git add .
git commit -m "Sync local ~/.github development to repo"
git push origin develop

Run this script after local development to deploy.

Grok Integration

Use Grok for code generation. Temperature: 0.3 for precise code.

Next Phase

Process complete; iterate if needed.

Instructions

  1. Produce production-ready artifacts.
  2. Use #region Copyright & License.

Examples

  • Input: Tasks.
  • Output: Code and files.

Learned Patterns

  • C# style.