# Layerkit Align Client Style

> Analyze existing client package patterns from source evidence; write style notes before source edits.

- **Type:** Skill
- **Install:** `agentstack add skill-hariharapanigrahy-layerkit-layerkit-align-client-style`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [hariharapanigrahy](https://agentstack.voostack.com/s/hariharapanigrahy)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [hariharapanigrahy](https://github.com/hariharapanigrahy)
- **Source:** https://github.com/hariharapanigrahy/layerkit/tree/main/skills/layerkit-align-client-style

## Install

```sh
agentstack add skill-hariharapanigrahy-layerkit-layerkit-align-client-style
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# layerkit-align-client-style

Before source edits, match the **customer's** package layout, DI, HTTP client, and test stack. Avoid orphan trees.

## Protocol

1. Scan customer repo (read-only) for existing integration clients:
   - Java/TS/Python/etc.: package roots, DI/framework style, HTTP client, test stack, naming, error handling
   - existing vendor clients, mappers, adapters, SDK wrappers, fetch/axios/WebClient/HttpClient usage
   - multi-vendor packages: sibling vendor adapters, shared registry/router, and the sibling test pattern a new vendor should clone
2. **Deny-paths**: same as discover (no `.env`, secrets, keys, pem).
3. Build a **style profile** markdown:

```text
# client-style-profile
- language: java | typescript | python | other
- basePackageOrModule: com.example.integrations | src/integrations
- moduleLayout: single-module | multi-module path
- di: spring | guice | plain ctor
- httpClient: OkHttp | WebClient | java.net.http
- json: jackson | gson
- logging: slf4j | ...
- test: junit5 + (wiremock|mockwebserver|mockito)
- naming: *Client / *Adapter / *Mapper
- errorHandling: checked | runtime + mapping notes
- multiVendor: yes|no; siblingReference: file://…; registry: file://…; newVendorFollows: 
- examples: file://paths to 2–3 reference classes (prefer sibling vendor adapters when present)
```

4. Write profile to memory (and optional file under projectDir).

Do this by reading representative source files directly. Deterministic rails may list files, but they must not infer the style profile for you.

Optional research note:

```bash
layerkit memory append --type research --title "client style profile" --vendor general --body-file ./client-style-profile.md
```

5. Next: source-edit skill edits production entrypoints directly using this profile as evidence.

## Forbidden

- Inventing a parallel package tree when an integration module already exists
- Reading secrets or copying credentials into the profile
- Generating production code in this skill (analysis only)

## Success criteria

- [ ] Profile lists package, DI, HTTP, test stack with file:// evidence
- [ ] Memory entry present
- [ ] Source-edit agent can name concrete extension points from the profile

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [hariharapanigrahy](https://github.com/hariharapanigrahy)
- **Source:** [hariharapanigrahy/layerkit](https://github.com/hariharapanigrahy/layerkit)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** yes
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** yes
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-hariharapanigrahy-layerkit-layerkit-align-client-style
- Seller: https://agentstack.voostack.com/s/hariharapanigrahy
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
