xiaohongshu
xiaohongshu
inclusive-language
Use when writing code, documentation, or comments - always use accessible and respectful terminology
Full skill instructions
Use respectful, accessible language in all code and documentation.
Core principle: Words matter. Use inclusive terminology.
This applies to: Code, comments, documentation, commit messages, branch names, and all text.
| Instead of | Use |
|---|---|
| master | main |
| slave | replica, secondary, follower |
# Correct
git checkout main
git push origin main
# Repository default branch should be 'main'
| Instead of | Use |
|---|---|
| whitelist | allowlist, permitlist |
| blacklist | denylist, blocklist |
// Correct
const allowlist = ['[email protected]', '[email protected]'];
const denylist = ['[email protected]'];
function isAllowed(email: string): boolean {
return allowlist.includes(email) && !denylist.includes(email);
}
| Instead of | Use |
|---|---|
| master/slave | primary/replica, primary/secondary, leader/follower |
| master (device) | primary, controller, host |
| slave (device) | secondary, peripheral, client |
// Correct
interface DatabaseConfig {
primary: ConnectionString;
replicas: ConnectionString[];
}
class ReplicationManager {
private leader: Node;
private followers: Node[];
}
| Instead of | Use |
|---|---|
| man hours | person hours, work hours |
| manpower | workforce, staffing |
| mankind | humanity, people |
| guys | everyone, folks, team |
| he/she (generic) | they |
// Correct
/**
* When a user logs in, they receive a session token.
* The user can then use their token to access resources.
*/
| Instead of | Use |
|---|---|
| sanity check | validity check, confidence check |
| crazy/insane | unexpected, surprising |
| blind (as negative) | unaware, unnoticed |
| cripple | disable, limit |
| dumb | silent, without output |
// Correct
function validateInput(data: unknown): boolean {
// Perform validity check on input data
}
// Instead of "sanity check"
function confidenceCheck(result: Result): boolean {
// Verify result is within expected bounds
}
| Instead of | Use |
|---|---|
| kill | stop, terminate, end |
| abort | cancel, stop |
| hit | access, call, reach |
| execute | run, perform |
| nuke | delete, remove, clear |
// Correct
function terminateProcess(pid: number): void { }
function stopServer(): void { }
function cancelRequest(id: string): void { }
// Acceptable (industry standard)
function executeQuery(sql: string): Result { }
| Instead of | Use |
|---|---|
| dummy | placeholder, sample |
| native | built-in, core |
| first-class | built-in, fully-supported |
| grandfather/legacy | established, existing |
| grandfathered in | exempted, pre-existing |
// Correct
interface FeatureFlags {
allowlist: string[];
denylist: string[];
}
const replicationConfig = {
primary: 'db-primary.example.com',
replicas: [
'db-replica-1.example.com',
'db-replica-2.example.com',
],
};
<!-- Correct -->
# Getting Started
When a user creates an account, they will receive a confirmation email.
They can then set up their profile using their preferred settings.
## Access Control
Use the allowlist to specify approved domains.
Use the denylist to block specific addresses.
// Correct
// Validity check: ensure the input meets expected format
if (!isValidFormat(input)) {
throw new ValidationError('Input format is invalid');
}
// Confidence check: verify result is within expected bounds
if (result > MAX_EXPECTED || result < MIN_EXPECTED) {
logger.warn('Result outside expected range');
}
// Correct
throw new Error('Email address is on the denylist');
throw new Error('Origin not in allowlist');
throw new Error('Request terminated due to timeout');
When modifying existing code with non-inclusive terms:
If you're modifying a function that uses non-inclusive language:
If renaming would touch many files:
If the term is in a public API:
// Transition approach
/** @deprecated Use allowlist instead */
export const whitelist = allowlist;
export const allowlist: string[] = [];
# Branch names
feature/issue-123-add-denylist-support # Correct
fix/issue-456-update-replica-config # Correct
# Commit messages
"Add email denylist validation" # Correct
"Update replica failover logic" # Correct
When writing or reviewing code:
This skill is applied by:
issue-driven-development - Step 7comprehensive-review - Style criterionThis skill ensures:
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience