Skip to content

Instantly share code, notes, and snippets.

View mcsee's full-sized avatar
🏠
Working from home

mcsee mcsee

🏠
Working from home
View GitHub Profile
@mcsee
mcsee / good-prompt.md
Last active July 14, 2026 21:44
AI Coding Tip 028 - Build a Company Brain - Good Prompt

Use the company-brain skill. Query Confluence, Salesforce,

and Slack through their MCP connectors for our current

refund policy for enterprise customers.

Cite the source URL and its last-modified date for every fact,

and skip any document past its review-by date.

@mcsee
mcsee / bad-prompt.md
Last active July 14, 2026 21:44
AI Coding Tip 028 - Build a Company Brain - Bad Prompt

Look through company notes and tell me our current refund policy

for enterprise customers. I don't have the Confluence page

handy, so just use whatever you already know.

@mcsee
mcsee / good-prompt.md
Last active July 4, 2026 13:43
AI Coding Tip 027 - Force Code Standards - Good Prompt

Before you say this task is done, run this standards checklist:

  • Run the linter on every changed file, fix every violation.

  • Run the formatter, don't hand-format a single line.

  • Invoke the code-standards-validator skill on the full diff.

  • Check every identifier: no abbreviations, no misleading names.

@mcsee
mcsee / bad-prompt.md
Created July 4, 2026 13:40
AI Coding Tip 027 - Force Code Standards - Bad Prompt

Please follow our coding standards for this feature. Use consistent naming and formatting like the rest of the codebase. I'll check it during code review before we merge.

@mcsee
mcsee / test-knockout-bracket.py
Created June 26, 2026 02:12
Loop Iteration 4 - Test: group winner faces different group runner-up (knockout bracket)
def test_group_winner_faces_different_group_runner_up():
bracket = KnockoutBracket(completed_group_results)
round_of_32 = bracket.round_of_32()
assert round_of_32[0].home == group_e_standings.first_place()
assert round_of_32[0].away == group_f_standings.second_place()
@mcsee
mcsee / test-draw-one-point-each.py
Created June 26, 2026 02:12
Loop Iteration 3 - Test: draw gives 1 point each
def test_draw_gives_one_point_each():
ecuador = Team("Ecuador 🇪🇨")
curacao = Team("Curaçao 🇨🇼")
match = Match(ecuador, curacao, home_goals=0, away_goals=0)
standings = GroupStandings()
standings.record(match)
assert standings.points_for(ecuador) == 1
assert standings.points_for(curacao) == 1
@mcsee
mcsee / group-standings-implementation.py
Last active June 26, 2026 02:34
Loop Iteration 2 - Minimal implementation: Team, Match, GroupStandings
class Team:
def __init__(self, name):
self.name = name
class Match:
def __init__(self, home, away, home_goals, away_goals):
self.home = home
self.away = away
self.home_goals = home_goals
self.away_goals = away_goals
@mcsee
mcsee / test-win-three-points.py
Created June 26, 2026 02:12
Loop Iteration 1 - Test: win gives 3 points (FIFA World Cup 2026 Group E Simulator)
def test_win_gives_three_points():
germany = Team("Germany 🇩🇪")
curacao = Team("Curaçao 🇨🇼")
match = Match(germany, curacao, home_goals=7, away_goals=1)
standings = GroupStandings()
standings.record(match)
assert standings.points_for(germany) == 3
assert standings.points_for(curacao) == 0
@mcsee
mcsee / good-SKILL.md
Last active July 4, 2026 14:08
AI Coding Tip 026 - Good Prompt - Skill with astrophysicist persona

name: technosignature-analyzer version: 1.0.0 description: | Detects technosignatures in telescope data and classifies each candidate signal with a confidence percentage. Rejects signals explained by known natural phenomena.

allowed-tools:

  • ReadTelescope
@mcsee
mcsee / bad-SKILL.md
Last active June 20, 2026 20:03
AI Coding Tip 026 - Bad Prompt - Skill without persona

name: technosignature-analyzer version: 1.0.0 description: | Analyzes signals from radio telescope arrays. Reports unusual frequency patterns as candidates.

allowed-tools:

  • ReadTelescope
  • SendAlarm