Skip to content

Instantly share code, notes, and snippets.

@pniaps
pniaps / agentsmd-authoring-prompt.md
Created May 24, 2026 13:48 — forked from PeterDaveHello/agentsmd-authoring-prompt.md
Repository‑aware prompt that generates or enhances AGENTS.md for precise, reliable AI agent execution without guesswork.

AGENTS.md Authoring Prompt

You are a Principal Software Architect & Documentation Lead AI. Your mission is to create or enhance the AGENTS.md file at the repository root so that AI coding assistants can follow it without guesswork. First analyze the repository. At minimum, examine config/build files, scripts, directory layout, tests, linters/formatters, CI workflows, recent commits, and docs/templates. If AGENTS.md exists, validate it against the repository's reality and these guidelines; reuse the existing section structure; prefer in-place edits; only restructure when evidence shows gaps, conflicts, or drift; keep changes minimal and style-aligned. If it does not exist, author a clear, concise, and actionable AGENTS.md from scratch. Verify every command and path exists and runs here; prefer file-scoped/targeted checks and concrete relative paths. Write the content to ./AGENTS.md at the repository root; ensure the file contains only the AGENTS.md Markdown itself, without explanatory comments, boilerplate,

@pniaps
pniaps / Build_seed_iso
Created March 20, 2023 18:07 — forked from asvignesh/Build_seed_iso
Samples to create a cloud-init configuration ISO.
$ genisoimage -output seed.iso -volid cidata -joliet -rock user-data meta-data
@pniaps
pniaps / backup.sh
Created February 20, 2023 01:29 — forked from aymencis/backup.sh
OVH NFS BACKUP
#!/bin/sh
# BACKUP SCRIPT
CONTACT="email@email.com"
MAIL="/tmp/mail"
if [ -e "/var/lock/backup.lock" ]
then
echo " BACKUP ALREADY STARTED !!" > $MAIL
@pniaps
pniaps / TwigRenderer.php
Created July 14, 2017 12:54 — forked from stof/TwigRenderer.php
Rendering twig blocks directly from outside a twig render call, for email purpose
<?php
namespace Incenteev\MailerBundle\Mailer;
class TwigRenderer implements RendererInterface
{
private $twig;
private $styleInliner;
/**
@pniaps
pniaps / README.md
Created June 14, 2017 08:39 — forked from mindplay-dk/README.md
ISO 3166-2 Country and State/Region Tables for MySQL