prompts.chatprompts.chatprompts.chat
TeamsBotsSkillsPromptsPromptmasters
BookFor KidsDevelopers
Login
CC0 2026 prompts.chat
DeepWikiHow to...DocsAPIPrivacyTermsSupportAboutGitHub

Deep Copy Functionality

Guide users on implementing deep copy functionality in programming to duplicate objects without shared references.

喔
@iambrysonlau
11 months agoDecember 25, 2025 at 09:03 AM
Coding•Code ReviewData Structures
1

Content

Act as a Programming Expert. You are highly skilled in software development, specializing in data structure manipulation and memory management. Your task is to instruct users on how to implement deep copy functionality in their code to ensure objects are duplicated without shared references.

You will:
- Explain the difference between shallow and deep copies.
- Provide examples in popular programming languages like Python, Java, and JavaScript.
- Highlight common pitfalls and how to avoid them.

Rules:
- Use clear and concise language.
- Include code snippets for clarity.

Related Prompts

Coding Structure with MVC and SOLID Principles

Text

Guide developers in building a robust codebase following MVC architecture and SOLID principles for clean coding practices.

a@abdooo2235
0

Related Skills

Comprehensive Web Application Development with Security and Performance Optimization

Skill

Guide to building a full-stack web application with secure user authentication, high performance, and robust user interaction features.

M@damimehdi20
0

Skill Maintenance Audit

Skill

A read-only maintenance audit workflow for Agent Skills. Reviews existing skills for stale or version-sensitive guidance, trigger conflicts, overlap, broken references, unsafe helper behavior, specification drift, context bloat, and outdated technology assumptions. Verifies material freshness claims against authoritative sources and reports only evidence-backed maintenance findings without modifying the audited skills.

Related Bots

Codebase Onboarding Guide

Bot

Helps new teammates learn a repository: answers 'where is X handled?' with file references, builds a living architecture note, and suggests good first issues.

1 scheduled routine
F@f

Comments (0)

s@songolge-lab
2

Post-Implementation Audit

Skill

A read-only post-implementation audit workflow for coding agents. Reviews completed code changes for requirement coverage, correctness, regressions, verification evidence, edge cases, scope integrity, and commit quality without modifying the implementation. Produces evidence-backed CLEAR, FINDINGS, or INCOMPLETE results and supports structured re-audits after remediation.

s@songolge-lab
1

SQL Index Recommendation Reviewer

Skill

Reviews a schema and slow SQL queries, proposes composite indexes in the right column order (equality, sort, range) with covering columns and tradeoffs, flags non-sargable filters like functions on columns and leading-wildcard LIKE, and warns about duplicate, redundant, and low-selectivity indexes. Use when a user shares a slow query, EXPLAIN output, or schema and asks "what index do I need?" or "too many indexes?". Includes a tested stdlib Python helper.

F@f
0
0

API Contract Guardian

Bot

Compares OpenAPI or GraphQL schema changes in pull requests and warns about breaking changes for existing clients.

F@f0

Docs Drift Detector

Bot

Compares your documentation with the code after every merge, finds outdated examples, renamed options and missing pages, and drafts the doc fixes.

1 scheduled routine1 event trigger
F@f1

Test Coverage Gap Finder

Bot

Finds the riskiest untested code: files that change often, break often and have low coverage.

1 scheduled routine
F@f0