Explore

Find agent skills by outcome

116,292 skills indexed with the new KISS metadata standard.

Showing 24 of 116,292Categories: Productivity, General, Creative, Coding & Debugging
General
PromptBeginner5 minmarkdown

- `Find(f

x)` returns the **first** element where `f(elem)` is `TRUE`. `Find(f

0
General
PromptBeginner5 minmarkdown

- `Position(f

x)` returns the **index** of the first match (like `Find` but returns position

0
General
PromptBeginner5 minmarkdown

- `Map(f

...)` is a simple wrapper for `mapply(f

0
Creative
PromptBeginner5 minmarkdown

- `Reduce` with `init` adds a starting value: `Reduce(f

x

0
General
PromptBeginner5 minmarkdown

- `Filter(f

x)` keeps elements where `f(elem)` is `TRUE`. Unlike `x[sapply(x

0
General
PromptBeginner5 minmarkdown

- `Reduce(f

x

0
General
PromptBeginner5 minmarkdown

- `Reduce(f

x

0
General
PromptBeginner5 minmarkdown

- `Reduce(f

x)` applies binary function `f` cumulatively: `Reduce(+

0
General
PromptBeginner5 minmarkdown

- `do.call(fun

args_list)` — `args` must be a **list**

0
General
PromptBeginner5 minmarkdown

> Non-obvious behaviors

gotchas

0
General
PromptBeginner5 minmarkdown

- `with(df

expr)` avoids repeating `df$` everywhere

0
General
PromptBeginner5 minmarkdown

- Use `stop()`

`warning()`

0
General
PromptBeginner5 minmarkdown

- **misc-utilities.md** — Read when: do.call behaves differently than direct call

need Reduce/Filter/Map

0
General
PromptBeginner5 minmarkdown

- **dates-and-system.md** — Read when: Date/POSIXct conversion gives wrong day

time zones cause off-by-one

0
General
PromptBeginner5 minmarkdown

- **modeling.md** — Read when: formula syntax is confusing (`I()`

`*` vs `:`

0
General
PromptBeginner5 minmarkdown

For deeper coverage

read the reference files in `references/`:

0
General
PromptBeginner5 minmarkdown

Non-obvious behaviors

surprising defaults

0
General
PromptBeginner5 minmarkdown

labels = c(low

med

0
General
PromptBeginner5 minmarkdown

df$category <- cut(df$value

breaks = c(0

0
General
PromptBeginner5 minmarkdown

rbind(df1

df2) # stack rows (same columns)

0
General
PromptBeginner5 minmarkdown

cbind(df1

df2) # bind columns (same rows)

0
General
PromptBeginner5 minmarkdown

df[!duplicated(df$id)

]

0
General
PromptBeginner5 minmarkdown

df[!duplicated(df)

]

0
General
PromptBeginner5 minmarkdown

df[order(df$group

-df$value)

0