samoloth

samoloth

Matt Pocock like skills for Elixir

Hi, recently I’ve discovered Matt Pocock’s skills for AI agents. They look extremely reasonable, especially after hearing his explanations. There is a small catch, however. They have been created with JS/TS in mind, which best practices do not perfectly align with Elixir ones. Have you tried them or do you know any reasonable alternative for Elixir?

Most Liked

arcanemachine

arcanemachine

Here’s my hot take: Build your own skills. Don’t waste your time bloating your context window with a bunch of junk you don’t need, made by someone who isn’t you and doesn’t have the same workflow as you.

Here’s my process:

  • Get the agent to do a lot of stuff.
  • Find a common process that has a lot of very particular context (rules, ceremony, etc.).
  • Do it n times before you realize you should just make this process into a skill.
  • Tell the agent to make the process into a skill.
  • Use the skill the next time you do that thing.
  • Polish the skill over time (add things that help and remove things that don’t help)
  • Repeat as needed.
dimitarvp

dimitarvp

Yep, I wondered how I’d articulate this and you did it much better.

My approach with Claude Opus was basically: work with the agent and keep your eyes open. Now I have a really good harness where almost every single project quirk is addressed and the agent knows what to pay attention to, what it can glance and just move on, and what is a persistent danger that we must both always watch out for.

I reviewed those set of skills and generally I like them but they are not an end-all be-all. Same for a few others, including a guy I very much liked and worked with; they are good but nothing ground-breaking.

And the bespoke approach proved itself even more valuable after I started using Opus for my OSS work (deep into the pre-release work there, though it could still be months) – just find what the agent regularly trips on, add hooks and/or skills, monitor if it now does well, rinse and repeat.

sergio

sergio

I added these to my project:

It’s built for Claude, but I just copied over the markdown files in the agents and skills folder. They work great and have lots of eyes on it so anything crazy I imagine would get fixed by the swarm of people.

I use this with Opencode and Kimi K2.7 Code and GLM 5.2 works great!

Where Next?

Popular in AI / LLMs Top

sergio
Code agents work best in Elixir because it’s a functional language with minimal implicit configurations and conventions. The code you se...
#ai
New
woohaaha
Sorry if I’m overthinking this. To date, Elixir is my favorite language. I don’t think of reaching for another language if I don’t have ...
New
sergio
As more and more code is written by agents, driven by humans, what strategies are you employing to keep the slop at bay? Managing a team...
New
shreya_tech
Lately, it feels like every new repo is an “Autonomous Agent.” While the idea of an AI that “figures it out” is cool, I’m finding that fo...
New
dimamik
OpenAI published a repo built primarily with Elixir (96.1%). https://github.com/openai/symphony https://github.com/openai/symphony/blob...
New
mudasobwa
I never put a “Donate” button on any of my OSS efforts. Not because I’m rich (I’m not.) I just don’t like the “donation” term. I feel lik...
New
nbw
This is an open discussion to anyone using AI to help them work with Elixir in production-ready apps. I work on an Elixir app at work th...
#ai
New
evnp
How do you all feel about the use of AI tools for building Elixir/Phoenix projects, with respect to these topics? Longform context below....
New
FlyingNoodle
Hi all I have been doing some pretty intensive research over the last few days around agents/vibe coding. I tried some commercial offeri...
New
AstonJ
Watched this earlier and thought it was worth sharing. For those not aware Geoffrey Hinton is considered one of the godfathers of AI, yet...
New

Other popular topics Top

marius95
Hello everyone, I try to use an Javascript Event Handler in my root.html.leex file. Therefore I created a function in the app.js file: ...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
chrismccord
As promised, the first release candidate of Phoenix 1.3.0 is out! This release focuses on code generators with improved project structure...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
johnnyicon
Hi all, I’ve just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I’m trying to use Postgres...
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
hariharasudhan94
lets say i have a sample like a = 20; b = 10; if (a > b) do {:ok, "a"} end if (a < b) do {:ok, b} end if (a == b) do {:ok, "equa...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New

Latest on Elixir Forum

We're in Beta

About us Mission Statement