Skip to content

kliewerdaniel/workflow

Repository files navigation

πŸ”„ Workflow Template

GitHub stars GitHub forks License: MIT GitHub issues Documentation

A comprehensive, reusable documentation template that transforms how you build software. Developed using AI-assisted workflows, this framework provides structured guidance for software development with modular documentation that adapts to any project type.

✨ Features

  • πŸ“š Complete Documentation Framework - Ready-to-use templates for planning, development, testing, and deployment
  • πŸ€– AI-Assisted Development - Optimized for AI collaboration with structured prompts and guidelines
  • 🎯 Modular Architecture - Department-based approach mimicking software agencies for systematic development
  • πŸ”§ Technology Agnostic - Adaptable templates for any programming language, framework, or project type
  • πŸ“– Learning Resource - Educational examples showing best practices in software development
  • πŸš€ Quick Start - Fork and customize for your next project in minutes

πŸ“‹ What's Included

Department Purpose Key Deliverables
Requirements Capture what to build User stories, specifications, constraints
Architecture Design the solution System diagrams, tech stack decisions
Implementation Build the system Code guidelines, patterns, standards
Testing Ensure quality Test strategies, coverage requirements
Security Protect the system Threat modeling, security measures
Deployment Release to production CI/CD pipelines, infrastructure
Operations Maintain in production Monitoring, maintenance procedures
Standards Quality baseline Code style, processes, conventions
AI Guidelines AI collaboration framework System prompts, interaction patterns

πŸš€ Quick Start

Option 1: Use as Template

# Fork this repository
git clone https://github.com/kliewerdaniel/workflow.git my-awesome-project
cd my-awesome-project

# Replace placeholders with your project details
# Edit README.md, ai_guidelines.md, and customize the documentation

Option 2: Study the Example Project

Explore the News Synthesizer implementation as a reference:

  • RSS feed processing with local LLM inference
  • RAG synthesis for content generation
  • Persona-based composition systems
  • Text-to-speech audio output
  • Real-time chat interface

πŸ”¬ Example Implementation: News Synthesizer

This repository includes a fully documented example of a privacy-focused news processing application that demonstrates the workflow in action:

πŸ“₯ RSS Feeds β†’ πŸ” LLM Analysis β†’ 🎯 RAG Synthesis β†’ ✍️ Persona Composition β†’ πŸ”Š Audio Output

Technology Stack:

  • Backend: Python FastAPI + llama.cpp (local LLMs)
  • Frontend: Next.js + TypeScript + Tailwind CSS
  • Database: SQLite with semantic search
  • AI: mlabonne_gemma-3-27b-it-abliterated-IQ4_XS.gguf (13B parameter model)

πŸ“š Documentation Guide

Core Philosophy

This workflow embodies a "department-first" approach, where development is organized around specialized domains:

  1. Requirements Analysis - Understand what to build
  2. Architecture Design - Plan how to build it
  3. Implementation - Write the actual code
  4. Testing - Verify it works correctly
  5. Security Review - Ensure it's secure
  6. Deployment - Get it to production
  7. Operations - Keep it running smoothly

AI Integration

  • Local Models: Compatible with llama.cpp, GPT4All, Ollama
  • Cloud Services: OpenAI, Anthropic, Google Vertex AI
  • Hybrid Approach: Balance cost, privacy, and performance
  • Structured Prompts: Each department includes optimized AI prompts

Customization Guide

For Your Project

  1. Fork this repository
  2. Edit ai_guidelines.md with your project details
  3. Customize department files for your technology stack
  4. Add project-specific documentation sections
  5. Implement following the established workflow

Adapting for Different Domains

  • Web Apps: Modify for React/vue/Angular frameworks
  • APIs: Focus on REST/GraphQL design patterns
  • Data Science: Emphasize model validation and deployment
  • Mobile Apps: Update for iOS/Android native development
  • DevOps: Enhance deployment and operations sections

πŸŽ“ Learning Resources

Project Structure Best Practices

Each documentation file includes:

  • βœ… Standards - Quality requirements and guidelines
  • πŸ“‹ Checklists - Step-by-step procedures
  • πŸ€– AI Prompts - Optimized prompts for each department
  • πŸ”— Cross-references - Links between related sections

AI Collaboration Patterns

  • System Prompts: Project-wide AI orchestration
  • Department Prompts: Specialized guidance per domain
  • Feedback Loops: Continuous improvement cycles
  • Knowledge Transfer: Documentation that teaches best practices

πŸ—οΈ Architecture Overview

Workflow Pipeline

Planning Phase β†’ Design Phase β†’ Build Phase β†’ Test Phase β†’ Deploy Phase β†’ Operate Phase
     β”‚              β”‚             β”‚            β”‚            β”‚            β”‚
   Requirements  Architecture  Implementation  Testing    Security    Deployment
   Analysis      Design        Guidelines     Strategy    Review      Strategy

Documentation Hierarchy

πŸ“ Project Root
β”œβ”€β”€ πŸ“„ ai_guidelines.md      # Central control document
β”œβ”€β”€ πŸ“„ README.md            # Project overview
β”œβ”€β”€ πŸ“„ requirements.md      # What we're building
β”œβ”€β”€ πŸ“„ architecture.md      # How it's structured
β”œβ”€β”€ πŸ“„ implementation.md    # Code development
β”œβ”€β”€ πŸ“„ testing.md          # Quality assurance
β”œβ”€β”€ πŸ“„ security.md         # Security measures
β”œβ”€β”€ πŸ“„ deployment.md       # Release process
β”œβ”€β”€ πŸ“„ sop.md              # Operations procedures
└── πŸ“„ [other-docs].md     # Project-specific docs

🀝 Contributing

We welcome contributions! This template is designed to evolve with the community:

How to Contribute

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-addition
  3. Customize documentation for your project type
  4. Test your workflow with a real project
  5. Submit a pull request with your improvements

Areas for Improvement

  • New Department Templates (accessibility, performance, etc.)
  • Technology-Specific Guides (AWS, Kubernetes, React Native)
  • Industry Examples (healthcare, finance, e-commerce)
  • AI Integration Enhancements (new model support, prompt engineering)
  • Tooling Automations (GitHub Actions, custom scripts)

πŸ“ˆ Project Status

Current Version

v1.0 - Core departments documented, News Synthesizer example implemented

Roadmap

  • v1.1 - Additional department templates (accessibility, SEO)
  • v1.2 - Technology-specific guides and examples
  • v2.0 - Interactive tooling and automation
  • v2.1 - Community-contributed project examples

Repository Health

  • πŸ“Š Coverage: All major development departments
  • πŸ”¬ Examples: Complete working implementation
  • πŸ“– Documentation: Comprehensive guides and standards
  • πŸ€– AI Ready: Optimized for AI-assisted development

πŸ› οΈ Tools & Technologies

AI Assistants

  • Cline - AI-powered code completion and refactoring
  • GitHub Copilot - Intelligent code suggestions
  • Continue.dev - Local model integration
  • GitHub Gemini - Google's AI assistance

Local Models

  • Qwen 2.5 series - General purpose coding assistant
  • Code Llama - Meta's coding-focused models
  • Mistral - Efficient instruction-following models
  • Custom GGUF - Quantized models for local inference

Development Environment

  • VS Code - Primary IDE with AI extensions
  • Hardware: GPU-accelerated workflows with CUDA support
  • Version Control: Git with structured commit messages

πŸ“„ License

MIT License - Fork, modify, and use commercially. Attribution appreciated but not required.

Copyright (c) 2024 kliewerdaniel

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

πŸ™ Acknowledgments

  • AI Tools: Thanks to amazing AI technologies making this possible
  • Open Source: Built on countless open source projects and communities
  • Documentation Culture: Inspired by excellent OSS documentation practices
  • Workflow Pioneers: Drawing from agile, lean, and DevOps methodologies

πŸ“ž Support & Contact

Getting Help

  • GitHub Issues: Bug reports and feature requests welcome
  • Discussions: Share your implementations and customizations
  • Wiki: Community-contributed guides and examples

Connect

  • GitHub: @kliewerdaniel
  • LinkedIn: Let's connect for collaboration opportunities
  • Portfolio: More projects and AI-assisted development content

Made with ❀️ using AI-assisted workflows | Built with documentation-first development

About

Structured AI-Assisted Development Workflow Guide

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published