Atlas / Skills / revfactory / Code Example Patterns

Code Example PatternsSAFE

skills/revfactory/code-example-patterns
Verdict
SAFE
Grade
B
Trust score
89 /100
Version
—
Hosts
—
License
Apache-2.0
Stars
1,297
01

Overview

An agent skill published by revfactory.

Read from source at commit 459e1bb8f76eOBSERVED · 2026-10-12
02

What it tells the agent

The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.

---
name: code-example-patterns
description: "technical document code example pattern library. doc-writer agent code example, writingto do when reference. 'code example pattern', ' code writing' request when usage. However, actual code file test execution scope outside."
---

# Code Example Patterns — code example pattern library

doc-writer agent technical document includedto do code example quality pattern.

## 5stage example structure

```
1. goal — " code X perform"
2. companybefore condition — library, environment number, setting
3. core code — minimum work example
4. execution result — expected capability
5. extension point — "next stage Y to do number "
```

## example vs example

** example** ( None):
```python
result = client.process(data)
```

** example** (specialistbasisquality):
```python
# pip install example-sdk
from example_sdk import Client

client = Client(api_key="your-api-key")
data = {"name": "test", "value": 42}
result = client.process(data)
print(result.status) # "success"
```

## by style guide

### Python
- order: tablelevel → from → 
- type included (3.10+)
- docstring: Google style (Args, Returns, Raises)
- f-string usage, format degree

### TypeScript
- ESM import usage (require degree)
- async/await usage (Promise degree)
- person/type specify
- try/catch error processing

### cURL
- (\)as readability secure
- environmentnumber information minute
- expected annotationas included

## code composition pattern

### pattern 1: pointquality building (Progressive Build)
```
Step 1: minimum work code
Step 2: input processing addition
Step 3: error processing addition
Step 4: setting external
Step 5: code
```
each stagefrom **change departmentminute only **, existing code `...`as approx..

### pattern 2: problem- 
```markdown
#### problem: [specific problem description]
#### : [code and method]
```

### pattern 3: comparison 
| method | advantage | disadvantage | code |
|------|------|------|------|
| basis | | | `result = fetch` |
| basis | nature | | `result = await fetch` |

## code annotation rule

| rule | description |
|------|------|
| WHY annotation | "" writingdegree |
| WHAT prohibited | "" code specialist |
| Korean annotation | Korean documentfrom Korean |
| TODO prohibited | example un-nature prohibited |
| description | "actual environmentfrom..." annotation |

## information processing

```python
# : environmentnumber
api_key = os.environ["API_KEY"]

# document placeholder
api_key = "your-api-key-here" # actual 
```

## quality checklist

| item | standard |
|------|------|
| specialistbasisnature | import~executionto company-basis work |
| error processing | try/catch included |
| type information | number/un-/exchange type specify |
| execution result | expected capability included |
| information | when None |
| version specify | /library version |
03

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeNA
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (0)

No findings outside the package's declared scope.

Gates applied: no_behavioural_pass.

Audited 2026-10-12 · audit v0.4.1 · source sha 459e1bb8f76efull audit observations/trust-audit/skill/revfactory__code-example-patterns.json · Report an issue / request a re-scan
04

Audit history

Every audit this skill has had.

DateSourceVerdictGradeScoreChange
2026-10-12459e1bb8f76eSAFEB89first audit
05

Questions

Is Code Example Patterns safe to install?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.

What can Code Example Patterns access on my machine?

The audit observed no filesystem, network or shell use at all in its source.

How current is this page?

The grade is for one exact copy of the source (459e1bb8f76e), read on 2026-10-12. The repository is watched, and a new audit runs when it changes — this is the first audit.

Advertisement