Skip to content

Instantly share code, notes, and snippets.

@adeleinr
adeleinr / coding_agent_setup.txt
Last active January 8, 2026 18:45
Coding Agent Setup
"There is no playbook for building AI native companies, and if there is, I dont have it" ~ Dan Shipper, https://www.youtube.com/watch?v=MGzymaYBiss
But, here are some good practices learned so far:
1) One approacj is to use a single Claude.md in the repo.
Note patterns you want AND patterns you do not want Claude to use as you develop in it.
Should Contain setup necessary to run the repo, to be used by new engineers (Reduces barried of entry)
Every member of the team contributes to it from lessons learned.
2) Tagging @.claude on a PR to add something to the CLAUDE.md as part of the PR. Use the Claude Code Github action (/install-github-action) for this (@danshipper's Compounding Engineering)
3) Most sessions start in Plan mode (shift+tab twice). If my goal is to write a Pull Request, I will use Plan mode, and go back and forth with Claude until I like its plan. From there, I switch into auto-accept edits mode and Claude can usually 1-shot it. A good plan is really important.
@adeleinr
adeleinr / Principles for building a great engineering culture
Last active January 9, 2026 19:26
Engineering Team and Management Principles
Principles for building a great engineering team culture by Adelein Ro
=======================================================================
0) The first line of code you should write for any feature is "What are we building, why are we building it, and why now?",
Eg start with a Tech design or a Spike
1) Dig deep and wide into the functional and non functional requirements of what you are building, disambiguate with product
or stakeholders, spell out what they have not been able to. Spill out details as part of tech design, get agreement
from product and stakeholders. Understand what you are missing in impact, revenue and morale if you miss a deadline.
2) Engineers need to be able to find indirect or direct mentors within the company, people they can learn best tech and
people practices from on a day to day basis for discussions and guidance.
3) Engineers need challenging/upskilling work that is transferable outside the company.
@adeleinr
adeleinr / gist:fe8728939664b9ff528c2f7952491145
Last active February 22, 2023 21:20
Entrepreneurship Principles
Working backwards
=================
Used Amazon among others, before creating a new feature or product create a press release for it. Iterate until it is well "Adopted" by the internal team.
Heading: Name the product in a way the reader (i.e., your target customers) will understand.
Subheading: Describe who the market for the product is and what benefit they get. One sentence only underneath the title.
Summary: Give a summary of the product and the benefit. Assume the reader will not read anything else so make this paragraph good.
@adeleinr
adeleinr / git_most_used_flows.txt
Last active December 18, 2020 16:27
Git - What I use every day
Flow 1 - Get ready to work on a repo
- Clone the repo you want to work on, you can get the repo name from the "Clone or download" green button in github
git clone git@github.com:globality-corp/euclides.git
- Checkout a shared branch from the repo, in this case "develop" is the branch. You can get the branch name from "branch" dropdown menu in github
git checkout develop
- Create a private branch to work on. You will merge this branch to develop when you are done with your work and it is reviewed.
git checkout -b feauture/your-branch-name
@adeleinr
adeleinr / PyCharm Tricks
Last active March 26, 2018 20:52
Things I use everything on pycharm
Select enterie cols to edit
===========================
Press Ctrl+Shift+A (Find Action feature) and type column. The first result is Column Selection Mode Alt+Shift+Insert
Search and Replace All
=======================
Command + R
Search
======
Try that autocloses of resources
=================================
try (
InputStream in = new FileInputStream(src);
OutputStream out = new FileOutputStream(dest))
{
// code
}
@adeleinr
adeleinr / Git Cheatsheet
Last active February 19, 2019 04:10 — forked from hofmannsven/README.md
Using Git
===============
Global Settings
-----------
Setup autocomplete tools: brew install git bash-completion
Then add this to ~/.bash_profile :
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
@adeleinr
adeleinr / Python Cheatsheet
Last active December 16, 2025 20:02
Python Cheetcheat
SORTING
=======
Returns a sorted list => sorted(l)
Sort in place ==> l.sort([2,3,7])
# Reverse sorting by y in an (x,y) tuple list in
sorted([(1,2),(2,3)], key=lambda tup: tup[0],reverse=True))
sample = [('Jack', 76), ('Beneth', 78), ('Cirus', 77), ('Faiz', 79)]
sample.sort(key=lambda a: a[1])
@adeleinr
adeleinr / Javascript Patterns
Last active December 28, 2015 13:09
Javascript Patterns
BINDING
=======
1) Avoiding nesting function by using scope support
You are passing 'this' so that the funcion has
access to this function's context
app.mavenRecipeCollection.getMavenRecipeByMeal(e.slug, e.mealChoice,
this.onSuccess_, this);
@adeleinr
adeleinr / CSS Cheatsheet
Last active December 16, 2015 10:58
CSS Cheatsheet
Center an image in a div
========================
.person .person-avatar-medium {
width: 80px;
height: 80px;
overflow: hidden;
background-color: #f2f2f0;
-webkit-border-radius: 100%;