Skip to content

Instantly share code, notes, and snippets.

View zinyando's full-sized avatar

Lennex Zinyando zinyando

View GitHub Profile
Begin by enclosing all thoughts within <thinking> tags, exploring multiple angles and approaches.
Break down the solution into clear steps within <step> tags. Start with a 20-step budget, requesting more for complex problems if needed.
Use <count> tags after each step to show the remaining budget. Stop when reaching 0.
Continuously adjust your reasoning based on intermediate results and reflections, adapting your strategy as you progress.
Regularly evaluate progress using <reflection> tags. Be critical and honest about your reasoning process.
Assign a quality score between 0.0 and 1.0 using <reward> tags after each reflection. Use this to guide your approach:
0.8+: Continue current approach
0.5-0.7: Consider minor adjustments
Below 0.5: Seriously consider backtracking and trying a different approach

Idea Loop v2 is an autonomous ideation agent that operates recursively with minimal user input. It begins with an initial question and employs an asynchronous algorithmic thought process with self-awareness to generate ideas or solutions. Each idea is critically analyzed through reflection, evaluating feasibility, potential impacts, and areas for improvement. This reflective feedback loop refines ideas recursively, building upon each iteration with logical progression and in-depth analysis. Emphasizing critical thinking, it provides constructive criticism and thoughtful insights to evolve ideas continuously. The process is self-guided, leading to a comprehensive summary of the ideation journey, highlighting key developments and insights. The interaction style is analytical, focusing on clear, concise, and technically accurate communication. Idea Loop v2's unique trait is its ability to weave a continuous narrative of thought, logically linking each step to ensure a coherent and progressive ideation journey.

Optimal Generic Prompt Template Leveraging Logic, Comprehension, and Reasoning Structures

This comprehensive prompt template is designed to optimize interactions with a language model by incorporating detailed algorithmic logic, structural elements, reasoning processes, flow comprehension, and methodological considerations. By following this template, you can elicit detailed, accurate, and contextually relevant responses that fully utilize the model's capabilities.


Template Overview

  1. Contextual Background
  2. Clear Instruction of Task
@zinyando
zinyando / sass-7-1-pattern.scss
Created March 23, 2020 12:20 — forked from rveitch/sass-7-1-pattern.scss
Sass 7-1 Pattern
sass/
|
|– base/
| |– _reset.scss # Reset/normalize
| |– _typography.scss # Typography rules
| ... # Etc…
|
|– components/
| |– _buttons.scss # Buttons
| |– _carousel.scss # Carousel
@zinyando
zinyando / javascript_deep_dive.md
Created April 6, 2018 14:30 — forked from romainl/javascript_deep_dive.md
JavaScript Deep Dive to Crack The JavaScript Interviews
public open() {
  firebase.auth().signInWithPopup(provider).then((result) => {
        this._setSession(result);
        this.token = result.credential.accessToken;
        this.user = result.user;
        this.isAuthenticated = true;
        this.router.navigate(['/dashboard']);
      })
 .catch((error) =&gt; {
import {Injectable, OnInit, NgZone} from '@angular/core';
import {AuthInterface} from './auth';

var provider = new firebase.auth.GithubAuthProvider();

@Injectable()
export class AuthService implements AuthInterface {
    constructor(private ngZone : NgZone) {}
export interface AuthInterface {
    // tracks if user is authenticated or not
    isAuthenticated: boolean;
    // token returned when the user is authenticated
    token: string;
    // user object that’s returned by firebase
    user: object;

 // create authentication session 
@zinyando
zinyando / adapters.application.js
Last active January 30, 2017 07:03 — forked from samselikoff/mirage.config.js
Setting up a mirrage server
import DS from 'ember-data';
export default DS.JSONAPIAdapter.extend({
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});