s7-development
Use when implementing or changing R S7 classes, properties, methods, or package integration.
Skill by sounkou-bioinfo
Chalk Labs
Need help deploying s7-development?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/sounkou-bioinfo-s7-development
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Nov 2, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/s7-development
What's inside
- Skill name
s7-development- Description
- Use when implementing or changing R S7 classes, properties, methods, or package integration.
- License
- MIT
- Instructions
- 31 lines in SKILL.md · view on GitHub
Files (8)
- SKILL.md
- classes-and-objects.md · references/
- compatibility.md · references/
- generics-and-methods.md · references/
- issue-notes.md · references/
- packages.md · references/
- s7-basics.md · references/
- consumer_opportunities.R · scripts/
SKILL.md (first lines)
# S7 development ## Class contract Use `S7::new_class()` with explicit properties and a constructor for user-facing defaults/coercion. Properties own field types and access semantics; validators own cross-property object invariants. A consumer that needs behavior from different classes may own a small `s7contract` interface. Method availability does not establish the meaning of the behavior; test that separately. Do not turn recurring scalar checks into an interface when a property, constructor, or simple `checkmate` check owns the contract. Prefer immutable/functional updates. Computed properties use getters; writable derived state needs an explicit setter and invariant. Avoid hidden environments unless identity/mutability is the actual abstraction. ## Dispatch Define behavior with `S7::new_generic()` and `S7::method()`. Keep generic bodies minimal. Declare `...` behavior deliberately; do not absorb misspelled arguments accidentally. Use multiple dispatch only when behavior genuinely depends on every dispatched argument. For inheritance, call `super()` when preserving parent behavior rather than copying it. ## Compatibility Treat S3/S4 interop as an explicit adapter. Register methods in `.onLoad()` when package loading order requires it. Export classes/generics intentionally, maintain `Collate` order where needed, and document constructor/property/method contracts rather than object internals. ## Package-wide consumer opportunities When several package functions appear to need the same behavior, run the optional read-only [consumer opportunity report](scripts/consumer_opportunities.R) on the package directory. Resolve the script relative to this skill's directory: ```sh Rscript /path/to/s7-development/scripts/consumer_opportunities.R --max-groups=8 /path/to/package ``` It reports pairs of package-defined S7 generics called on the same formal argument by at least two top-level functions, and repeated scalar-check syntax (namespaced `checkmate` calls or simple `stop()` guards) across functions, with bounded file/line evidence. `--format=json` provides the same bounded groups for tooling. It uses the anti-slop Tree-sitter parser, scans package `R/` files, and fails on parse errors. It intentionally omits single-operation interfaces, indirect/dynamic calls, nested-function checks, and semantics outside this syntax. A hit is a place to read the consumers and relevant implementations, not a requirement to introduce `s7contract` or consolidate checks. Ask what each consumer requires, whether an alternative implementation could satisfy it, and which behavior a method-presence check cannot prove. Compare ordinary dispatch, S7 properties/constructors, and a simple argument check; use an interface only when the consumer actually needs shared behavior from multiple implementations. Do not reshape code to produce or avoid a hit. ## Proof Test construction, invalid objects, property access/setters, dispatch specificity, inheritance, missing/dots behavior, serialization if supported, and package load with dependencies in different orders. For a consumer-owned interface, test implementations and the behavior the consumer depends on, not just method presence. Use the focused files under `references/` only for the active S7 mechanism.
From sounkou-bioinfo/pi-skills, MIT.
More from sounkou-bioinfo/pi-skills
- 0.598score
architecture-refinement
sounkou-bioinfo
Use for consequential architecture review, exploratory coding and theory-building when requirements or behavior are uncertain, technical issue refinement, and…
SkillAFreshness: A★ 2Claude Code +9 - 0.563score
bioinformatics-rewrites
sounkou-bioinfo
Use when reusing, binding, porting, or redesigning a bioinformatics implementation - reuse decisions, native FFI/bindings, compatibility with a named upstream…
SkillBFreshness: B★ 2Claude Code +9 - 0.561score
duckqc-design
sounkou-bioinfo
Use when designing DuckDB-native sequencing QC metrics, reductions, or compatibility outputs.
SkillBFreshness: B★ 2Claude Code +9 - 0.561score
duckvep-design
sounkou-bioinfo
Use when designing DuckDB-native variant consequence prediction, including transcript and haplotype semantics.
SkillBFreshness: B★ 2Claude Code +9 - 0.559score
duckdb-c-extension
sounkou-bioinfo
Use for C DuckDB extension architecture, ownership, concurrency, API compatibility, vendoring, function catalogs, or packaging and exposing the extension…
SkillBFreshness: B★ 2Claude Code +9 - 0.556score
r-c-anti-slop
sounkou-bioinfo
Use to audit R/C helper sprawl, redundant checks, complexity, or host-unsafe assertions with Tree-sitter.
SkillBFreshness: B★ 2Claude Code +9 - 0.556score
r-package-development
sounkou-bioinfo
Use for R package metadata, documentation generation, builds, checks, or release work.
SkillBFreshness: B★ 2Claude Code +9 - 0.556score
duckhts-development
sounkou-bioinfo
Use for DuckHTS implementation, build, or public SQL/R API changes.
SkillBFreshness: B★ 2Claude Code +9 - 0.556score
duckhts-wasm-debugging
sounkou-bioinfo
Use when debugging DuckHTS in webR, duckdb-wasm, or Emscripten/browser workers.
SkillBFreshness: B★ 2Claude Code +9 - 0.556score
biomedical-evidence-search
sounkou-bioinfo
Use for variant, gene, trait, eQTL/PheWAS, score, or literature lookups via biomedical_search.
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
local-review
sounkou-bioinfo
Use for Plannotator plan or local diff review, or for a short Pi tree exploration followed by returning to implementation.
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
project-orientation
sounkou-bioinfo
Re-establish working context after a handoff, when resuming unfamiliar repository work, or when requirements, source, tests and remembered decisions conflict.
SkillBFreshness: B★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 1
- Open issues
- 2
- Last commit (this folder)
- Sep 24, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/sounkou-bioinfo/pi-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from sounkou-bioinfo
- 0.598score
architecture-refinement
sounkou-bioinfo
Use for consequential architecture review, exploratory coding and theory-building when requirements or behavior are uncertain, technical issue refinement, and…
SkillAFreshness: A★ 2Claude Code +9 - 0.563score
bioinformatics-rewrites
sounkou-bioinfo
Use when reusing, binding, porting, or redesigning a bioinformatics implementation - reuse decisions, native FFI/bindings, compatibility with a named upstream…
SkillBFreshness: B★ 2Claude Code +9 - 0.561score
duckqc-design
sounkou-bioinfo
Use when designing DuckDB-native sequencing QC metrics, reductions, or compatibility outputs.
SkillBFreshness: B★ 2Claude Code +9 - 0.561score
duckvep-design
sounkou-bioinfo
Use when designing DuckDB-native variant consequence prediction, including transcript and haplotype semantics.
SkillBFreshness: B★ 2Claude Code +9 - 0.559score
duckdb-c-extension
sounkou-bioinfo
Use for C DuckDB extension architecture, ownership, concurrency, API compatibility, vendoring, function catalogs, or packaging and exposing the extension…
SkillBFreshness: B★ 2Claude Code +9 - 0.556score
r-c-anti-slop
sounkou-bioinfo
Use to audit R/C helper sprawl, redundant checks, complexity, or host-unsafe assertions with Tree-sitter.
SkillBFreshness: B★ 2Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get s7-development running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
s7-development skill. Agent Mart. https://agentmart.dev/skills/sounkou-bioinfo-s7-development (last updated 2026-10-24)