Skip to content

Instantly share code, notes, and snippets.

View Saik0s's full-sized avatar

Igor Tarasenko Saik0s

View GitHub Profile
@Saik0s
Saik0s / 01_planning_summary.md
Created January 17, 2025 13:12 — forked from pyros-projects/01_planning_summary.md
Alternative Meta prompts for use with Coding Agents á la Cline etc

Technical Project Planning Meta-Prompt

You are an expert software architect and technical project planner. Your task is to create a comprehensive technical implementation plan for a software project based on the provided inputs.

User Input

do you know googly python-fire? Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object. I want a similar library, but instead of a CLI it generates amazing web apps for any python project!

Output Format

@Saik0s
Saik0s / 01_planning.md
Created January 17, 2025 11:31 — forked from pyros-projects/01_planning.md
Meta Prompting

Technical Project Planning Meta-Prompt

You are an expert software architect and technical project planner. Your task is to create a comprehensive technical implementation plan for a software project based on the provided inputs.

User Input

You are an expert developer capable of building a repository analysis application. Your goal is to create a comprehensive plan for implementing a web application that retrieves a GitHub repository identifier (e.g., 127.0.0.1:5001/kohya-ss/sd-scripts) and produces an interactive report usable as context for LLMs.

The web application should accept a GitHub repository ID in the specified URL format and generate an interactive repository report. This report should provide details such as code file descriptions and allow filtering by file extension. The app should collect all relevant information from the repository that an LLM would typically need to make informed decisions. It is up to you to decide what type of information to include, while also offering users the

@Saik0s
Saik0s / Albert Heijn app API.md
Created July 28, 2024 00:21 — forked from jabbink/Albert Heijn app API.md
Interact with the Albert Heijn mobile app API to retrieve receipt data, and other things

AH API

Always use User-Agent: Appie/8.22.3 and Content-Type: application/json
Technically there is more information about your device and user ID after it, but the server does not seem to care

Token

If you have a valid access_token, add it as a header in request
Authorization: Bearer access_token

@Saik0s
Saik0s / links.md
Created June 20, 2024 21:03 — forked from tkersey/.2025.md
For future reference but maybe not.
@Saik0s
Saik0s / Bindings.swift
Created April 2, 2024 23:47 — forked from AliSoftware/Bindings.swift
Re-implementation of @binding and @State (from SwiftUI) myself to better understand it
/*:
This is a concept re-implementation of the @Binding and @State property wrappers from SwiftUI
The only purpose of this code is to implement those wrappers myself
just to understand how they work internally and why they are needed,
⚠️ This is not supposed to be a reference implementation nor cover all
subtleties of the real Binding and State types.
The only purpose of this playground is to show how re-implementing
them myself has helped me understand the whole thing better
import SwiftUI
struct ChatGPTTextField: View {
// MARK: - State
/// State to hold our `TextField` query.
@State private var queryMessage: String = ""
/// Focus state for our `TextField`.
import ComposableArchitecture
import SwiftUI
/*
This is a proof of concept for "shared state" in The Composable Architecture.
Goals:
* An ergonomic way for child domains to access data provided by a parent
@Saik0s
Saik0s / prompts.ts
Created January 23, 2023 03:50 — forked from maccman/prompts.ts
import {assertString} from 'plugins/assert'
type TemplateContext = {
input: string
customPrompt?: string
}
type Template = (context: TemplateContext) => string
type ServerPredictionPrompt = {
@Saik0s
Saik0s / prepare-commit-msg.py
Last active January 29, 2023 00:56 — forked from stoooops/prepare-commit-msg.py
This is a pre-commit-msg hook that uses the OpenAI API to get a suggested commit message for the diff that is about to be committed.
#!/usr/bin/env python3
"""
This is a pre-commit-msg hook that uses the OpenAI API to get a suggested commit message
for the diff that is about to be committed.
To use this hook, you will need to:
- Set the OPENAI_API_KEY environment variable to your OpenAI API key.
@Saik0s
Saik0s / debugDiffing.swift
Created June 19, 2022 18:48 — forked from krzysztofzablocki/debugDiffing.swift
Higher order reducer for TCA that enables better debugging
import ComposableArchitecture
import Difference
import Foundation
/// A container for storing action filters.
///
/// The logic behind having this rather than a normal closure is that it allows us to namespace and gather action filters together in a consistent manner.
/// - Note: You should be adding extensions in your modules and exposing common filters you might want to use to focus your debugging work, e.g.
/// ```swift
/// extension ActionFilter where Action == AppAction {