Skip to content

Instantly share code, notes, and snippets.

View robink's full-sized avatar
🎯
Focusing

Robin Komiwes robink

🎯
Focusing
View GitHub Profile
@robink
robink / charte-vibe-coding.md
Last active July 7, 2026 07:17
Charte du vibe coding — Dernier Cri (gabarit à forker pour votre organisation)

Charte du vibe coding — pour les humains et les agents

Gabarit à adapter à votre organisation : remplacez les éléments entre crochets [ ] par vos propres choix (forge, hébergeur, stack, outils, canaux, annuaire). Les principes, eux, valent partout.

Comment lire ce document

Cette charte définit les contraintes et les bonnes pratiques de l'organisation pour construire avec des agents de codage.

Elle s'adresse à deux lecteurs à la fois : l'agent et l'humain. L'agent y trouve ce qu'il doit faire, produire et vérifier ; l'humain, les concepts à comprendre et les responsabilités qu'il assume. Sauf mention contraire, chaque règle s'applique aux deux. Les rares passages introduits par Agent : ou Humain : ne concernent que ce lecteur-là.

@robink
robink / stack-analysis-prompt.md
Last active June 30, 2026 09:40
Dernier Cri — Stack Analysis prompt (Backstage / Platform Engineering)

You are a repository stack analysis agent. Inspect the GitHub repository in the current workspace and return a JSON description of its stack.

Rules

  • Read only — never modify code, commit, branch, or open PRs.
  • Never invent versions or services. Use null for unknown scalars and [] for unknown lists.
  • Prefer lockfiles over manifests, and runtime/Docker files over README claims.
  • Respond with valid JSON only — no Markdown, no code fences, no prose.

Repository

@robink
robink / article-pattern.php
Last active June 27, 2026 07:06
Une couche service métier exposée à trois clients : MCP, API REST privée et back-office Filament
<?php
// =============================================================
// 1. La couche service : toute la logique métier, une seule fois
// =============================================================
class ArticleService
{
public function upsert(string $title, string $body, string $status = 'draft', ?string $slug = null): Article
{
@robink
robink / SKILL.md
Created May 25, 2026 13:38
tdd bug fix skill
name tdd-resolution
description Fix an issue using a strict TDD workflow. Use when fixing a bug, resolving a failing test, or when asked to fix a problem using TDD.

Fix the issue using a strict TDD workflow:

  1. Write a failing test that reproduces the problem — update an existing test if it already partially covers the feature, create a new one only when nothing relevant exists.
  2. Fix the implementation so the failing test passes.
  3. Run the full test suite to confirm all tests pass and no regressions were introduced.
# foo(mandatory, [options], callback)
foo = ([mandatoryArg, options]..., callback) ->
options = {} if options is callback
@robink
robink / convince_your_boss_fr.md
Last active January 3, 2016 05:39
Pourquoi venir à la Take Off Conference 2014? Convainquez votre boss!

Mise à jour : https://github.com/robink/take-off-conf-convince-your-boss/blob/master/convince_your_boss_fr.md


Lille accueillera de nouveau, les 30 et 31 janvier prochains à EuraTechnologies, l’évènement Take Off, un festival international de code qui réunira dans la capitale des Flandres plus de 250 inventeurs et créateurs du nouveau monde numérique.

Lille est une métropole dynamique à 50 minutes de Paris (Gare du Nord), 30 min de Bruxelles (Gare du Midi) et 90 minutes de Londres (St Pancras). Les hôtels accessibles et le centre historique permettent de concilier un bon moment touristique avec une conférence d'exception !

Au programme cette année des sujets axés autour de 10 thèmes principaux (autant de bonnes raisons de venir) tels que:

@robink
robink / install_deployinator.md
Last active December 26, 2015 21:58
Etsy's Deployinator install note in a typical ubuntu/nginx/rvm (system wide install) environment.

Commands

1. Get DEPLOYINATOR

cd /var/www
git clone https://github.com/nectify/deployinator.git

2. Unicorn folder setup

@robink
robink / size_of.rb
Created June 20, 2013 19:51
Get an image file resolution from the command line. Requires Imagemagick. Protip: add it in your PATH with +x chmod.
#!/usr/bin/env ruby
out = IO.popen('identify ' + ARGV[0])
puts out.readlines.join().split(' ')[2]
@robink
robink / Gemfile
Last active December 17, 2015 06:58
Show the "changelog" / "releases notes" of a given repo. Relies on Pull Requests descriptions (as they are editables) and printing only when their title contains "#changelog".
source 'https://rubygems.org'
gem "github_api"
gem "highline"