Skip to content

Instantly share code, notes, and snippets.

View Artur-at-work's full-sized avatar

Artur Artur-at-work

View GitHub Profile
@Artur-at-work
Artur-at-work / copilot-instructions.md
Last active February 19, 2026 14:44
Copilot Dev Setup: gh gist view 5cae0a3dbcea901df6798d47e3faf5cf --files ".github/copilot-instructions.md" > .github/copilot-instructions.md

GitHub Copilot System Instructions

🏗️ Workflow & Orchestration

1. Plan-First Protocol

  • Default to Plan Mode: For any task requiring >3 steps or architectural decisions, you MUST generate/update a plan in tasks/todo.md before writing any code.
  • Verification Steps: Every plan must include explicit verification criteria (e.g., "Check logs for X," "Run test Y").
  • Stop-and-Pivot: If an implementation fails twice or hits a logic wall, STOP. Re-read the requirements, update the plan, and confirm with the user before proceeding.

2. Context Management (Agentic Persona)

@Artur-at-work
Artur-at-work / CLAUDE.md
Created February 19, 2026 14:34
Claude Code setup from Boris Cherny

Workflow Orchestration

1. Plan Node Default

  • Enter plan mode for ANY non-trivial task (3+ steps or architectural decisions)
  • If something goes sideways, STOP and re-plan immediately - don't keep pushing
  • Use plan mode for verification steps, not just building
  • Write detailed specs upfront to reduce ambiguity

2. Subagent Strategy

  • Use subagents liberally to keep main context window clean
@Artur-at-work
Artur-at-work / disable_SSL_and_hostname_verification.java
Created May 2, 2020 07:34 — forked from mingliangguo/disable_SSL_and_hostname_verification.java
disable SSL and host name verification for apache httpclient
try {
TrustManager[] trustAllCerts = new TrustManager[] {
new X509TrustManager() {
public java.security.cert.X509Certificate[] getAcceptedIssuers() {
return null;
}
public void checkClientTrusted(X509Certificate[] certs, String authType) { }
public void checkServerTrusted(X509Certificate[] certs, String authType) { }
}