nw-pbt-erlang-elixir
Erlang/Elixir property-based testing with PropEr, PropCheck, and StreamData frameworks
Install / Use
npx skills add nWave-ai/nWave --skill nw-pbt-erlang-elixirInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Project & Program ManagementSupported Platforms
Our assessment of nw-pbt-erlang-elixir
nw-pbt-erlang-elixir scores 84/100 on our quality scale, 53rd of 83 Project & Program Management skills we index.
Its SKILL.md is 5.1 KB long, well organised into 14 sections with 9 code examples: a solid amount of guidance for an agent.
It has 617 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so nw-pbt-erlang-elixir is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-11-10. Automated pattern scan on 2026-11-10. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
nw-pbt-erlang-elixir compared with similar skills
All 4 of these similar skills score higher than nw-pbt-erlang-elixir; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| nw-pbt-erlang-elixir (this skill)by nWave-ai | 84 | 617 | 2mo ago | SKILL.md |
| x402by browser-use | 100 | 121.0k | 3d ago | SKILL.md |
| algorithmic-artby anthropics | 100 | 177.9k | 55d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 55d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 149.0k | 6d ago | SKILL.md |
Frequently asked questions
- How do I install nw-pbt-erlang-elixir?
- Run
npx skills add nWave-ai/nWave --skill nw-pbt-erlang-elixir. The install tabs above show the steps for each supported agent. - Which AI agents does nw-pbt-erlang-elixir work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is nw-pbt-erlang-elixir safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is nw-pbt-erlang-elixir still maintained?
- The repository was last updated about 2 months ago, so nw-pbt-erlang-elixir is actively maintained.
Skill content
View source on GitHubname: nw-pbt-erlang-elixir agent: nw-functional-software-crafter description: Erlang/Elixir property-based testing with PropEr, PropCheck, and StreamData frameworks user-invocable: false
PBT Erlang/Elixir -- PropEr, PropCheck, StreamData
Framework Selection
| Framework | Language | Stateful | Parallel | Choose When | |-----------|----------|----------|----------|-------------| | PropEr | Erlang | Yes | Yes (linearizability) | Erlang projects needing full stateful/parallel testing | | PropCheck | Elixir | Yes (via PropEr) | Yes (via PropEr) | Elixir projects needing stateful/parallel testing | | StreamData | Elixir | No | No | Elixir projects needing only stateless PBT |
PropCheck wraps PropEr with Elixir syntax. StreamData is pure Elixir but lacks stateful testing.
Quick Start
%% PropEr (Erlang)
-include_lib("proper/include/proper.hrl").
prop_sort_preserves_length() ->
?FORALL(List, list(integer()),
length(lists:sort(List)) =:= length(List)).
%% Run: proper:quickcheck(my_module:prop_sort_preserves_length()).
Syntax Differences
| Concept | PropEr (Erlang) | PropCheck (Elixir) | StreamData (Elixir) |
|---------|-----------------|--------------------|--------------------|
| Import | -include_lib("proper/include/proper.hrl"). | use PropCheck | use ExUnitProperties |
| Property | ?FORALL(X, gen(), body) | forall x <- gen() do body end | check all x <- gen() do assert body end |
| Integer | integer() | integer() | integer() |
| List | list(integer()) | list(integer()) | list_of(integer()) |
| Run | proper:quickcheck(prop()) | mix test | mix test |
Generator Cheat Sheet (PropEr)
Primitives
integer() % any integer
integer(0, 100) % bounded
float()
binary() % binary data
boolean()
atom()
Collections
list(integer()) % list of integers
non_empty(list(integer())) % non-empty list
vector(5, integer()) % fixed-length list
{integer(), binary()} % tuple (direct syntax)
Combinators
oneof([integer(), binary()]) % union
elements([a, b, c]) % pick from list
frequency([{80, integer()}, {20, atom()}]) % weighted
%% ?LET (map/transform)
even() ->
?LET(N, integer(), N * 2).
%% ?SUCHTHAT (filter -- use sparingly)
non_empty_list() ->
?SUCHTHAT(L, list(integer()), L =/= []).
%% Nested ?LET (dependent generation)
list_and_element() ->
?LET(List, non_empty(list(integer())),
?LET(Elem, elements(List),
{List, Elem})).
Recursive
tree(Type) ->
?SIZED(Size, tree(Size, Type)).
tree(0, Type) -> {leaf, Type};
tree(Size, Type) ->
frequency([
{1, {leaf, Type}},
{5, ?LAZY({node, Type, tree(Size div 2, Type), tree(Size div 2, Type)})}
]).
Shrinking
year() ->
?SHRINK(integer(0, 9999), [integer(1970, 2000)]).
date() ->
?LETSHRINK([Y, M, D],
[integer(1, 9999), integer(1, 12), integer(1, 31)],
{Y, M, D}).
Stateful Testing (proper_statem)
-behaviour(proper_statem).
initial_state() -> #{items => #{}}.
command(#{items := Items}) ->
oneof([
{call, ?MODULE, put, [key(), value()]},
{call, ?MODULE, get, [elements(maps:keys(Items))]}
|| maps:size(Items) > 0
]).
precondition(#{items := Items}, {call, _, get, [Key]}) ->
maps:is_key(Key, Items);
precondition(_, _) -> true.
postcondition(#{items := Items}, {call, _, get, [Key]}, Result) ->
Result =:= maps:get(Key, Items);
postcondition(_, _, _) -> true.
next_state(State = #{items := Items}, _Var, {call, _, put, [Key, Val]}) ->
State#{items := Items#{Key => Val}};
next_state(State, _, _) -> State.
prop_store() ->
?FORALL(Cmds, commands(?MODULE),
begin
{History, State, Result} = run_commands(?MODULE, Cmds),
cleanup(),
Result =:= ok
end).
StreamData: No stateful testing. PropCheck: Same proper_statem callbacks with Elixir syntax.
Parallel Testing (Linearizability)
prop_store_parallel() ->
?FORALL(Cmds, parallel_commands(?MODULE),
begin
{Sequential, Parallel, Result} = run_parallel_commands(?MODULE, Cmds),
cleanup(),
Result =:= ok
end).
Swap commands for parallel_commands, run_commands for run_parallel_commands. Framework generates sequential prefix + parallel branches and checks all linearizations.
Test Runner Integration
%% PropEr: {deps, [{proper, "1.4.0"}]}. Run: rebar3 proper
%% PropCheck: {:propcheck, "~> 1.4", only: :test}. Run: mix test
%% StreamData: {:stream_data, "~> 1.0", only: :test}. Run: mix test
Unique Features
- proper_fsm: Finite state machine testing module (distinct from generic state machines)
- PULSE integration: Controlled scheduling for parallel test race detection
- Symbolic references: First-class support with two-phase (abstract + concrete) execution
- collect/aggregate: Built-in distribution analysis for generator quality verification
- Linearizability checking: One of the most mature implementations in any PBT framework
Related Skills
x402
121.0kSet up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key.
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
149.0kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
